Items

Items

General item syntax

All items are parsed according to the following format:

[material]:[tag]:[amount]

[material]
The type of item desired. For example, Iron_Sword or Stone.
[tag]
Optional. This can be the data value for the item, something more complex. See below for details.
[amount]
The amount of the material you want to include.

Enchantments

To add enchantments to an item, add them immediately after the item, separated from it by a space. Any number of enchantments can be added to an item, and any enchantment can be added to any item. Enchantments are parsed according to the following format:

[enchantment]:[level]

[enchantment]
The name of the enchantment.
[level]
The level of the enchantment.

Advanced Tags

The tag of the item can define a lot more than its data value. It can be a familiar name for a data value, but it is also used to identify Written Books, Custom Potions, Firework Effects, Fireworks, and much more:

materialoptions

effect

written books, potions, firework stars, fireworkssaved nameThis is the name of the saved item meta you want to use. For more information about saving and loading item metas for these items, click their links above.
potionspotion nameKitMaster will look for certain keywords in the tag to build the potion properly. To define the type of potion, include its name (including the unused potions like "thick", "charming", "cordial", etc.). To make a Level II potion, include the word "power", or "level 2". To make an extended potion, include the word "extended", or "long". In make a splash potion, include the word "splash".
leather armorany hexadecimal valueSets the color of the leather armor. Because of Bukkit's inconvenient method of implementing colors, this MUST be a hexadecimal value, prefixed by 0x or #. To look up the hexadecimal value of a color, go to Wolfram Alpha and type in "hexadecimal [color]".
skullsanySets the name of the player whose skull this should be.
mob eggs, mob spawnersany mob name OR mob IDSets the mob that will be spawned.
wood items, leaves, or logsoak, normal, birch, light, spruce, pine, dark, jungle, redSets the type of tree that this item comes from.
wool, dyedye colorSets the color of the wool or dye.
stepsstone, sandstone, cobblestone, brick, stone_brick, seamlessSets the type of step.
silverfish blocksstone, stone_brick, cobblestoneSets the appearance of the silverfish block.
stone bricksmossy, cracked, chiseledSets the type of stone brick.
cobblestonemossySets the type of cobblestone.
golden appleenchantedSets the type of golden apple.

Comments

Posts Quoted:
Reply
Clear All Quotes