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

Sorting Tab

Discussion in 'Skript' started by CorruptedVeit, Feb 13, 2017.

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

    CorruptedVeit Member

    Joined:
    Jan 26, 2017
    Messages:
    5
    Likes Received:
    0
    Skript Version:2-2 Fixes V9
    Skript Author:Njol
    Minecraft Version: 1.8.8

    ---
    How i can sort the Tab I know I can make it with teams but i don't know how i can made it :emoji_grinning:
    Can anyone helpf me to sort the Tab with this Code?
    Full Code:
    Code (Skript):
    1.  
    2. on Join:
    3.     if player's prefix contains "Admin":
    4.         set player tab name to "&4Admin &8&7%player%"
    5.         set player's tag to "&4Admin &8&7"
    6.         stop
    7.     if player's prefix contains "Dev":
    8.         set player tab name to "&bDev &8&7%player%"
    9.         set player's tag to "&bDev &8&7"
    10.         stop
    11.     if player's prefix contains "Mod":
    12.         set player tab name to "&9Mod &8&7%player%"
    13.         set player's tag to "&9Mod &8&7"
    14.         stop
    15.     if player's prefix contains "Supp":
    16.         set player tab name to "&aSupp &8&7%player%"
    17.         set player's tag to "&aSupp &8&7"
    18.         stop
    19.     if player's prefix contains "Builder":
    20.         set player tab name to "&eBuilder &8&7%player%"
    21.         set player's tag to "&eBuilder &8&7"
    22.         stop
    23.     if player's prefix contains "YouTuber":
    24.         set player tab name to "&5%player%"
    25.         set player's tag to "&5"
    26.         stop
    27.     if player's prefix contains "+":
    28.         set player tab name to "&6%player% &8[&2+&8]"
    29.         set player's tag to "&6"
    30.         stop
    31.     if player's prefix contains "Premium":
    32.         set player tab name to "&6%player%"
    33.         set player's tag to "&6"
    34.         stop
    35.     if player's prefix contains "Team":
    36.         set player tab name to "&cTeam-L &8&7%player%"
    37.         set player's tag to "&cTeam-L &8&7"
    38.         stop
    39.     if player's prefix contains "Spieler":
    40.         set player tab name to "&7%player%"
    41.         set player's tag to "&7"  
    42.  
    Errors on Reload:

    Code (Skript):
    1. Non Error
    Console Errors: (if applicable)

    Code (Skript):
    1. Non Errors seen
    Troubleshooting:

    Have you tried searching the docs? Yes
    Have you tried searching the forums? Yes
     
Thread Status:
Not open for further replies.

Share This Page

Loading...