LuckPerms

LuckPerms

41.4k Downloads

permission checks don't work

CoRoNAviRusNIk opened this issue · 4 comments

commented

Description

Permission checks do not work for me, not with any plugins, but luckperms itself works fine. In the same deluxemenus or mycommand. Previously, for some reason, everything worked, and then suddenly everything stopped working.

Let's say in deluxemenus in view_requirement, when I create a check for permissions, item is simply not shown, but when I create another check, say for money, then everything is fine. In mycommand it’s the same.

I couldn’t find a solution anywhere, I updated everything, rolled it back, changed it, reinstalled it, nothing helps

Reproduction Steps

I want everything to work

Expected Behaviour

I want everything to work

Server Details

git-Purpur-2095 (MC: 1.20.2)

LuckPerms Version

5.4.121

Logs and Configs

No response

Extra Details

No response

commented

Please fill out all fields and provide adequate information. Your current description fails to provide clear details about the issue you're facing and how it's LuckPerms related.

commented

Please fill out all fields and provide adequate information. Your current description fails to provide clear details about the issue you're facing and how it's LuckPerms related.

I don’t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

commented

I don’t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

I'm still having a difficult time trying to understand this issue and the information provided remains vague and lacks details. Please, refer to my initial message above and provide more and clear information about the issue you're experiencing.

commented

I don’t even have anything in the console, where can I get information from, nothing just works for me, no matter what I try, everything I know, I wrote

I'm still having a difficult time trying to understand this issue and the information provided remains vague and lacks details. Please, refer to my initial message above and provide more and clear information about the issue you're experiencing.

Plugins like deluxmenus have checks for whether the player has permission, and for some reason when it comes to checking permission, the menu does not open, if there is no such check, then the menu opens. The same is with the check on an item; it will not be displayed if there is a permission check for display there. I'm pretty sure it's because of LuckPerms.
In deluxmenus this is “view_requirement”, if the requirements include a check for permission, it simply won’t work, if there is some kind of check for balance, then everything works, which means it’s a permission issue. If there are two items in the menu, and one has a permission check and the other does not, then only the second one will be displayed. Nothing is displayed in the console, it just doesn’t work and that’s it.
The same goes for other plugins. The same MyCommand, there is a permission check, if there is a check, then the command simply will not work.