Skip to content

stats-menu.yml

The stats-menu.yml file controls the statistics GUI opened with /tntrun stats [player]. Players can view their overall TNT Run stats, open arena-specific records, and browse leaderboard entries.


  • rows: Defines the menu height. TNT Run uses 6 rows by default.
  • title: The inventory title shown at the top of the GUI.
  • items: Configurable decorations, buttons, stat entries, and arena record templates.

Item KeySlotMaterialPurpose
background_fillMultipleGRAY_STAINED_GLASS_PANEDecorative border/fill item.
decoration_bordersMultipleRED_STAINED_GLASS_PANEDecorative top border items.
player_head13PLAYER_HEADShows the viewed player’s profile head.
view_arenas22COMPASSOpens arena records and leaderboard pages.
games_played29TNTShows total games played.
wins30NETHER_STARShows total wins.
loses31REDSTONE_BLOCKShows total losses.
win_streak32EMERALDShows the current win streak.
longest_win_streak33BLAZE_POWDERShows the best win streak.
longest_survive40CLOCKShows the longest survival time.
back_button49DARK_OAK_DOORReturns to the previous menu.
previous_page45ARROWShows the previous arena records page.
next_page53ARROWShows the next arena records page.
arena_templateDynamicMAPTemplate used for each arena record entry.

ActionUsed ByBehavior
open_arenasview_arenasOpens the arena records view.
backback_buttonReturns to the previous menu.
previous_pageprevious_pageMoves to the previous arena page.
next_pagenext_pageMoves to the next arena page.

PlaceholderDescription
%target%Player whose stats are being viewed.
%games_played%Total TNT Run games played.
%wins%Total games won.
%loses%Total games lost.
%win_streak%Current consecutive wins.
%longest_win_streak%Highest win streak reached by the player.
%longest_survive%Longest survival time across all games.

These placeholders are used by arena_template.

PlaceholderDescription
%arena%Arena display name or ID.
%best_time%Player’s best time for that arena.
%rank%Leaderboard rank.
%player%Leaderboard player name.
%time%Leaderboard survival time.
%color%Rank color configured by the template.

items:
player_head:
slot: 13
name: "<#00e5ff><bold>%target%'s Profile"
material: PLAYER_HEAD
skull: "%target%"
view_arenas:
slot: 22
action: "open_arenas"
material: COMPASS