Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page, you will get more information regarding the editing of the rewards via the config.
If you copy and paste a reward, make sure to change its identifier, as it must be unique.
You can also edit the rewards through the configuration file if you prefer to manage everything manually.
The following option is the method you can use for vanilla items.
Note: This option cannot be configured through the in-game editor, as the editor uses the bukkit format to also support custom properties and modded Items.
display-item:
material: PAPER
win-items:
'0':
material: PAPER
Allows you to set a material on your item.
material: TEXTSupported material values:
- Vanilla (
DIAMOND).- HeadDatabase (
hdb:id)- ItemsAdder (
itemsadder:namespace:id)- Nexo (
nexo:id)- Mythic Items (
mythicitem:id)- MMOItems (
mmoitem:type:id)- ExecutableItems (
executableitem:id)- CraftEngine (
craftengine:id)
For hooked items (ItemsAdder, Nexo, MMOItems, ExecutableItems, CraftEngine, etc.), the id is the custom item's own identifier as registered in that plugin.
A hooked material is the hook name, a colon, then the id the other plugin knows the item by. Only the first colon separates the two, so everything after it reaches that plugin exactly as written.
The separator is a colon, never a dash. itemsadder-medieval_crates-crate_key is read as a plain material name, matches none, and is reported as an unknown material in the console. The hook is never reached. The same value written with colons resolves.
| Hook | Value | Example |
|---|---|---|
| ItemsAdder | itemsadder:namespace:id |
itemsadder:medieval_crates:crate_key |
| MMOItems | mmoitem:type:id |
mmoitem:SWORD:cutlass |
| Nexo | nexo:id |
nexo:ruby_sword |
| CraftEngine | craftengine:id |
craftengine:default:ruby_sword |
| Mythic Items | mythicitem:id |
mythicitem:excalibur |
| ExecutableItems | executableitem:id |
executableitem:magic_wand |
| HeadDatabase | hdb:id |
hdb:1234 |
ItemsAdder and MMOItems ids are built from two parts of their own, so those values have three parts in total. itemsadder:crate_key sends only crate_key to ItemsAdder and resolves to nothing, and an MMOItems value with no type is rejected. For the rest, pass the id exactly as the plugin registers it, namespace included where it has one.
material: itemsadder:medieval_crates:crate_key
The same values work in every material field of the plugin, the menus included.
When the hook name is valid but the plugin is not installed, or the id resolves to nothing, the item becomes a placeholder rather than the crate failing to load. On a reward it names the hook in its lore, in a menu it is a barrier.
Allows you to set a display name on your item.
display-name: '&eExample Reward'
This option also supports MiniMessage Format.
Allows you to set a custom lore on your item.
lore: - '&cLine 1' - '&eLine 2' - '&aLine 3'
This option also supports MiniMessage Format.
Allows you to set custom model data on your item.
model-data: 1000
Allows you to set a custom Item Model (the modern resource-pack item model component) on your item.
item-model: 'minecraft:custom_paper'
This option requires the resource pack to actually define the referenced item model. If the model doesn't exist, the item will simply render with its base material's texture.
Allows you to set a fixed stack size on your item.
amount: 1
Allows you to set enchants on your item.
enchants: - 'PROTECTION:1' - 'UNBREAKING:1'
Allows you to set item flags on your item, to hide certain tooltip sections (enchants, attributes, "unbreakable", etc).
flags: - 'HIDE_ENCHANTS'
Allows you to set a custom tooltip style/texture (resource-pack defined) for the item's tooltip box.
tooltip-style: 'minecraft:gui/sprites/widget/inventory_tooltip'
Requires server version 1.21.2+. On older server versions this option is ignored.
Allows you to force the enchantment glint (the shimmering/glowing effect) on or off, independently of whether the item is actually enchanted.
enchantment-glint-override: true # Boolean (`true`/`false`)
Requires server version 1.20.5+. On older server versions this option is ignored.
Allows you to add banner patterns to your item. Works on banners, and on shields (and other blocks that carry banner data).
banner-meta: - 'RED;STRIPE_BOTTOM' - 'WHITE;CROSS'
- Each entry follows the format
<DyeColor>;<PatternType>.- DyeColor Link / PatternType Link
Allows you to apply an armor trim to your item, by setting both the trim material and the trim pattern.
trim-material: IRON trim-pattern: DUNE
- Both options must be set together.
- Armor Trim Materials / Armor Trim Patterns
Requires server version 1.20+. On older server versions this option is ignored.
Allows you to add custom potion effects to a potion item.
potion-effects: - 'speed;1200;1' - 'regeneration;600;0'
- Each entry follows the format
<PotionEffectType>;<duration in ticks>;<amplifier>.- Potion Effect Types Link
Allows you to set a custom color on your item, using raw RGB values.
rgb: '38, 192, 210'
- Format:
R, G, B(each0-255). Applies to leather armor, potions, maps and firework effects.
The following is an example of a reward with its display item and the actual reward.
'2':
identifier: reward_1759509999284
display-item:
material: PAPER
# Legacy colors support
display-name: '&#C00BD6Paper'
lore:
- '&cCustom Paper Item'
model-data: 1000
enchants:
- 'PROTECTION:1'
flags:
- 'HIDE_ENCHANTS'
win-items:
'0':
material: PAPER
# Mini Message Support
display-name: '<gradient:#C00BD6:#FD2177>Paper</gradient>'
lore:
- '<gradient:#C00BD6:#FD2177>Custom Paper Item</gradient>'
model-data: 1000
enchants:
- 'PROTECTION:1'
flags:
- 'HIDE_ENCHANTS'
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy