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.

tablist in order by ranks

Discussion in 'Skript' started by medivh, Jun 13, 2019.

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

    medivh Active Member

    Joined:
    Jan 28, 2017
    Messages:
    40
    Likes Received:
    0
    I had tried some old posts where in forum but doesnt know how start to do a tablist in order by ranks
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    395
    Likes Received:
    13
    If you have the PermissionsEx or LuckPerms plugin installed, you only need to do the following:
    Code (Java):
    1.  
    2. 1. Go to your server and execute this commands:
    3. /pex group (rank) set rank (number)
    4.  
    The larger the number, the lower it will go from the tablist. Here I will give an example:
    Code (Java):
    1.  
    2. /pex group owner set rank 1
    3. /pex group admin set rank 2
    4. /pex group mod set rank 10
    5. /pex group tmod set rank 20
    6. /pex group builder set rank 30
    7. /pex group MVP set rank 100
    8. /pex group VIP set rank 110
    9. /pex group User set rank 200
     
  3. m

    medivh Active Member

    Joined:
    Jan 28, 2017
    Messages:
    40
    Likes Received:
    0
    I want one by skript not with another plugins.
    I doesnt use any other plugins beyond skript.
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    1,945
    Likes Received:
    133
    If you use no other plugins beyond Skript, then its not possible.
    You will need to use something like skript-mirror.

    Also, not to sound to rude, but its borderline stupid to not use a permission plugin, since theres no proper way to handle permissions in Skript without a permission plugin.

    IF you want to give me some BS story that SkQuery has a permission system, that's bogus. Yes, it has a permission system. Is it good? GOD NO, its terrible and should not be used. Its unreliable and faulty.
     
  5. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    395
    Likes Received:
    13
    Mmm, it may seem a shabby way but when examining minecraft and spigot, they sort in numbers, then try this:
    Code (Skript):
    1.  
    2. every 5 seconds:
    3.     loop all players:
    4.         if {ranks::owner::*} contains loop-player:
    5.             set loop-player tab name to "&1&r%{owner.%loop-player%}% %loop-player%"
    6.         if {ranks::admin::*} contains loop-player:
    7.             set loop-player tab name to "&2&r%{admin.%loop-player%}% %loop-player%"
    8.         if {ranks::mod::*} contains loop-player:
    9.             set loop-player tab name to "&3&r%{mod.%loop-player%}% %loop-player%"
    10.         if {ranks::tmod::*} contains loop-player:
    11.             set loop-player tab name to "&4&r%{tmod.%loop-player%}% %loop-player%"
    I can not think of another way, and I do not know if this works, but try.
     
  6. m

    medivh Active Member

    Joined:
    Jan 28, 2017
    Messages:
    40
    Likes Received:
    0
    I use a own permission system what i had created with skript.
    Im using addons too, when i reffered im using only skript its skript + addons
     
  7. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    385
    Likes Received:
    20
    Use a permissions plugin.
     
  8. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    105
    Likes Received:
    5
    Well, I make one :emoji_wink:
     
Thread Status:
Not open for further replies.
Loading...