Guide to configure the category rewards menu. menus/category_rewards.yml
This menu is only used when you define percentage based category rewards for your category in categories.yml
For the general ITEM configuration please see Item config
In the level items you can use {category_name}, {category_id}, {percent} (the percentage required for the level), {progress_percent} (the current completion of the category) and {player}. The items can be overridden per level with the item option in categories.yml.
# The title of the inventory gui
title: "{category_name} rewards"
# How many rows should the chest inventory have?
rows: 6
# Where should we display your reward levels and in what order?
display-area: [
# 10, 11, 12, 13, 14, 15, 16,
19, 20, 21, 22, 23, 24, 25,
28, 29, 30, 31, 32, 33, 34,
37, 38, 39, 40, 41, 42, 43
]
# How should the progressbar look like?
progress-bar:
length: 10
filled-character: "&a&l■"
unfilled-character: "&7&l■"
# How should we display rewards for your levels?
display-components:
rewards:
title: "&7Rewards:&r"
line: " {reward}"
# Core menu item configs
items:
filler:
enabled: true
item:
name: " "
material: BLACK_STAINED_GLASS_PANE
hide-tooltip: true
back:
name: "&7Back"
material: ARROW
slot: 45
# How should the level look like when it is completed?
completed-level:
name: "&f{category_name} &6{percent}%"
lore:
- "&8You have reached this level"
- ""
- "&7Progress: &e{progress_percent}&6%"
- ""
- "component:rewards"
- ""
- "&a&lᴄᴏᴍᴘʟᴇᴛᴇᴅ"
material: LIME_STAINED_GLASS_PANE
# How should the level look like when it is not yet completed?
locked-level:
name: "&f{category_name} &6{percent}%"
lore:
- "&8Complete the previous levels"
- ""
- "&7Progress: &e{progress_percent}&6%"
- ""
- "component:rewards"
- ""
- "&c&lɴᴏᴛ ᴄᴏᴍᴘʟᴇᴛᴇᴅ"
material: RED_STAINED_GLASS_PANE
# How should the level look like when you are currently progressing it?
next-level:
name: "&f{category_name} &6{percent}%"
lore:
- "&8You are almost there!"
- ""
- "&7Progress: &e{progress_percent}&6%"
- ""
- "component:rewards"
material: YELLOW_STAINED_GLASS_PANE
# Your custom items. You can have any number of custom items here.
# Make sure to use unique keys for them.
custom-items:
close:
name: "&cClose"
material: BARRIER
slot: 53
on-left-click:
- "[close]"