📝ItemFormat™
Hook Item
This section tells you about the built-in custom item provider, you can use ItemBridge as custom item provider instead which supports more custom item plugins, click here to know more.
Hook Plugin
Possible Value: EcoItems, EcoArmor, MMOItems, ItemsAdder, Oraxen, MythicMobs, eco, NeigeItems, ExecutableItems, Nexo, CraftEngine.
hook-plugin: MMOItemsHook Item
For EcoItems, Oraxen, MythicMobs, Nexo, you should write item id.
For ItemsAdder, eco, you should write namespace:item id.
eco's namespace id plugin name, liketalismans. Theitem idfollow below rules:Talisman: Just type talisman ID here.
EcoArmor:
Armor:
set_<setID>_<slotID>Advanced Armor:
set_<setID>_<slotID>_advancedUpgrade Crystal:
shard_<shardID>
Reforges:
stone_<reforgeID>
For EcoArmor, you should write armor set id;;armor slot. armor slot can be set to BOOTS, CHESTPLATE, ELYTRA, HELMET, LEGGINGS.
For MMOItems, you should write item typeId;;item id.
For CraftEngine, you should write namespace;;item id.
Material
If you want to use saved item by plugin, just set this option value to saved item ID, like material: superior_sword.
If the value is empty or illegal, defaults to stone.
Do not use this option when you have hook-plugin option, it won't work if you insist on it!
Amount
Support use PlaceholderAPI or math calculate. For example, %player_health% * 5.
Min Amount/Max Amount - Only support in price/products
When you use dynamic value in amount option, you can use min-amount and max-amount option to limit it's min value and max value. Useful for dynamic price.
Component (1.21.5+, Requires Paper) - Premium
The component section uses Paper's DataComponent API to set item properties. It requires Paper 1.21.5+ and UltimateShop Premium. Newer components require newer server versions; see Component Format for the version table and supported keys.
Keep material and amount at the ItemFormat root. Component values are applied after the root ItemFormat options:
debuild-item-method in config.yml accepts LEGACY or COMPONENT. It controls how /shop generateitemformat and /shop saveitem <ID> itemformat save an item. In COMPONENT mode, supported properties are saved inside component on Paper 1.21.5+. The setting is not required to build an item that already contains this section.
For complete version-specific examples and save/rebuild checks, see Testing Paper Components.
Custom Name/Display Name
According to your configuration file, there are two formats, one is the old version color code used before version 1.9, or the Text Component used in later versions. The former uses a color code format we created, while the latter uses Mini Message format, as detailed here. Mini Message format require your server core is Paper.
Item Name (1.20.5+)
Item Name is a new item attribute added in 1.20.5, different from display name, item name can not be changed in anvil.
According to your configuration file, there are two formats, one is the old version color code used before version 1.9, or the Text Component used in later versions. The former uses a color code format we created, while the latter uses Mini Message format, as detailed here. Mini Message format require your server core is Paper.
Lore
You can use \n to represent line breaks.
According to your configuration file, there are two formats, one is the old version color code used before version 1.9, or the Text Component used in later versions. The former uses a color code format we created, while the latter uses Mini Message format, as detailed here. Mini Message format require your server core is Paper.
Max Stack (1.20.5+)
Food (1.20.5+)
Effects format: Potion Type ID, Duration, Amplifier, Ambient, Particles, Icon, Chance.
For Ambient, Particles, Icon is boolean type arg, and for Chance is a number from 0 to 1.
For convert is Item Format that the item will return to player after eaten this food (Require 1.21+, and this is optional).
Tool (1.21+)
Jukebox Playable (1.21+)
Fire Resistant (1.20.5+)
Hide Tool Tip (1.20.5+)
Unbreakable
Ratity (1.20.5+)
Flags
Enchants
Config section format is: Enchant ID: Enchant Level.
For enchantment book: You maybe need use stored-enchants instead of enchants.
For custom enchantments: Some enchantments plugins are not registered their enchantment into game, so this won't work for them.
You should use Minecraft enchantment ID instead of Spigot's after 1.20.5.
Glow (1.20.5+)
Custom Model Data
Attributes
Please note that 1.20.5 has changed attribute format, if you generated item before 1.20.5, you have to reconfig them into new format.
Each list entry is one attribute modifier. type is the Attribute ID. Entries are applied in list order, and the same attribute type can appear more than once.
Damageable
Represents an item that has durability and can take damage.
Damage
Max Damage (1.20.5+)
Similar to max durability.
Enchantment Storage
This is specific to items that can store enchantments, as opposed to being enchanted. Material.ENCHANTED_BOOK is an example of an item with enchantment storage.
Stored Enchants
Similar to Enchants.
Banner
Patterns
Patterns are applied in list order. The same pattern type can appear more than once.
Potion
Represents a potion or item that can have custom effects.
Base Effect (1.20.5+)
Base Effect (Before 1.20.5)
Format: Potion Type ID, Extended, Upgraded.
For Extended and Upgraded arg is boolean type.
Effects / Custom Effects
Effects format: Potion Type ID, Duration, Amplifier, Ambient, Particles, Icon.
For Ambient, Particles, Icon is boolean type arg.
Color
Color has 2 formats:
Red, Green, Blue
One number (like 0xff0000)
Armor
Represents armor that an entity can equip.
Trim (1.20+)
Config section format is 2 sub options.
Leather Armor
Color
Color has 2 formats:
Red, Green, Blue
One number (like 0xff0000)
Axolotl Bucket (1.17+)
Color
Possible value: LUCY, WILD, GOLD, CYAN, BLUE.
Tropical Fish Bucket (1.14+)
Color
Possible value: WHITE, ORANGE, MAGENTA, LIGHT_BLUE, YELLOW, LIME, PINK, GRAY, LIGHT_GRAY, CYAN, PURPLE, BLUE, BROWN, GREEN, RED, BLACK.
Pattern Color
Similar to Color above.
Pattern
Possible value: KOB, SUNSTREAK, SNOOPER, DASHER, BRINELY, SPOTTY, FLOPPER, STRIPEY, GLITTER, BLOCKFISH, BETTY, CLAYFISH.
Skull
Support 2 formats:
Base64: Like example below, only support 1.19+.
Player Name: Need online mode, support all versions. UltimateShop-Premium supports use PlaceholderAPI's placeholder here.
Firwork
Power
Firework Effect
Config section format is multi sub options.
For type possible value: BALL, BALL_LARGE, STAR, BURST, CREEPER.
Firework Star
Firework Effect
For type possible value: BALL, BALL_LARGE, STAR, BURST, CREEPER.
Suspicious Stew (1.14+)
Effects
Effects format: Potion Type ID, Duration, Amplifier, Ambient, Particles, Icon.
Bundle (1.17+)/Shulker
Contents
Config section format is slot ID and then with item format.
Brushable Blocks (1.20+)
Content
The loot item inside brushable blocks. Want custom brushable block? Consider buy our CustomArcheology plugin here!
Spawner
Only spawner option is required if you want spawner has mobs inside. Other options are optional.
Ominous Bottle (1.20.5+)
Power
Music Instrument (1.18+)
Music
Repairable
Enchantable (1.21.2+)
Glider (1.21.2+)
Item Model (1.21.2+)
Tooltip Style (1.21.2+)
Use Cooldowns (1.21.2+)
Equippable (1.21.2+) - Premium
Damage Resistant
Extra Item Format Options
Some additional ItemFormat options can be found on the Compatibility page. Their purpose is to hook with other plugins based on ItemFormat, so that other plugins can also participate in item generation.
Supported plugins at the moment:
MythicChanger
AdvancedEnchantments - Premium
NBTAPI - Premium
Last updated