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 Smug_Arachnid, Jul 17, 2020.

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

    Smug_Arachnid Member

    Joined:
    Jul 17, 2020
    Messages:
    1
    Likes Received:
    0
    I am trying to make it so when you do /mkit (class) it clears your inventory, gives you the class permission, makes you execute the kit command, tells you the kit message and then promptly removes the message. In the middle of the skripting process before I added most of the effects I tried making it so it gives you the permission but it says "permissions of the player can't have anything added to it". I have the latest version of LuckPerms, Skript, and SkQuery installed.
    script options:
    $ use permissions

    command /mkit <text>:
    trigger:
    if arg 1 is "brute":
    add "greatkits.kits.Brute" to player's permissions
    message "<orange>Equipped kit Brute"

    upload_2020-7-17_11-41-42.png
     
Thread Status:
Not open for further replies.

Share This Page

Loading...