Managing permission groups

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

Nextopi

Member
May 1, 2018
21
0
1
33
I was wondering, if with skript I can check permission groups of a player, and manage it.

I want skript to check, remove and add groups from the player

I think that done via vault, my perm plugin is luckperms, but I cant find how on the docs, I only find for permission ex
 
You need SharpSk for this:

Check for groups of player:
code_language.skript:
[sharpsk] (luckperms|lp) [(all|the)] groups of %player%

Set permissions of a player
code_language.skript:
[sharpsk] (luckperms|lp) set (transient perm[ission]|perm[ission]) %string% to %boolean% for [player] %offlineplayer%

as far as i know you can't add/remove groups of a player, but you can add/remove groups
 
Status
Not open for further replies.