Skip to content

GUI Menus

The menu/ folder controls the visual layout of KOTL’s arena setup and player statistics interfaces.


The two files use:

  • title: Inventory title with MiniMessage support.
  • rows: Menu height where the menu supports configurable rows.
  • items: Interactive buttons, decoration items, templates, and feedback.

Opened through:

Terminal window
/kotl edit <arena_id>

It controls:

CategoryPurpose
End LocationStores the restore and exit position.
King PlatePlaces the trigger and selects its material.
Game AreaGives the cuboid selector and toggles outlines.
Player SettingsGamemode, inventory, effects, scoreboard, and boss bar.
Arena RecordsDisplays and resets top king data.
Arena AvailabilityEnables or disables a registered arena.
RegistrationValidates and saves a new arena.

Opened through:

Terminal window
/kotl stats [player]

It controls the profile page, total statistics, arena record browser, leaderboard templates, paging buttons, and rank colors.

  • %target%
  • %games_played%
  • %score%
  • %kill%
  • %death%
  • %arena%
  • %score%
  • %rank%
  • %player%
  • %record_score%
  • %color%

PropertyDescription
slotOne inventory slot.
slotsMultiple slots for decoration items.
materialBukkit material displayed by the item.
nameMiniMessage item name.
loreMiniMessage description lines.
decoration-onlyMarks a visual item with no action.
skullPlayer skin source for PLAYER_HEAD.
glowAdds a visual enchantment glint.
item-flagsHides selected vanilla tooltip sections.
hide-tooltipHides the complete vanilla tooltip where supported.
actionConnects a stats menu item to a built-in behavior.

  • Keep required item keys unchanged.
  • Keep actions attached to the intended buttons.
  • Do not define more pressure plate materials than available slots.
  • Test registration errors, record confirmation, and pagination after changing slots.
  • Reload KOTL after editing either file.