1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved How to add a permission to a custom command

Discussion in 'Skript' started by TechyGaming, Sep 22, 2019.

Thread Status:
Not open for further replies.
  1. TechyGaming

    TechyGaming Member

    Joined:
    Sep 22, 2019
    Messages:
    1
    Likes Received:
    0
    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.

    --- Double Post Merged, Sep 22, 2019, Original Post Date: Sep 22, 2019 ---
    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!
     
Thread Status:
Not open for further replies.
Loading...