This update is for Spigot/Minecraft 1.13.2 - 1.17.1, and has been compiled with Spigot API 1.17.1.
The players times are now saved on a per arena basis. After each game the number of seconds played is added to the player's total time played for that arena. Each player's longest survival time is also recorded for each arena.
The
stats.yml file will now look like this:
Code (YAML):
Stats:
<arena-name>:
<player-uuid>:
totaltime
: 156
longesttime
: 34
The old entries were recorded as
Code (YAML):
Stats:
<player-uuid>:
time
: 156
These old values will be ignored by the plugin. This data can either be manually added to player's new times or simply removed from the file.
When displaying the amount of reward given, the currency prefix and suffix (default 'coins') set in TNTRun_reloaded's
config.yml will be used.
There is a new configuraton file,
messages.yml, which will allow message strings to be changed or translated easily.
The in-game reward message has been moved to the new
messages.yml file. The existing message in the
config.yml should be removed manually.
When a player dies or wins a game, the survival time is sent as a chat message to the player. The units of time (default minutes and seconds) can be changed in the
messages.yml.
New placeholders have been added, and the existing ones renamed to cater for the stats being saved per arena (see main overview page for details).
Change Log
==========
- use currency prefix/suffix settings from tntrun_reloaded's config
- save stats per arena
- new placeholders per arena
- add a messages.yml file
- move reward message from config.yml to messages.yml
- send message to player giving time survived e.g. "You survived for 3m 21s!"
- time units are translatable in messages.yml
- reload messages file when config is reloaded
Please report any issues found either in the discussion pages, on GitHub or Discord -
https://discord.gg/wFYSAS4