Also contains a bit of refactoring on internal logic. Modifies (secondary) siege mechanics.
* Un-couple siege from core claim functions
* UUID overload, documentation, naming clarity
* Add internal special message override support
* Fix permission calculation issues in subclaims
* Migrate egg handling to new methods
* Use suppliers for denial message
In many use cases addons don't care why a denial occurred, only that it did. On-demand calculation is vastly preferable to reduce server impact.
1. Claim creation event... this is fired once all the claim creation checks have been passed. It can be cancelled. It contains the claim and the creating player
2. Claim modification event - this is fired as the claim is modified - it cannot be cancelled. It contains the claim and the modifier...which can be null.
Use Case:
This could be used so other plugins can hook gp and perform an action if a claim is created or changed. Something as simple as logging claim creations/modifications and deletions.