Yes I'm still alive, summer has just been quite busy
Changelog
- You can now choose whether temp-freeze time will be counted offline or only online
- Time units are now configurable (seconds, minutes, hours, etc.)
- Fixed a bug where an error was thrown upon a frozen player leaving the game with a freeze gui open
- Fixed a bug where the time placeholder was sometimes cut off
- Fixed a bug where an error was thrown when a player was unfrozen with a gui open
- Fixed a bug where clear-playerdata only worked on MySQL enabled servers
Add this anywhere in your config (by default its at the end of the preferences section)
Code (YAML):
# Should temp-freeze time be counted when player is offline?
count-time-offline
: true
# Change the words for each unit of time
time-formats:
second
: 'second'
seconds
: 'seconds'
minute
: 'minute'
minutes
: 'minutes'
hour
: 'hour'
hours
: 'hours'
day
: 'day'
days
: 'days'
week
: 'week'
weeks
: 'weeks'
month
: 'month'
months
: 'months'
year
: 'year'
years
: 'years'
Thanks to
@Chris_GSPvP,
@Twonox,
@futurmaster and
@Snadja for reporting bugs
Thanks to
@Twonox for the suggestions