- Fixed an error where DeathLogger would fail due to a wrong Dateformatter setup
- Fixed an error where OneLife would fail to switch the gamemode of a player that died
- Fixed an error where OneLife would still restart all of it's tasks though disabled in the config.
That's right!
OneLife will now (optionally) log death-related information into a separate log-file.
You can enable DeathLogger by setting 'enable-deathlogger' to true.
Make sure to delete the existing config file, and reload/restart the server.
For this update it is also required to delete the existing en-US.yml localization file.
If you have a custom localization file, add these keys to it. Follow the indentation, and make sure you reload/restart the server after changing any localization info.
Added keys:
deathlogger.logmsg [placholders: %player%, %deathPosition%, %deathExpiration%]
deathlogger.logmsg-dead [placeholders: %player%, %deathPosition%, %lives%]
The plugin will now automatically create a new OneLife entry for a player on login, if they don't have one.
// Should've been there from the start to be honest.