HeroGamers / MyDog

Tamed wolves but at least 10x better
https://www.spigotmc.org/resources/mydog.70260/
MIT License
11 stars 9 forks source link

In 1.20.4, players with mydog.* (or any permissions) have reached their dog limit #112

Closed DannyJacoby closed 6 months ago

DannyJacoby commented 7 months ago

Type of bug

Error in console, Other unexpected behaviour

Error log (if applicable)

No response

Bug description

Hi there, hopefully this gets to someone, but I'm having some problems with this plugin and I would really appreciate some advice. Everyone is unable to tame wolves. It looks like I can tame wolves, but I don't have any different MyDog permission's then the other users. All they get when trying to tame a wolf is an error stating that their dog limit has been reached. Is there a way I can turn off dog limits, or possibly increase theirs to 1000+? Thank you in advance for your help with this!

Steps to reproduce

  1. Be a user
  2. tame a wolf
  3. receive error

Expected behaviour

The wolf should be tamed and claimed

Actual behaviour

Error says: "You've reached your dog limit"

HeroGamers commented 6 months ago

Hi there, sorry for the late reply!

The code for checking dog limits first checks if a player is an operator - in which case it allows the taming.

For everyone else, it checks if you HAVE a mydog.limit.x permission set. Depending on how your permissions plugin works, you might have given everyone the mydog.limit.0 permission - so you could give everyone the negative permission mydog.limit.*, which should fix it.

Otherwise, please do post a log here with debug turned on, then I should be able to see what goes wrong. And also the permissions config, if possible.