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_SwordorStone. - [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:
| material | options | effect |
|---|---|---|
| written books, potions, firework stars, fireworks | saved name | This 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. |
| potions | potion name | KitMaster 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 armor | any hexadecimal value | Sets 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]". |
| skulls | any | Sets the name of the player whose skull this should be. |
| mob eggs, mob spawners | any mob name OR mob ID | Sets the mob that will be spawned. |
| wood items, leaves, or logs | oak, normal, birch, light, spruce, pine, dark, jungle, red | Sets the type of tree that this item comes from. |
| wool, dye | dye color | Sets the color of the wool or dye. |
| steps | stone, sandstone, cobblestone, brick, stone_brick, seamless | Sets the type of step. |
| silverfish blocks | stone, stone_brick, cobblestone | Sets the appearance of the silverfish block. |
| stone bricks | mossy, cracked, chiseled | Sets the type of stone brick. |
| cobblestone | mossy | Sets the type of cobblestone. |
| golden apple | enchanted | Sets the type of golden apple. |
-
View User Profile
-
Send Message
Posted Feb 9, 2013Hello, im a bit confused about these item things and i dont know actully do it so can you tell me if this is right?
[Mushroom_Stew]:[282]:[33]
[Mushroom_stew] [282] [33]
If this is not right, please tell me how to do it! Can you have witch item you want or just Armor/Potions and swords?
-
View User Profile
-
Send Message
Posted Mar 19, 2013How do i make a armor piece dyed, i refer to leather armor of course.
-
View User Profile
-
Send Message
Posted Apr 14, 2013@ECRONCraft
I Think its [Mushroom_Soup] Not [Mushroom_Stew]
-
View User Profile
-
Send Message
Posted Apr 22, 2013@Shas1223
Its Me AbdullahYakub Vanilla! :D! Nice Plugin!
-
View User Profile
-
Send Message
Posted May 21, 2013I want to put in the kit a Green Leather Helmet How?
-
View User Profile
-
Send Message
Posted Jun 2, 2013Stuff this naming system
how do i know if its case sensative, and what are the full list of names? Screw this, im going to try and use ID's instead of wood_sword/Wooden_Sword
-
View User Profile
-
Send Message
Posted Jun 23, 2013Is there anyway to change the command "kit" to anything else?
-
View User Profile
-
Send Message
Posted Jun 30, 2013@Jidiiot
Use the MyCommand plugin and you can make commands that run other commands so you could make a command like /pvp run the /kit pvp command
-
View User Profile
-
Send Message
Posted Jul 27, 2013@Jidiiot
If you didn't want to download MyCommand I can ask for source and I can change the command to what you want it
BTW @rohan0444mc how do you correctly do the @name thing it never works for me!
-
View User Profile
-
Send Message
Posted Sep 9, 2013Installed the plugin, used the default kit.. worked fine except for clearing EVERYONE'S inventory on the server. Why in god you name you set that as a default, is extremely bad.
-
View User Profile
-
Send Message
Posted Sep 23, 2013I need to put music discs in my kits because I'm using a gun plugin that has music discs as guns and I can't figure out how.
-
View User Profile
-
Send Message
Posted Sep 23, 2013@7rory68
Uhh I think you have to do $name but I've only used that in one of my commands and the second command I tried it in it didn't work so I'm not totally sure... but for the kits I use the runcommand feature so the player has to have perm if they can use the kit.