RockinChaos / ItemJoin

Get custom items on join.
https://www.craftationgaming.com/
GNU Lesser General Public License v3.0
141 stars 36 forks source link

Permission Node Bug #566

Closed KhrysAK47 closed 11 months ago

KhrysAK47 commented 11 months ago

Server Version

1.17.1

Resource Version

6.0.3-RELEASE-b18

Dump Information

https://pastebin.com/Dv4kdzkQ

Describe The Bug

Players get join items with the permisison node denied.

Expected Behavior

Players should not get join items with the permisison node denied.

Steps To Reproduce

  1. Assign a permission to an item and a trigger of join.
  2. Deny that permission (LuckPerms)
  3. Remove the item from inventory
  4. Rejoin

Additional Info

No response

Checklist

RockinChaos commented 11 months ago

You don't have permissions enabled in your config.yml.

Permissions.Obtain-Item & Permissions.Obtain-Item-OP

KhrysAK47 commented 11 months ago

You don't have permissions enabled in your config.yml.

Permissions.Obtain-Item & Permissions.Obtain-Item-OP

Just tested with those settings changed, items still appear after joining.

RockinChaos commented 11 months ago

You don't have permissions enabled in your config.yml. Permissions.Obtain-Item & Permissions.Obtain-Item-OP

Just tested with those settings changed, items still appear after joining.

Likely a configuration issue somewhere with your permissions.

As long as you set those two to true, I tested using your exact configs and it functions properly.

You can verify your permissions via /itemjoin permissions 2 they should be RED when disabled. Furthermore be sure you cleared the previous items from your inventory as simply changing permissions doesn't remove them automagically.

KhrysAK47 commented 11 months ago

Fixed.