Skip to content
This repository was archived by the owner on Oct 11, 2020. It is now read-only.

config.yml

MeLays edited this page Aug 3, 2017 · 1 revision

Example config.yml

With additional comments

mysql:                               #The mysql connection (not recommenced , please use the StatsAPI)
  enabled: false
  host: localhost
  port: '3306'
  user: user
  database: database
  password: password
shopopener: GOLD_NUGGET              #Changes the shopopener material. Set it to AIR to disable
bungeemotd: 'true'                   #Change the motd to the current gamestate
metrics: true                        #Enable the send of statistics to bstats.org
waitingtime: 20                      #The times of the game in seconds
gametime: 720
restarttime: 15              
minplayerstotest: 0                  #The minimum amount of players needed to test
startpoints: 2                       #The amount of points Traitors and Detectives start with
detective_global_receive: false      #All Detectives will receive the points a detective score
autojoin: TTT_Minecraft              #Please set this setting using /ttt autojoin set
bungeeserver: lobby                  #Sets the bungeecord server the players will be sent to
lobbymode: false                     #Enables a lobby before the game
stopserver: false                    #Stops the server after a game
startcommand: false                  #Enables the /start command
itemdrop: true                       #Enable or disable the ability to drop items
traitorratio: 4                      #Change the chances to get Traitor or Detective
detectiveratio: 5
min_players_for_detective: 4
role_item: true                      #Toggle the role and the leave item
leave_item: false
roleitem_slot: 9                     #The slot of the role and leave item
leaveitem_slot: 8
role_item_type: BOOK                 #The Material of the roleselection-item
leave_item_type: SLIME_BALL          #The Material of the leave-item
ttt_help: true                       #Toggles the help messages on /ttt
advancedtabcolors: true              #Enable the colored Innocent Nametags
command_hub: true                    #Enable commands like /stats or /hub
command_l: true
command_lobby: true
command_leave: true
command_stats: true
hide_players_outside_arena: false    #Hide players outside the arena from the tablist
spectatormode: true                  #Choose if spectators are allowed (WIP)
advancedtabcolor_unknown: '&e'       #Changes the default color of the Innocents seen by Innocents & Detectives
advancedtabcolor_innocent: '&a'      #Changes the default color of the Innocents seen by Traitors
randomnicknames: false               #Give players random nicknames every game (AutoNicker needed)
hidenametag: false                   #Hide the nametag of the players (WIP)
serverpack: none                     #Here you can add a URL to a custom Ressourcepack
only_detective_corpsescan: false     #This will only allow detectives to scan corpses
hidespecs: false                     #This will hide spectators in the tablist (WIP)
alphawarning: false                  #This will disable a warning message to users of alpha-versions
enabledcommands:                     #These commands can be run be players ingame
- ttt
- tc
- shop
- tshop
- traitor
- vote
- detective
- role
TTT_Minecraft:
  ...          #Will be created by the plugin
arenas:        #Enabled arenas
- TTT_Minecraft

Clone this wiki locally