Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission checks don't work #3867

Open
CoRoNAviRusNIk opened this issue Mar 29, 2024 · 4 comments
Open

permission checks don't work #3867

CoRoNAviRusNIk opened this issue Mar 29, 2024 · 4 comments
Labels
type: issue The issue identifies a bug/problem with the software.

Comments

@CoRoNAviRusNIk
Copy link

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

@CoRoNAviRusNIk CoRoNAviRusNIk added the type: issue The issue identifies a bug/problem with the software. label Mar 29, 2024
@ImDarkLaw
Copy link

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.

@CoRoNAviRusNIk
Copy link
Author

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

@ImDarkLaw
Copy link

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.

@CoRoNAviRusNIk
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: issue The issue identifies a bug/problem with the software.
Projects
None yet
Development

No branches or pull requests

2 participants