Configuration - steve4744/TNTRun GitHub Wiki

This is the default configuration file for TNTRun_reloaded.

special:
   #
   # use bossbar to display arena messages and countdown
   UseBossBar: true
   #
   # set the bossbar color, or have random colors
   BossBarColor: RANDOM
   #
   # use splash titles for join/leave
   UseTitle: true
   #
   # use scoreboard to display in-game stats
   UseScoreboard: true
   #
   # using permission "tntrun.doublejumps.n" where n is an integer will limit the number of doublejumps
   # a player will receive up to the max allowed. Applies to free and shop doublejumps.
   UseDoubleJumpPermissions: false
   #
   # enable metrics (bStats)
   Metrics: true
   #
   # check for new version of TNTRun_reloaded on Spigot
   CheckForNewVersion: true
#
# use player's exp bar to display the countdown and/or time remaining
usexpbar:
  countdown: true
  timelimit: true
#
# use player's rank in chat messages
UseRankInChat:
   enabled: false
   usegroup: true
   groupcolormeta: false
   useprefix: false
#
# in-game shop configuration
shop:
   name: '&6&lTNTRun &f&lSHOP'
   size: 27
   doublejump:
      maxdoublejumps: 10
   #
   # log every shop purchase to console
   logpurchases: false
   #
   # remove player's purchase if player leaves before game starts
   onleave:
      removepurchase: false
   #
   # item to use to show player's monetary balance in shop
   showmoneyitem: GOLD_INGOT
#
# give players free doublejumps when arena starts
freedoublejumps:
   enabled: false
   amount: 10
#
# run server commands on win
commandsonwin:
- say {PLAYER} won TNTRun
- say Congratulations...
#
# set duration (seconds) for fireworks on win
fireworksonwin:
   enabled: true
   duration: 4
#
# broadcast win to whom:
# 2 = server, 1 = only arena players, 0 = no broadcast message
broadcastwinlevel: 2
#
# broadcast clickable invitation to join arena message when first player joins an arena
invitationmessage:
  enabled: false
  # if true, players join as spectators if arena is already running
  allowspectate: false
  # if true, players already playing TNTRun will not receive the message
  excludeplayers: false
  # if true, the origininating player will not receive the message
  excludeoriginator: false
#
# if enabled players can create and join TNTRun parties
parties:
  enabled: true
#
# configure arena join menu
menu:
   item: TNT
   pvpitem: IRON_BLOCK
   panecolor: LIGHT_BLUE
   includedisabled: false
#
# configure sounds
sounds:
  arenastart:
     enabled: true
     sound: ENTITY_PLAYER_LEVELUP
     volume: 10
     pitch: 1.0
  itemselect:
     enabled: true
     sound: UI_BUTTON_CLICK
     volume: 1
     pitch: 1.0
  blockbreak:
     enabled: true
     sound: BLOCK_SAND_BREAK
     volume: 5
     pitch: 1.0
#
# if enabled, all players in arena teleport to arena spawn when countdown = 5 seconds
anticamping:
   enabled: true
   teleporttime: 5
#
# set max entries displayed by leaderboard command
leaderboard:
  maxentries = 10
#
# control the size of the doublejumps
doublejumps:
  multiplier: 1.5
  height: 0.7
#
# set GUI items while waiting for arena start
items:
   vote:
      use: true
      material: DIAMOND
      name: '&2&lVOTE'
      slot: 0
   info:
      use: true
      material: EMERALD
      name: '&2&lINFO'
      slot: 1
   shop:
      use: true
      material: NETHER_STAR
      name: '&2&lSHOP'
      slot: 2
   stats:
      use: true
      material: REDSTONE
      name: '&2&lSTATS'
      slot: 3
   heads:
      use: true
      material: GLOWSTONE_DUST
      name: '&e&lHEADSPLUS'
      slot: 4
   leave:
      use: true
      material: GREEN_BED
      name: '&2&lLEAVE'
      slot: 8
   tracker:
      use: true
      material: COMPASS
      name: '&e&lPlayer Tracker'
      slot: 5
#
# set scoreboard text
scoreboard:
   header: '&6&lTNTRUN'
   displaydoublejumps: false
   removefromspectators: true
   waiting:
  - '&fWelcome to TNTRun'
   - '&a '
   - '&fArena: &6&l{ARENA}'
   - '&b '
   - '&fPlayers: &a&l{PS}&7&l/&c&l{MPS}'
   - '&c '
   - '&fVotes required: &a&l{VOTES}'
   - '&d'
   - '&fStarting in: &6&l{COUNT}'
   playing:
  - '&fPlaying TNTRun'
   - '&fon arena: &6&l{ARENA}'
   - '&b '
   - '&fPlayers: &a&l{PS}&7&l/&c&l{MPS}'
   - '&c '
   - '&fLost Players: &a&l{LOST}'
   - '&2 '
   - '&fEnd in: &c&l{LIMIT}'
#
# configure stats - set database to 'file' (to use stats.yml) or 'sql' (to use a MySQL database)
database: file
MySQL:
   host: host
   port: 12345
   name: tntrun
   table: stats
   user: root
   pass: password
   useSSL: false
   flags: allowPublicKeyRetrieval=true
   legacyDriver: true
#
# set sign text. If a join sign is placed on a STAINED_GLASS block, the colour of the block
# can be configured to reflect the status of the arena
signs:
   prefix: '&6&lTNTRun'
   join: '[Join]'
   status:
      disabled: '&cDisabled'
      ingame: '&c&l{PS}&8/&c&l{MPS}'
      regenerating: '&6&lRegen...'
      waiting: '&a&l{PS}&8/&a&l{MPS}'
   blockcolour:
      disabled: ''
      ingame: ''
      starting: ''
      waiting: ''
   allowspectate: false
#
# bungeecord settings
bungeecord:
   enabled: false
   hub: lobby
   useMOTD: true
   useUUID: false
   stopserver: false
   randomarena: true
#
# currency symbols to use with message strings
currency:
  prefix: ''
  suffix: ' coins'
#
# default language file
language: en-GB
#
# setting debug to true will log more verbose messages to the console
debug: false