-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with Limits permission settings #40
Comments
I think the issue is that people want something different, than Upgrades offers. They want them to work together... for the same items. Basically, they want that Upgrades increases the value for/after permission. F.E. Upgrades allow buying extra 10 blocks. |
Yep, that's a known issue #29. I need to block limits permission as each time a player log in, it resets his island's limits. I thought about making them stackeable with the help of BentoBoxWorld/Limits#113 however, I need to make something to simulate the result. |
Well, if you remove the permission check, then you need to process it yourself. A fast fix would be that you disable permission check but process it in your code, and add a limit according to the maximal value between permission value and purchased limit. |
The thing is, in this addon, I had the beautiful idea of not saving what was changed so without making a simulation I don't know how much I changed the value. |
Hi :d i have the same bug, it will be fixed in next updates? |
It will take a while. First I need to do #37 |
Okey please tag me when it's fixed! |
What is the latest status? @tastybento @Guillaume-Lebegue |
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?
The text was updated successfully, but these errors were encountered: