Add AdminSwitchCommand
Optimize code that checks if player can walk on top of the world.
Remove AlternativeTeleports, as it is moved to VoidPortals addon.
There was a mistake with checking if position is changed in Y coordinate. It took from position and compare it to from position, so always fails.
This issue has been fixed now.
Also to improve ability to change these settings on the fly, I add them as world protection flags, so admins can enable and disable them via config.
- Add multiple event listeners that detects if blocks should be replaced or not.
- Add new config option, that allows to enable/disable beacon enabling.