Solved How to add a permission to a custom command

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

TechyGaming

Member
Sep 22, 2019
3
0
0
24
Hi,
On my server, I have been working on a custom command that broadcasts a message to all players saying that there is an event running.

I have setup the command and from what i understand it should work but i want the command to only be usable by a player that either has the permission "event.start" on luckperms or is opped.

Thanks.

[doublepost=1569150940,1569150524][/doublepost]Turns out i'm just an idiot and all you need to do is add "permission: event.start" above trigger!
Sorry to start an unnecessary thread!
 
Status
Not open for further replies.