#
# TotalFreedomMod v4.3 Configuration
# by Madgeek1450 and Prozza
#

# Generic server information
server:
  # You should change this to your server's name
  name: TotalFreedom

  # The address your server is located at. Please do not include the port.
  address: play.totalfreedom.me

  # Shown at the server list
  motd: TotalFreedom &8- Minecraft %mcversion%

  # Every word in the MOTD will be a different color unless prefixed by a color code
  colorful_motd: true

  # All players who show up as owner
  owners:
    - markbyron

  # URL players should appeal for bans at
  ban_url: http://totalfreedom.boards.net/

  # URL players should appeal for permanent bans at
  permban_url: http://bit.ly/TF_PermBan

  # Should we OP players on join? (default false for nostalgia purposes)
  op_on_join: false

# ForceIP configuration
forceip:
  enabled: false

  # The port players should use to connect to your server; only applies to forceip
  port: 25565

  # The kick message sent to players when logging in with the wrong hostname
  kickmsg: You have been kicked from the server - Please connect using %address%


# Blocking certain events
allow:
  fire_place: false
  fire_spread: false
  fluid_spread: false
  lava_place: false
  lava_damage: false
  water_place: false
  tnt_minecarts: false
  explosions: false

# Blocked commands:
#
# How blocked commands work:
# All sections described below are delimited by colon characters.
# Make sure that you block a command by its main command name, not an alias
# -as all aliases are blocked by default. Commands are case-insensitive.
#
# * The first section is a letter which indicates which rank may use this command
#   Valid ranks:
#   n - Nobody (Completely disabled)
#   c - Senior Admins (Console)
#   t - Telnet Admins (Console)
#   s - Super Admins (Any in-game admin)
#   o - Ops (Non-Ops won't be able to use it)
#
# * The second section is a letter which indicates what to do when a player executes that command.
#   Valid actions:
#   b - Block the command
#   a - Block the command and auto-eject that player (for ops and below)
#   u - Block the command and Return an "Unknown command" message (Used to hide commands)
#
# * The third section is the command to be blocked, prefixed with a slash
#
# * The fourth section is the message to send to the player when executing that command.
#   This should be ommited if unwanted. ChatColors are supported with the &-key. By default
#   -the starting ChatColor is set to gray. You can use the default 'That command is blocked.' message
#   by using a single underscore.
#
# Examples:
#   - 'n:b:/mail sendall:&4You can't send mails to everyone!'
#   - 's:a:/stop'
#   - 'n:b:/ban:_'
#
blocked_commands:
  # Disabled commands
  - 'n:b:/time:Server-side time changing is disabled. Please use /ptime to set your own personal time.'
  - 'n:b:/gamemode:Use /creative, /survival and /spectator to set your gamemode.'
  - 'n:b:/ban:_'
  - 'n:b:/pardon:_'
  - 'n:b:/ban-ip:_'
  - 'n:b:/pardon-ip:_'
  - 'n:b:/toggledownfall:_'
  - 'n:b:/effect:Please use /potion to set effects.'
  - 'n:b:/enderchest:_'
  - 'n:b:/spreadplayers:_'
  - 'n:b:/execute:_'
  - 'n:b:/blockdata:_'
  - 'n:b:/clearhistory:_'
  - 'n:b:/save-all:_'
  - 'n:b:/save-on:_'
  - 'n:b:/save-off:_'

  # Superadmin commands
  - 's:b:/kick:_'
  - 's:b:/socialspy:_'
  - 's:b:/kill:_'
  - 's:b://generate:_'
  - 's:b://:_'
  - 's:b:/superpickaxe:_'
  - 's:b:/brush:_'
  - 's:b:/size:_'
  - 's:b://mask:_'
  - 's:b:/mat:_'
  - 's:b://butcher:_'
  - 's:b:/scoreboard:_'
  - 's:b:/setspawn:_'
  - 's:b://snow:_'
  - 's:b:/tellraw:_'
  - 's:b:/forestgen:_'
  - 's:b:/setidletimeout:_'
  - 's:b:/mail sendall:_'
  - 's:b:/eco reset:_'
  - 's:b:/mask:_'
  - 's:b:/gmask:_'
  - 's:b:/lrbuild:_'
  - 's:b:/defaultgamemode:_'
  - 's:b:/reload:_'
  - 's:b:/title:_'
  - 's:b:/worldborder:_'
  - 's:b:/weather:_'
  - 's:b:/tpall:_'
  - 's:b:/setblock:_'
  - 's:b:/green:_'
  - 'n:b:/gamerule:_'
  - 'n:b:/togglejail:_'

  # Superadmin commands - Auto-eject
  - 's:a:/stop:_'
  - 's:a:/restart:_'

# Automatically wipe dropped objects
auto_wipe: true

# Nuking prevention
nukemonitor:
  enabled: true
  count_break: 100
  count_place: 40
  range: 10.0

freecam_trigger_count: 10
explosive_radius: 4.0

# Show all attempted commands in the log, will result in duplicate log messages
preprocess_log: true

# Disable certain events
disable:
  night: true
  weather: true


# Enable misc. features
landmines_enabled: false
mp44_enabled: false
tossmob_enabled: false

