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
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
You already asked this.
https://discord.com/channels/348681414260293634/1127927440518430811
It's different
:/
This thread I am asking if a command can be executed based on permissions in luck perms
You're asking the same thing
"how do I add somebody to a team if they have a permission node"
.
Same thing.
No the previous one is a permission to change team, I will just close the last one.
You shouldn't be trying to assign groups based on permission nodes.
What should I do
well except for group.(name)
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
post closed!
The post/thread has been closed!
Requested by hecticden#0