Tablist

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

xXSwainXx

Active Member
Jan 27, 2017
55
5
8
Hey Guys,

It's posible to create a tablist like this:

Screenshot_23.png


Mean to sort the player's with there rank.


PLS. HELP!
 
  • Like
Reactions: StretchPvP
Please search before ask:
Por favor hablen en ingles o tradúzcanlo como yo lo hice ahora. Ahora, con respecto a tu problema, lo que tienes que hacer es crear diferentes teams con los scoreboards, añadir a los jugadores y ponerles un prefijo, por ejemplo:
Code:
1Owner
2Admin
3Mod
etc

Please talk on English or translate it like I did now. Now, regarding your issue, what you need do is create different teams with the scoreboards, add the players to it and put a prefix to their name, for example:
Code:
1Owner
2Admin
3Mod
etc
And no, I'll not give any code, I don't like to spoonfeed and I'm on phone now.
 
  • Like
Reactions: BrettPlayMC
This is not the tablist
No but the teams are sorted on the tablist alphabetically or numerically, so if someone is in a team named 1 it will put them at the very top of the tablist, people in team named 2 will be below all the players in team 1 and so on
 
Aaaa ok, can you sand an skript???
Here is a brief example, you need to edit it to make it work with whatever groups you have on your server
code_language.skript:
on script load:
  execute console command "scoreboard teams create 1Owner"
  execute console command "scoreboard teams create 2Admin"
  execute console command "scoreboard teams create 3Mod"
  execute console command "scoreboard teams create 4Member"
  execute console command "scoreboard teams create 5Guest"
on script unload:
  execute console command "scoreboard teams empty 1Owner"
  execute console command "scoreboard teams empty 2Admin"
  execute console command "scoreboard teams empty 3Mod"
  execute console command "scoreboard teams empty 4Member"
  execute console command "scoreboard teams empty 5Guest"
on join:
  if player has permission "owner":
    execute console command "scoreboard teams join 1Owner %player%"
  else if player has permission "admin":
    execute console command "scoreboard teams join 2Admin %player%"
  else if player has permission "mod":
    execute console command "scoreboard teams join 3Mod %player%"
  else if player has permission "member":
    execute console command "scoreboard teams join 4Member %player%"
  else if player has permission "guest":
    execute console command "scoreboard teams join 5Guest %player%"
 
The Scoreboard does not work :emoji_frowning:
If you are trying to use this method, you cannot have scoreboards or nametags because they interfere, those features create and make a player join their own scoreboard team and the problem is that a player can only be in one scoreboard team at a time
 
Status
Not open for further replies.