Note:
I've made some changes to
config.yml and
signs.yml - you may want to make a copy of these before updating. After making backup copies of the 2 files, the
config.yml can be deleted as the plugin will recreate a new
config.yml. Your custom changes can then be re-applied to the new file after stopping the server. Alternatively the new default
config.yml is listed on the main Spigot page if you are missing any updates.
Do
NOT delete your
signs.yml, the plugin will simply reformat it without losing any data.
Added a new option to purchase 'heads' to wear during TNTRun.
This option is dependent on the server having
HeadsPlus by Thatsmusic99 installed. The chosen head is automatically equipped on the player's head when purchased, and removed at the end of the game.
This is optional and doesn't affect any other parts of TNTRun.
Players will need permission node
headsplus.heads: true to be able to use this feature.
The sounds played when the arena starts and when the hotbar items are used, are now fully configurable.
The fireworks duration at the end of the game can be configured to last between 1 and 4 seconds, or disabled completely.
A leaderboard sign can now be created by putting [leaderboard] on the second line of a TNTRun sign (see pic on main page). The sign(s) will automatically refresh when a game completes. The colours are currently fixed, but will be made configurable in the next update. Player names longer than 11 characters will be truncated to fit on the sign.
The anti-camping system, which teleports all the players in the arena to the arena spawn when the countdown hits 5 seconds, can now be enabled/disabled in the
config.yml.
Players that die or leave the arena during the game will become spectators rather than being removed from the arena.
All rewards received by the winner are now logged to the console.
Full change log:
===========
- add interface with HeadsPlus
- add soft dependency for HeadsPlus in plugin.yml
- make firework duration configurable
- format config.yml properly
- add sound options to config.yml
- correct setdamage help message
- add leaderboard to messages.yml
- add sound handler class
- remove sounds_1_9 class
- fix firework overrun
- make anticamping configurable
- fix leave and vote signs not working if custom sign header is used
- add Leaderboard sign with top 3 scores
- format/colour player name length on sign(11 chars, space, 3 digits)
- add "arenas" section to signs.yml
- save and load leaderboard sign info to signs.yml
- refresh leaderboards when arena has a winner
- players that die in-game (due to pvp, or other reason) go to spectate (not leave arena)
- players that leave arena bounds during game go to spectate (not leave arena)
- remove fly ability at end of game to prevent players inadvertently leaving arena bounds
- log ALL rewards to console