Configuration Files

Configuration Files

config.yml

In the plugin folder there is a file config.yml. It looks like this

allowed-commands:
- tell
- msg
- leave
- r
- m
- reply
- say
- party

Above is a list of the commands players are allowed to use in-game. You can add or remove commands. The plugin must be reloaded in order for it to update.





Bomber<arena name>.yml

In the plugin folder there will be a yml file for each arena. For this example we will use BomberAmazon.yml which is the config file for the arena named Amazon.

MiniGameName: Bomber
arena:
  name: Amazon
  schematic: amazon
minplayers: 1
maxplayers: 6
gamelength: 1
indestructibles:
- LEAVES
- LEAVES_2
- GLOWSTONE
- WOOL
- LADDER
paste:
  world: Skyworld
  x: 470
  y: 4
  z: 97
sign:
  world: Skyworld
  x: 476
  y: 5
  z: 83
b1:
  world: Skyworld
  x: 470
  y: 52
  z: 95
b2:
  world: Skyworld
  x: 440
  y: 85
  z: 41
leaderboard:
  world: Skyworld
  x: 479
  y: 4
  z: 85
rspawns: 4
rspawn0:
  world: Skyworld
  x: 567
  y: 42
  z: -116
  yaw: -126.148315
  pitch: 12.150016
rspawn1:
  world: Skyworld
  x: 577
  y: 51
  z: -116
  yaw: -178.49805
  pitch: 19.500011
rspawn2:
  world: Skyworld
  x: 450
  y: 66
  z: 93
  yaw: -115.95043
  pitch: 7.050016
rspawn3:
  world: Skyworld
  x: 461
  y: 75
  z: 90
  yaw: 169.19955
  pitch: 20.25001
bspawns: 4
bspawn0:
  world: Skyworld
  x: 566
  y: 42
  z: -165
  yaw: -37.79834
  pitch: 3.600015
bspawn1:
  world: Skyworld
  x: 575
  y: 54
  z: -164
  yaw: -343.6482
  pitch: 19.050034
bspawn2:
  world: Skyworld
  x: 451
  y: 66
  z: 43
  yaw: -22.800634
  pitch: 1.3499969
bspawn3:
  world: Skyworld
  x: 461
  y: 77
  z: 45
  yaw: -343.50055
  pitch: 42.150005
lobby:
  world: Skyworld
  x: 436.0
  y: 84.0
  z: 66.0
  yaw: 275.2496
  pitch: 2.3999763
leader1:
  name: Notch
  score: 9001

All of the yml nodes above can be changed through in-game commands except the indestructibles list. These are blocks that players cannot break or explode whilst playing in the arena. You can add or remove blocks from this list as you choose. Block names and numbers work i.e. putting in 2 is the same as putting in DIRT.

The plugin must be reloaded for the arena to reload the config file.


Comments

Posts Quoted:
Reply
Clear All Quotes