Aller au contenu
  • 0

Question

Posté(e)

Bonjour, j'ai un code de tablist:

 

options:
   TabListHaut: "&l&1CrozBlock"
   TabListBas: "&6Rendez-vous sur le &4site &2www.Crozblock.net"
   prefix: &l&3[ProtectoServ]

on join:
   execute console command "/tablist reload"

on quit:
   execute console command "/tablist reload"

on kick:
   execute console command "/tablist reload"

every 5 tick:
   execute console command "/tablist reload"

command /tablist reload:
   executable by: console and player
   permission: tablist.sk
   permission message: {@prefix} &r&4You don't have permission to use this command!
   trigger:   
       loop all players:
           set tab header to {@TabListHaut} and footer to {@TabListBas} for loop-players
           if {grade.staff.%uuid of loop-player%} is set:
               if {grade.staff.%uuid of loop-player%} is "&l&4Administrator":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&2Chief Moderator":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&1Chief Builder":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&aSuper Moderator":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&8Moderator":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&9Builder":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&6Animator":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"
               else if {grade.staff.%uuid of loop-players%} is "&l&4You&l&ftuber":
                   set loop-player tab name to "%{grade.staff.%uuid of loop-player%}% %loop-player%"   
               else if {grade.staff.%uuid of loop-players%} is "&4unrank":
                   set loop-player tab name to "%{grade.%uuid of loop-player%}% %loop-player%"                       
           else if {grade.staff.%uuid of loop-players%} is not set:
               set loop-player tab name to "%{grade.%uuid of loop-player%}% %loop-player%"

 

Mais mon problème est que je n'arrive pas a faire en sorte que la tablist soit pour 1 seul monde (ex: les joueur du world 1 soi afficher quand dans la tablist de world 1 et non de tout les mondes.)

4 réponses à cette question

Messages recommandés

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.