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

ButtonDefault slotWhat it does
Player heads0-44One head per bounty, showing the player and amount. Set the slots with head-slots, for example "0-44" or "10-16, 19-25".
Previous page45Go back one page.
Sort48Switch between highest amount and most recently set. The menu remembers each player’s choice until they log out.
Refresh49Reload the list. On MySQL this also loads bounties placed on other servers.
Search50Opens a text box. Type part of a name to show only matching players.
Next page53Go 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.

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.

yaml
sounds:
  sort:
    - sound: "ui.loom.take_result"
      volume: 1.0
      pitch: 1.0
    - sound: "ui.button.click"
      volume: 1.0
      pitch: 1.0
Locked menus
Players can’t take items out of the menus, and shift-clicking, dragging and number keys are ignored.