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 out 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.

SkQuery Permissions

Discussion in 'Skript' started by Mr_pro68YT, Aug 15, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. Mr_pro68YT

    Mr_pro68YT New Member

    Joined:
    Jul 4, 2020
    Messages:
    9
    Likes Received:
    0
    I heard there was a permission manager in skQuery but it isn't working. I get these errors.
    Capture.JPG

    Code:

    Code (Text):
    1. script options:
    2.     $ use permissions
    3. options:
    4.     noperm: &f&l<&c&l!&f&l> &7No Permission! &f&l<&c&l!&f&l>
    5.  
    6. command perm [<player>] [<text>] [<text>]:
    7.     permission: skript.admin
    8.     permission message: "{@noperm}"
    9.     trigger:
    10.         if arg-1 isn't set:
    11.             if arg-2 is set:
    12.                 if arg-2 is "add" or "give":
    13.                     if arg-3 is set:
    14.                         add arg-3 to permissions of player
    15.                 else if arg-2 is "take" or "remove":
    16.                     if arg-3 is set:
    17.                         remove arg-3 from permissions of player
    18.         if arg-1 is set:
    19.             if arg-2 is set:
    20.                 if arg-2 is "add" or "give":
    21.                     if arg-3 is set:
    22.                         add arg-3 to permission of arg-1
    23.                 else if arg-2 is "take" or "remove":
    24.                     if arg-3 is set:
    25.                         remove arg-3 from permission of arg-1
     
Thread Status:
Not open for further replies.

Share This Page

Loading...