Closed mrfloris closed 1 year ago
Players definitely should not be able to breed to bypass limits. Ops can, and mods with the [gamemode].mod.bypass
perm can. So, if this is happening then it is a bug. I'll have to test to confirm, but the very purpose of Limits is to prevent over breeding...
That's what I assumed, but we started to notice.. i just checked for the perm, they return false and don't have it wildcarded.
All seems to work. I've got the default 10 chicken limit and made sure I wasn't Op and then gave them seeds. They showed hearts but when they tried to mate, nothing happened and the error was shown.
Thank you for confirming, then we know it's on my end, will review perms and check against docs if I use the right one etc.
@tastybento uuhm, i checks docs.bbox and can't find mod.bypass at all, I see mentions of gametype mod.bypass[TYPE], but none are related to breeding to limits ? and the limits page doesn't have the word bypass in the perms at all.
Can you perhaps link me?
It was missing in the docs. I updated them: https://docs.bentobox.world/en/latest/addons/Limits/#permissions
Is your feature request related to a problem?
Yes, players can bypass limits by breeding mobs.
Describe the solution you'd like.
A config.yml setting that is false by default, so it doesn't change existing servers, but server owners who want to prevent breeding bypass to be able to set this to true.
Describe alternatives you've considered.
n/a
Agreements
Other
Tested this as operator, staff and as player. We noticed players figured out they could breed to bypass limits. Can't find permissions or config.yml setting for it, so I don't assume this is a bug but maybe an oversight or just technically not possible? So requesting it as a feature, thank you for considering.