A player that attempts to access one of their owned locked entities is met with "NoPerms" when they lack the PermUnlock permission, yet they are still able to access the locked entity. PermUnlock should be ignored when a player is accessing their own locked entities.
Improper Handling with CanUseLockedEntityNot An Issue
The code first checks if a player is in vanish and then it checks if they have perms to access locked entities. Unless players are vanished they shouldn't be affected by the code.
The plugin isn't stopping a player from accessing their own locked entity, however, it's still broadcasting a message saying the player has no permission even though they can still access the container. It's not a debilitating bug, just a simple QoL fix that could be made so players are not annoyed by receiving a message that does not apply to them.
Edit: I made a short video demonstrating what I'm explaining.
Triax
The plugin isn't stopping a player from accessing their own locked entity, however, it's still broadcasting a message saying the player has no permission even though they can still access the container. It's not a debilitating bug, just a simple QoL fix that could be made so players are not annoyed by receiving a message that does not apply to them.
Edit: I made a short video demonstrating what I'm explaining.
Yes so this only happens when a Vanished player tries to use their own code lock without the bypass perms... nothing to do with normal players. Honestly I dont see a big reason for vanished players to be running around on a server using only their own code locks. The hook handles correctly its more so that there is a chat message to indicate you dont have vanish codelock perms but your own perms over-ride that. If its that important to you I can just remove the chat message all together in the next update.
Whispers88
Yes so this only happens when a Vanished player tries to use their own code lock without the bypass perms... nothing to do with normal players. Honestly I dont see a big reason for vanished players to be running around on a server using only their own code locks. The hook handles correctly its more so that there is a chat message to indicate you dont have vanish codelock perms but your own perms over-ride that. If its that important to you I can just remove the chat message all together in the next update.
It's not bothersome, vanished players on my server won't be able to play the server anyways.. Was just pointing it out in case you wanted to patch it.
Locked automatically