📰Reward Config Editing
On 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.
Edit Rewards
You can also edit the rewards through the configuration file if you prefer to manage everything manually.
Format:
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
Material:
Allows you to set a material on your item.
material: TEXT
Supported material values:
Vanilla (
DIAMOND
).HeadDatabase (
hdb:id
)ItemsAdder (
itemsadder:namespace:id
)Nexo (
nexo:id
)Mythic Items (
mythicitem:id
)MMOItems (
mmoitem:id
)ExecutableItems (
executableitem:id
)
Display Name
Allows you to set a display name on your item.
display-name: '&eExample Reward'
This option also supports MiniMessage Format.
Lore:
Allows you to set a custom lore on your item.
lore: - '&cLine 1' - '&eLine 2' - '&aLine 3'
This option also supports MiniMessage Format.
Model Data:
Allows you to set custom model data on your item.
model_data: 1000
Enchants:
Allows you to set enchants on your item.
enchants: - 'PROTECTION:1' - 'UNBREAKING:1'
Item Flags:
Allows you to set item flags on your item.
flags: - 'HIDE_ENCHANTS'
Item Config Example
The following is an example of a reward with its display item and the actual reward.
'2':
identifier: reward_1759509999284
display-item:
material: PAPER
display-name: '<gradient:#C00BD6:#FD2177>Paper</gradient>'
lore:
- '&cCustom Paper Item'
model-data: 1000
enchants:
- 'PROTECTION:1'
flags:
- 'HIDE_ENCHANTS'
win-items:
'0':
material: PAPER
display-name: '<gradient:#C00BD6:#FD2177>Paper</gradient>'
lore:
- '&cCustom Paper Item'
model-data: 1000
enchants:
- 'PROTECTION:1'
flags:
- 'HIDE_ENCHANTS'
Last updated
Was this helpful?