Skip to content

spectator-teleporter-menu.yml

The spectator-teleporter-menu.yml file controls the GUI that lets spectators teleport to alive players during a TNT Run match.


  • rows: Defines the menu height. TNT Run uses 5 rows by default.
  • title: The inventory title shown at the top of the GUI.
  • items: Configurable opener item, decorations, player entries, and page controls.

Item KeySlotMaterialPurpose
spectator-teleporter0COMPASSItem used to open the teleporter from the spectator inventory.
background-fillMultipleGRAY_STAINED_GLASS_PANEDecoration-only filler around the player list.
teleport-playerDynamicPLAYER_HEADTemplate for alive player entries. Clicking teleports to that player.
previous-page36ARROWMoves to the previous player page.
next-page44ARROWMoves to the next player page.

The teleport-player item is generated dynamically for alive players. It uses the %target% placeholder in the item name and displays as a player head.

teleport-player:
material: PLAYER_HEAD
name: "<#00E676><bold>%target%"
lore:
- "<#B0BEC5>Click to teleport to this player."

items:
spectator-teleporter:
slot: 0
material: COMPASS
name: "<#FF5252><bold>Teleporter"
next-page:
slot: 44
material: ARROW
name: "<#FFCA28><bold>Next Page"