SKQuery & Permissions

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

Smug_Arachnid

Member
Jul 17, 2020
1
0
0
113
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
 
Status
Not open for further replies.