Skip to content

spectator-settings-menu.yml

The spectator-settings-menu.yml file controls the personal spectator settings GUI. Spectators use this menu to toggle visibility options and cycle movement speed while watching a game.


  • rows: Defines the menu height. TNT Run uses 3 rows by default.
  • title: The inventory title shown at the top of the GUI.
  • items: Configurable buttons and optional decoration items.

Item KeySlotMaterialPurpose
spectator-settings4COMPARATORItem used to open spectator settings from the spectator inventory.
background-fillMultipleGRAY_STAINED_GLASS_PANEOptional decoration-only filler item.
night-vision-enabled11ENDER_EYEShows night vision as enabled and disables it when clicked.
night-vision-disabled11ENDER_PEARLShows night vision as disabled and enables it when clicked.
show-spectators-enabled13LIME_DYEShows other spectators as visible and hides them when clicked.
show-spectators-disabled13GRAY_DYEShows other spectators as hidden and shows them when clicked.
speed-disabled15GUNPOWDERShows spectator speed as disabled and cycles speed when clicked.
speed15SUGARShows active spectator speed and cycles speed when clicked.
close26BARRIERCloses the settings menu.

Some settings use two item definitions for the same slot. The plugin decides which item to display based on the player’s current spectator state.

SettingEnabled ItemDisabled Item
Night Visionnight-vision-enablednight-vision-disabled
Show Spectatorsshow-spectators-enabledshow-spectators-disabled
Speedspeedspeed-disabled

items:
night-vision-enabled:
slot: 11
material: ENDER_EYE
glow: true
name: "<#3F7DCC><bold>Night Vision"
close:
slot: 26
material: BARRIER
name: "<#FF5252><bold>Close"