configyml

Config.yml

# These are the defaults.
# Please read the description below
# before making changes
PlantTime: 8
DetonationTime: 35
DefuseTime: 8
BombBlock: TNT
BaseBlock: BREWING_STAND
FakeName: 'Bombs Planted Defused'
ChangeFakeName: ''
MaxDamage: 50
DeltaDamage: 5
DamageRadius: 9
StartupDisplay: 3
DatabaseTable: 'Demolition'
Debug: false

Description

Recommended values:

PlantTime: 5 to 10 seconds

DetonationTime: 30 to 60 seconds

DefuseTime: 5 to 10 seconds

BombBlock: TNT or SPONGE

BaseBlock: Any Block with an Inventory.

Inventory Blocks
ANVIL
BEACON
BREWING_STAND
CHEST
ENDER_CHEST
TRAPPED_CHEST
ENCHANTMENT_TABLE
DISPENSER
DROPPER
FURNACE
HOPPER
WORKBENCH

FakeName: "Bombs Planted Defused"

  • This is the name of the Fake Player in the database (a by-product of tracking stats that were never intended to be tracked by BattleTracker).
  • If you already have players stats saved in your database, then DO NOT CHANGE FakeName
  • If you do NOT have player stats in the database, then you can safely change this value.

ChangeFakeName: ''

  • Not implemented yet.
  • This will switch occurances of `FakeName` in your database to the new name.

ExplosionMaxDamage: 50

  • DMG = MAX - (DELTA * DISTANCE)

ExplosionDeltaDamage: 5

  • DMG = MAX - (DELTA * DISTANCE)
  • The term Detla is a mathematical term derived from Greek that means difference
  • For example, `Delta t` is commonly a difference in time (t2 - t1)
  • In this situation, it means that the further you are away from the bomb, the less damage that the bomb will do.
  • From the equation, you can see that the value 5 means subtract 5 dmg per block

ExplosionRadius: 8

Distance to Damage Table

DISTANCE:   0   1   2   3   4   5   6   7   8   9   10   11
DAMAGE:     50  45  40  35  30  25  20  15  10  0   0    0

As you can see: according to this table, the default killzone is 6 blocks from the base eventho the bomb does dmg up to 8 blocks away. Notice that 9 blocks does NOT do 5 dmg because the Radius is set to 8.

StartupDisplay: 5

  • The number of ranks to print to the console during server startup.

DatabaseTable: 'Demolition'

  • This is the name of the table.
  • Demolition is the old name of BombArena and also the name of the repository on github
  • This name does NOT include the prefix & suffix that BattleTracker uses.
  • Exampe: 'Bomb' will show up in the database as
  • bt_Bomb_overall
  • bt_Bomb_tally
  • bt_Bomb_versus

Debug: true or false

  • This option affects the default debugging mode after the server has been loaded.
  • true - turns debugging mode on.
  • false - turns debugging mode off.
  • To toggle it on/off in-game: use the command /bomb debug

Comments

Posts Quoted:
Reply
Clear All Quotes