Sorted Tablist with Skript

Discussion in 'Skript' started by StalkyCreeper, May 13, 2017.

  1. Hello,

    Can anyone help me coding a sorted tablist? I don't know if this is even possible...

    Thanks for your help!

    1. Owner
    2. Admin
    3. Moderator
    4. Supporter
    5. Builder
    6. Youtuber
    7. JrYoutuber
    8. Premium
    9. Spieler
     
  2. Just create more than one loop or something such as that.
     
  3. Same issue for me, i want to do the exact same thing.
     
  4. Create a nametag for each player and add a colour in alphabetical order

    If a player has a owner tag give them this as their prefix:
    &a&r
    if a player has a admin tag give them this as their prefix:
    &b&r
    and so on
    &c&r
    &d&r
    &e&r
    &f&r

    Minecraft will sort it alphabetically starting from a to z.

    You can also use 1 to 9 in lettering.
     
    • Useful Useful x 1
  5. Or just have it sync with a permissions plugin?
     
    • Optimistic Optimistic x 2
  6. For tab sorting?
     
  7. Tab list is sorted 0-9 A-Z a-z (1.8 and onwards), so you'll need to create teams for all the groups, names would be 0owner, 1admin, 2moderator etc and add them to the groups to sort them.
     
    • Agree Agree x 1
  8. Sorry read that wrong.
     
    • Funny Funny x 1