Permission is applying to all players

Just need a little guideance as I think I might be doing something wrong and can't seem to get the permissions to work.

Lets use the miners hat from config.json as an example;

"Miners Hat": {
      "Enabled": false,
      "Use permission": true,
      "Permission": "everlight.hat.miner"
    },

I am trying set it so only a specific user (me) has infinate fuel with the miners hat;
- Conditions are set as per above code.
- User has been granted permission oxide.grant user Elixil3 everlight.hat.miner
- Reloaded plugin oxide.reload "Everlight"
- Fuel is still getting consumed for me


If I set both conditions to true then all users have access to infite fuel the same as if Enabled:True and Use Permission:False.

I must be doing something worng or missing something, please help

Elixil3

Your players may have permissions

I have not given them permissions, they are all assigned to a default group which also do not have the permissions.
I have just doubled checked that the group default has no permissions assigned to it and selected a user to help test this with me and they do not have any permissions.

Reading your comment does both Enabled and Use Permission need to be true or should it work on permission base as per the code in the original post?

"Enabled": true, == this turns the function on or off "Use permission": true, == this turns the permissions function on or off you will need it set to both true for the functions to work how you want
clarksta
"Enabled": true, == this turns the function on or off "Use permission": true, == this turns the permissions function on or off you will need it set to both true for the functions to work how you want

Thanks for clarifing this and I may have found an issue with the miners hat which has been causing me this confussion.

I now have lanterns working by setting both to "true" and applying the permission to a single user.
However Miners Hats if I have both set to "true" and apply the permission to a single user it does not work as intended as everyone gets the infinte fuel. Could someone please test this and confirm?

maybe  try setting the permissions to a group rather than a player :)
Are there any other items that don't work?

Merged post

Try using the latest version
5c18c7da631b5.jpg Arainrr
Are there any other items that don't work?

Merged post

Try using the latest version

Cheers, all working for the miners hat now. Unsure if there are any others that may have broke but will let you know if I come across any.

I think the jack o lanterns don't work when a person has the permission.
lukeyy
I think the jack o lanterns don't work when a person has the permission.

If you use QuickSmelt, it might not work.

Nah i don't
i still have this issue, i don't have QuickSmelt.
Updated. It should be fixed
lukeyy
i still have this issue, i don't have QuickSmelt.
5c18c7da631b5.jpg Arainrr
Updated. It should be fixed
Still not working, i can't light the jack o lanterns.
lukeyy
Still not working, i can't light the jack o lanterns.

You should put a piece of wood