check offline player permission

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

kenkencw

Active Member
Jan 31, 2017
68
0
0
32
Malaysia
www.huskycraftmc.com
how to check offline player has specific permission?
this code not work
code_language.skript:
command /test <offline player>:
    trigger:
        if arg has permission "test":
            message "has permission"
 
code_language.skript:
command /test [<offline player>]:
    trigger:
        arg-1 has permission "test":
            message "has permission"
        else:
            message "nope"
            stop

Try this?
 
This would be possible either using TuSKe's Player Data or by using a permission plugin with offline player support, ex. PowerfulPerms.

But if you only need to check one permission, just set a variable to true or false when the player quits, depending on if he has it.
 
This would be possible either using TuSKe's Player Data or by using a permission plugin with offline player support, ex. PowerfulPerms.

But if you only need to check one permission, just set a variable to true or false when the player quits, depending on if he has it.
whats the codes looks like?
 
This would be possible either using TuSKe's Player Data or by using a permission plugin with offline player support, ex. PowerfulPerms.

But if you only need to check one permission, just set a variable to true or false when the player quits, depending on if he has it.
Or just check it through the database file (or the SQL database if your permission plugin has SQL support and you're using it), it totally depends on what permission plugin you're using.
 
Status
Not open for further replies.