Bounty menu
/bounty opens a chest menu with every open bounty as a player head. Every title, item, slot, name and lore line can be changed under menus in config.yml.
Buttons
| Button | Default slot | What it does |
|---|---|---|
| Player heads | 0-44 | One head per bounty, showing the player and amount. Set the slots with head-slots, for example "0-44" or "10-16, 19-25". |
| Previous page | 45 | Go back one page. |
| Sort | 48 | Switch between highest amount and most recently set. The menu remembers each player’s choice until they log out. |
| Refresh | 49 | Reload the list. On MySQL this also loads bounties placed on other servers. |
| Search | 50 | Opens a text box. Type part of a name to show only matching players. |
| Next page | 53 | Go forward one page. |
The menu title supports {page}. Head names and lore support {player} and {amount}, and the sort button lore supports {sort} with the names from sort-names.
Search
The search box is a native Minecraft dialog, so players type the name directly without chat or an anvil. Its title, label and buttons are under search in config.yml. Search ignores upper and lower case and matches any part of a name.
Confirm menu
/bounty add opens the confirm menu (confirm: under menus:): cancel at slot 11, the player’s head at 13 and confirm at 15. Its text supports {player}, {amount}, {cost} (amount plus fee) and {tax}.
Sounds
Every button can play a sound, set under sounds: page-turn, sort, refresh, search, head-click, confirm, cancel and bounty-claimed. Use names like ENTITY_PLAYER_LEVELUP or keys like entity.player.levelup. An entry can also be a list, and all its sounds play together. An empty sound name plays nothing.
sounds:
sort:
- sound: "ui.loom.take_result"
volume: 1.0
pitch: 1.0
- sound: "ui.button.click"
volume: 1.0
pitch: 1.0