# Moblimiter
moblimiter:
  enabled: true
  max: 50
  disable:
    dragon: true
    ghast: true
    slime: true
    giant: true

# Flatlands
flatlands:
  generate: true

  # Flatlands generation parameters - Uses CleanroomGenerator syntax - http://dev.bukkit.org/server-mods/cleanroomgenerator/
  generate_params: 16,stone,32,dirt,1,grass

# Admin-Only Mode
admin_only_mode: false

# Protected Areas - Protect areas so that only superadmins can directly modify blocks in those areas. WorldEdit and other such plugins might bypass this.
protectarea:
  enabled: true
  auto_protect_spawnpoints: true
  auto_protect_radius: 25.0

# Give the default CONSOLE senior admin privileges.
# Handy in development environments.
console_is_senior: true

# Host Sender Names - Names that indicate automated services or host-based consoles you want to block from using some commands.
# Make sure these are all lower-case.
host_sender_names:
  - rcon
  - remotebukkit

# Announcer
announcer:
  enabled: true

  # Interval between announcements, in seconds.
  interval: 600

  # Prefix for all announcements
  prefix: '&5[&eTotalFreedom&5] &b'

  announcements:
    - 'Be sure to visit our forums at &6http://totalfreedom.boards.net/'
    - 'You can always review the server rules here: &6http://totalfreedom.me/'
    - 'If you are not OP, be sure to ask!'
    - 'Somebody breaking the rules?  Report it!  /report <user> <reason>'
    - 'Griefing is not allowed!'
    - 'Hacking is allowed!'
    - 'Interested in becoming admin? Do "/ai" for more information!'
    - 'You may view all online administrators via "/list -a"'
    - 'Save your buildings via WorldEdit!  http://totalfreedom.main.java.me for more information!'
    - 'Famous players, such as Notch, are always fake!  We are an offline/cracked server!'
    - 'You may contact TotalFreedoms Support on Twitter!  pravi.us/nGS'
    - 'You may download TotalFreedomMod here: pravi.us/V8c'
    - 'MarkByron is TotalFreedoms owner.'
    - 'Server lagging?  Check the lag via "/tps"'
    - 'You are allowed to record and stream videos on TotalFreedom :D'
    - 'An admin abusing?  Report it! pravi.us/vfa'
    - 'Player vs Player while in creative/god mode it forbidden!'
    - 'Spawn killing is forbidden!'
    - 'Invisible potions are allowed!'
    - 'Serial griefing and trolling will result in permanently being banned!'
    - 'TotalFreedom does not accept any form of donations!'
    - 'Racism, Nazism, and Sexism is strictly forbidden!'
    - 'Join our Mumble server! IP: 64.34.202.140:2862'

# Players who cannot be banned by username
unbannable_usernames:
  - honeydew
  - xephos
  - captainsparklez
  - truemu
  - kiershar
  - fvdisco
  - sethbling
  - notch
  - jeb_
  - gamechap
  - bertiechap
  - vechs
  - antvenom
  - chimneyswift
  - deadmau5
  - etho
  - ethoslab
  - skydoesminecraft
  - skythekidrs
  - tobyturner
  - xxslyfoxhoundxx
  - paulsoaresjr
  - sips_
  - deadlox
  - xxslyxx
  - jeromeasf
  - dinnerbone
  - grumm
  - grum
  - evilseph
  - cavemanfilms
  - herobrine
  - whiteboy7thst
  - stampylonghead
  - stampylongnose
  - dantdm
  - gizzy14gazza

# IPs that can not be supered
noadmin_ips:
  - 167.114.97.16

# TwitterBot - Used to allow superadmins to verify themselves using twitter
twitterbot:
  enabled: false
  url: ''
  secret: ''

# Pet Protect - Prevent tamed pets from being killed.
petprotect:
  enabled: true

# Logviewer
logs:
  url: ''
  secret: ''

# Mojang service checker
service_checker_url: http://status.mojang.com/check
# This is now ignored, since the mojang api check doesn't exist!

# HTTPD server
httpd:
  enabled: true
  port: 28966
  public_folder: ./public_html
  origin: 'totalfreedom.me'

# Inactivity Auto-Kick (Requires Essentials)
autokick:
  enabled: true

  # autokick_threshold - Percentage of server player capacity used at which players will be automatically kicked for being inactive. Range: 0.0 - 1.0
  threshold: 0.9

  # autokick_time - Time, in seconds, after which a player should be kicked when inactive
  time: 120

# Players with access to the overlord command
overlord_ips:
  - 141.101.105.161

# Configure Discord integration here
discord:
  is_enabled: false
  token: ''
  channel: ''
  admin_channel: ''
  prefix: 'tf!'
  # Format:
  # {TAG} == Their full discord tag: e.g. Allink#9308
  # {USERNAME} == Their discord username: e.g. Allink
  # %1$s == User's message
  format: '[Discord] <{TAG}> %1$s'
  admin_format: '&f[&bADMIN&f] &4{TAG}&f:&b %1$s'

# Configure chat format
chat:
  # Format:
  # {RANK} == Player's rank
  # %1$s == Player's display name
  # %2$s == Player's message
  format: '<{RANK} %1$s> %2$s'

build_shellscript: '/home/server/tfm/update.sh'