
Set User Group Based on Permission
Closed this issue ยท 3 comments
Hi there!
I would like to know if there is a way to give my players a specific command and only that command. The command would just add a player to a group.
For example, when people join my server they go into the Default group. The default group literally can't do anything (to prevent griefing). I want to make a command alias (/trust ) that will assign them to a "Trusted" group; but I don't want the players to be able to use all LP commands for assigning groups, only one.
I hope I explained it good enough. Feel free to tell me if it doesn't make sense! Thanks!
Yes you can.
https://github.com/lucko/LuckPerms/wiki/Argument-based-command-permissions
However, I would suggest the easier way is to have the aliased command executed by the console.
Thanks for the reply. May I ask very briefly what I would put in the commands.yml to make the command run as console?
If not don't worry. Thank you!