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

How to assign rights and prefixes of rights #20

Closed
Itsporo opened this issue Jul 3, 2024 · 2 comments
Closed

How to assign rights and prefixes of rights #20

Itsporo opened this issue Jul 3, 2024 · 2 comments

Comments

@Itsporo
Copy link

Itsporo commented Jul 3, 2024

I'm using luckperms to assign permissions, but when I turn off CommandPermissionModule, I can't assign permissions in the fuji. style for each command. Enabling this module adds a prefix to all other commands. Is there any way to fix this?

@sakurawald
Copy link
Owner

sakurawald commented Jul 3, 2024

Enable command permission module should not conflict with luckperms.

For example, the /seed command provided by mojang requires no permission (/seed requires the player to be op).
If you add a permission fuji.seed for the group default, thne it means /seed command now required the permission fuji.seed for the players inside group default to use.

Or in other words. command permission module is used to override the requirement of command node. You can issue /lp user <player> permission set fuji.seed true for a player, so that he can use the command /seed.
And issue /lp user <player> permission set fuji.seed false so that the player can't use /seed command.
Or you just unset the override by issuing /lp user <player> permission unset fuji.seed, then everything is back to the normal.

The command /seed provided by mojang is only available for op player. Let's say you want to let some normal player use /seed command, but you don't want to grant op for them. Then you can issue /lp group default permission set fuji.seed true for them.

@Itsporo
Copy link
Author

Itsporo commented Jul 4, 2024

ok, thanks

Enable command permission module should not conflict with luckperms.

For example, the /seed command provided by mojang requires no permission (/seed requires the player to be op). If you add a permission fuji.seed for the group default, thne it means /seed command now required the permission fuji.seed for the players inside group default to use.

Or in other words. command permission module is used to override the requirement of command node. You can issue /lp user <player> permission set fuji.seed true for a player, so that he can use the command /seed. And issue /lp user <player> permission set fuji.seed false so that the player can't use /seed command. Or you just unset the override by issuing /lp user <player> permission unset fuji.seed, then everything is back to the normal.

The command /seed provided by mojang is only available for op player. Let's say you want to let some normal player use /seed command, but you don't want to grant op for them. Then you can issue /lp group default permission set fuji.seed true for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants