The Debug Mode is Official!
In Version 1.0, I simply added a flag to enable it in the settings file. Nothing would happen if it was changed to
true, but now you get text spam!
Enabling Resurrection's debug mode by changing the debug flag in the settings file to
debug=true will tell the plugin to broadcast (meaning tell
EVERYONE) what is happening on the inside of Resurrection. This can happen from player events, running commands or anything else that might trigger code to run in Resurrection. Several messages may appear at once and several messages may be repeated due to repeated functions.
This mode is not recommended for normal use. Avoid enabling this mode for anything except... well... debugging I guess.
Bug Fixes!
- Fixed an error where a dead state wouldn't be cleared in the playerData file if a player rejoins the server and they get resurrected.
- Fixed a logic error where using invalid values for the debug setting wouldn't trigger a plugin shutdown.
- Fixed a severe oversight where, in some places, using System.exit(1); would tell the entire Minecraft server to shutdown, not just Resurrection. Replaced by calling to disable the plugin and implementing logic to prevent further execution.