Permissions help

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

Jeroeno_Boy

Active Member
Jun 2, 2017
61
2
8
24
How can i get a value from permissions like this:

code_language.skript:
maxHomes.<value>
 
You can get a list of all player's permissions using %player%'s permissions (SkQuery)

There you can set a list variable to that expression and loop that variable. If the permission contains "maxHomes" split the text at "." and get the second part, that will be the number of homes.
 
Status
Not open for further replies.