Since 4.0 Beta 13. When false, enchantments other than those specified on the magic item no longer cause the match to fail.
Boolean
true
strict-enchant-level
Since 4.0 Beta 13. With false, items being matched require at least the level of enchantments specified on the magic item, rather than the exact level.
Boolean
true
strict-durability
Since 4.0 Beta 13. When false, the magic item requires at least the specified durability, instead of exactly the same amount.
Boolean
true
strict-block-data
Since 4.0 Beta 13. When false, the magic item uses BlockData#matches instead of strict equality.
Boolean
true
<option>:
# This is where the options go.name: ". . ."lore:
- line 1
- line 2
- . . .# . . .
This is the format Bukkit/Spigot uses to store item data in a configuration format. More info about this can be found here. You can generate Magic Items in this format from handheld items using the ItemSerializeSpell. This is useful in case you don't feel like configuring a matching configuration for an existing item (e.g. from another plugin) or if a specific item configuration is missing in other formats.
magic-items:
<internal name>:
type: "external::spigot"data:
# This is where the options go.
MagicSpells Format:
When options specify a format, arguments indicated with angle brackets (<>) are required. Optional arguments are indicated with square brackets ([]); when specifying an optional argument, all arguments prior to it must be specified.
Option
Description
Type
Default
type
Material name, as listed here. As mentioned above, type can also be the the name of a different item-reading format.
A string list of status effects from. Format: <potion effect type> [level] [duration] [ambient] [particles] [icon]. Duration is in ticks (600 by default). A list of potion effect types can be found here.
List
Before 4.0 Beta 14:potion-color Since 4.0 Beta 14:color
Color (hex code) of the potion.
String
potion-data
Before 4.0 Beta 14.Potion type of the item. It may be followed up by extended or upgraded keywords.
Before 4.0 Beta 14: String Since 4.0 Beta 14:Formatted Text
author
Book author.
Before 4.0 Beta 14: String Since 4.0 Beta 14:Formatted Text
pages
A list of strings representing the pages of the book. Line breaks can be represented with \n, <br>, or <newline>. Supports multi-line strings, a built-in feature of YAML, as mentioned here).
magic-items:
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."
- | This is page three. It has multiple lines. Here's another line.
Banners:
Option
Description
patterns
A list of strings representing banner patterns - (pattern)(color).