Predefined Items

Predefined Items are custom items that you can create in the general.yml file. You can predefine item types with the predefined-items option.

Predefined Items can be spawned using the /c magicitem predefineditemname command, or using the Conjure Spell.

The options of the predefined items: type: "gold_sword" - the id or the name of the item name: "&2Sharp Sword" - the name of the item lore: - lore of the item - "Dont touch it!" - "You will cut yourself!" enchants: - enchants of the item - "fire_protection 1" unbreakable: true - whether the item should be unbreakable color: ffffff - color option works only for leather armor, it must be a HEX color potioneffects: - the potion effects works only for custom potions, the format is (potion effect id) (lvl of the potion) (in ticks) - 1 0 20 attributes: - attributes of the item, the format is name,, , (add, multiply, addpercent) attr1: "generic.movementSpeed 3 add" skullowner: "ChronoKeeper" - The owner's name, works only for skull items tittle: "Maths Part 1" - Tittle of the book author: "Prof.Gandalf" - Author of the book. pages: - Pages for written books - "Page number 1" - "Page number 2"

Some example predefined items: predefined-items: sun_sword: type: "gold_sword" name: "&6Sun Sword" lore: - "&eIt &6glows &ewith the" - "&epower of the sun." sun_helm: type: "leather_helmet" name: "&6Sun Helm" enchants: - "fire_protection 1" lore: - "&eThe power of the &6sun" - "&eprotects you from &cfire&e." color: "FFFF55" sun_chestplate: type: "gold_chestplate" name: "&6Sun Chestplate" lore: - "&eThe power of the &6sun" - "&egives you extra &chealth&e." attributes: attr1: "generic.maxHealth 10 add" sun_potion: type: "373:8227" name: "&6Sun Potion" lore: - "&eThe sun's power gives you" - "&eprotection from &cfire" - "&eand vision during the &8night&e." potioneffects: - "12 0 600"          - "16 0 600"     rule_book: type: "written_book" title: "&4Rule Book" author: "&cAdmin" pages: - Read the rules, they are important. - This is page two. It has more rules on it. chronokeeper_skull: type: "397:3" name: "&9chronokeeper's head" skullowner: "ChronoKeeper"