Configuration Files:
- config.yml: controls your main lobby spawn, required players for each game, countdown time, kills required, and immunity after getting hit by a snowball.
- arenas.yml: controls your arena lobby, your arena region, and your locations that players spawn at randomly when they get hit by a snowball.
- messages.yml: controls your arena join message, arena leave message, arena win message, and prefix.
Built-in settings for messages.yml:
Code (YAML):
# BALLBATTLES PREFIX
prefix
:
"&8[&6BallBattles&8]: &7"
# WINNING MESSAGE
winMessage
:
"&6&lCongratulations to %player% for winning the game!"
# JOINING MESSAGE
joinMessage
:
"You are now playing in &6&l%arena-name%&r."
# LEAVING MESSAGE
leaveMessage
:
"You have left the &6&l%arena-name% &r&7arena."
# messages.yml Placeholders:
# %player% - references the player (such as the winning player). Works only in (winMessage).
# %arena-name% - references the arena name you are joining, playing, or leaving (works only in joinMessage or leaveMessage)
# NOTE: The messages.yml supports & color symbols. (https://minecraftitemids.com/color-codes)
Built-in settings for config.yml
Code (YAML):
# SET REQUIRED AMOUNT OF PLAYERS FOR EACH ARENA TO START
required-players
: 2
# SET THE TIME UNTIL THE ARENA STARTS WHEN IT REACHES IT'S REQUIRED AMOUNT OF PLAYERS
countdown-seconds
: 30
# SET THE AMOUNT OF KILLS REQUIRED FOR EVERY ARENA IN ORDER FOR A PLAYER TO WIN
kills-required
: 20
# SET THE AMOUNT OF IMMUNITY TIME AFTER A PLAYER IS HIT BY A SNOWBALL
hit-cooldown
: 5