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

How to check pex rank

Discussion in 'Skript' started by Zea, Dec 28, 2017.

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

    Zea Member

    Joined:
    Oct 4, 2017
    Messages:
    4
    Likes Received:
    0
    Hello, I am very new to skript and I need some help!
    I want to know if there is a way to check the permissionsex rank of a player, if so: can I do it without addons, and if not, what addons do I need.

    Code (Skript):
    1.  
    2. command /player [<offline player>]
    3.     description: brings up a GUI with all the player information and stats
    4.     trigger:
    5.         if player has permission "zea.playerinfo"
    6.             message "&7[]------------{&c&l{arg-1}}------------[]"
    7.             message "&7&lWarns: &c&l{warn.current.%arg-1%}/3:{history.warnings.%arg-1%}"
    8.             message ""
    9.             message "&7Rank: "
    10.             message "&7[]------------{&c&l{arg-1}}------------[]"
    11.         else:
    12.             message "{@lackPerm}"
    13.  
    Skript Version: Skript 2.2 (dev20c)
    Skript Author: Bensku
    Minecraft Version: 1.8-1.12
     
  2. ChisleLP

    ChisleLP Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    789
    Likes Received:
    59
  3. Wynnevir

    Wynnevir Well-Known Member

    Joined:
    Jul 9, 2017
    Messages:
    974
    Likes Received:
    57
    You can check their prefix and suffix, Though it requires SkAction
     
  4. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    Code (Skript):
    1. "%colored player's prefix%"
    pex+vault.
     
  5. Zea

    Zea Member

    Joined:
    Oct 4, 2017
    Messages:
    4
    Likes Received:
    0
    haha, sry guys, checking the docs just completely went over my head xD, thanks for reminding me.

    Do you guys recommend skAction or sharpSk?
     
  6. noftaly

    noftaly Member

    Joined:
    Feb 19, 2017
    Messages:
    13
    Likes Received:
    0
    I recommand SharpSK because SkAction is abandonned :emoji_slight_smile:
    (This is only my opinion)
     
    #7 noftaly, Dec 30, 2017
    Last edited: Dec 31, 2017
    • Informative Informative x 1
  7. Zea

    Zea Member

    Joined:
    Oct 4, 2017
    Messages:
    4
    Likes Received:
    0
    Thanks!
    Now I just have to learn it :emoji_cold_sweat: xD
     
    • Funny Funny x 1
Thread Status:
Not open for further replies.
Loading...