Hey everyone!
This update focuses on addressing the issues reported in the past month, as well as cleaning up the API, and adding custom events!
New Features:
- Custom events in block configs! You can now have custom commands and messages when regions are created and destroyed!
- Added /ps admin recreate, allowing to recreate PS regions with the size set in the config
- Added protectionstones.info.others, allowing for using /ps info in unowned regions
API Changes:
- The package name has been changed from dev.espi.ProtectionStones to dev.espi.protectionstones to follow Java standards. Please update existing code.
- PSRegion creation methods have been moved from ProtectionStones to PSRegion static
- Added more null preconditions
- Fixed event listening causing errors
- The JavaDocs are now available here: https://jdps.espi.dev
Bug Fixes:
- Fixed error with /ps view when used outside of region
- Fixed /ps admin cleanup not working at all
- Fixed sponge duplication when used as a protection block and water is placed nearby
- Fixed lack of error message when flag is not found in /ps admin flag
Thank you!