DUXPLIMA Documentation

Item matching

The four match modes and the fields that may be ignored.

match is a value on each line, because one comparison cannot be right for cobblestone and for a named sword at once.

matchTakes
materialAnything of that material, whatever has been done to it
material-and-nameThe material and the display name
full-metaEvery field
full-meta-ignoring:damage,loreEvery field except the ones named

The fields that may be ignored are name, lore, enchants, stored-enchants, custom-model-data, damage, unbreakable, potion, potion-effects, colour, firework, trim, head, spawner, patterns and model. Use the last form for tools, so a used pickaxe sells as a pickaxe.

When two lines accept the same item, the stricter one wins, so the answer never depends on file order. A player shop offer takes the same modes in /myshop add.

Related: Sections and lines