How do I make it so that it executes a command if someone has a certain permission on luckperms

I want to make it switch someone to a certain team if they have a certain permission.
12 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by hecticden#0
Den
DenOP2y ago
It's different
Discount Milk
Discount Milk2y ago
:/
Den
DenOP2y ago
This thread I am asking if a command can be executed based on permissions in luck perms
Discount Milk
Discount Milk2y ago
You're asking the same thing "how do I add somebody to a team if they have a permission node" . Same thing.
Den
DenOP2y ago
No the previous one is a permission to change team, I will just close the last one.
Discount Milk
Discount Milk2y ago
You shouldn't be trying to assign groups based on permission nodes.
Den
DenOP2y ago
What should I do
ProGamingDk
ProGamingDk2y ago
well except for group.(name)
Den
DenOP2y ago
I do not know Sorry I will give more context So players can use chestcommands to change the permission Like There are 2 permissions Red and blue That is responsible for the listing system on 2 teams, not for switching But /team join [team] they had no access to I don't know how to make it so that they can join the team So I had 2 solutions that I both do not know how to execute, therefore I am asking: ------------------------------------------------------------------------------------------- 1st solution being a way to only give permission to change team 2nd solution being a way to assign a team to someone based on permission ------------------------------------------------------------------------------------------- 2nd would be ideal, though it may not be practical. I would apprieciate the help Something like this /execute if [someone has a perm] run [The command] !close
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by hecticden#0

Did you find this page helpful?