Level menu
menus/levels.yml configuration guide
title
- Title of the inventory
level-track
- Defines how many levels are shown and where to put them. The first is always the current, 2nd is always the in-progress level. After that, everything will be the next not yet completed levels.
progress-bar
:
length
- how many characters should a progress bar use?filled-character
- character to show for the progress bar completed partunfilled-character
- character to show for the progress bar not completed part
Display components
These are for more advanced templating features. Currently, only rewards are supported as components.
The title will only show at the start when there is at least one reward. The line will be filled with the reward placeholder, and every reward will get its new line.
Items
Filler
Set enabled
to false
if you don't want any inventory filler item. You can use every item option under the item
field.
Completed/next/locked level
This will be shown when the level is completed/locked/in progress by the player in the menu. You can use every item option for these. For custom levels, you can override parts of the item or even the whole item in your main config. For example for a high reward level, you could change the menu item material to stand out.
Custom items
You can add extra items with click actions to the menu. Every item option can be used. on-left-click
, on-right-click
and on-click
are also supported. These are a list of commands backed by CommandDispatcher
. You can read about what can it do in Rewards.
Leaderboards
If you want to display leaderboards, you can use some internal placeholders. Add this to your custom items:
Last updated