Description
Describe the bug
It seems that Upgrades cancels the permissions-based limit settings set when a player logs in.
Steps to reproduce the behavior
Please see BentoBoxWorld/Limits#117
Expected behavior
The admins think that Limits should be able to set the limits via permissions and Upgrades be able to upgrade them. I don't understand how Upgrades work so I don't know if this is possible or not.
I looked at the Upgrade's join listener and it seems that the LimitsPermCheckEvent is canceled if any blocks, entities or entity groups are handled by Upgrades. That means that Limits sets nothing if any one of these is handled. I think it finer grain control is required. I can enhance the event so that you can selectively cancel Blocks/Entities/EntityGroups instead of all three. Would that help?
Description
Describe the bug
It seems that Upgrades cancels the permissions-based limit settings set when a player logs in.
Steps to reproduce the behavior
Please see BentoBoxWorld/Limits#117
Expected behavior
The admins think that Limits should be able to set the limits via permissions and Upgrades be able to upgrade them. I don't understand how Upgrades work so I don't know if this is possible or not.
I looked at the Upgrade's join listener and it seems that the LimitsPermCheckEvent is canceled if any blocks, entities or entity groups are handled by Upgrades. That means that Limits sets nothing if any one of these is handled. I think it finer grain control is required. I can enhance the event so that you can selectively cancel Blocks/Entities/EntityGroups instead of all three. Would that help?