Bonjour comme dit dans le titre si ca vous dérange pas j'aimerais que vous jetiez un oeil à mon skript et résoudre les erreurs ou l'optimiser :) merci beaucoup
options:
tabHeader: "&5Bienvenue sur &d%server name% %nl% %nl%&6&m----------------------%nl%"
tabFooter: "%nl%&6&m----------------------&r%nl%%nl%&dSite &7> &5<site> &4&m--&r &DTS &7> &5<ts>"
refreshLog: "&dRaffraichissement des tabLists terminé avec succès."
refreshNotif: "&dRaffraichissement des tabLists terminé avec succès."
On Skript Start:
execute console command "/tablist reload"
on join:
execute console command "/tablist reload"
on join:
if player has permission "tab.admin":
wait 1 ticks
set the player's tablist name to "&2A ◆ &a%player%"
if player has permission "tab.habitant":
wait 1 ticks
set the player's tablist name to "&3H ◆ &f%player%"
if player has permission "tab.paysan":
wait 1 ticks
set the player's tablist name to "&eP ◆ &f%player%"
if player has permission "tab.berger":
wait 1 ticks
set the player's tablist name to "&9B ◆ &f%player%"
if player has permission "tab.villageois":
wait 1 ticks
set the player's tablist name to "&aV ◆ &f%player%"
if player has permission "tab.ecuyer":
wait 1 ticks
set the player's tablist name to "&6E ◆ &f%player%"
if player has permission "tab.chevalier":
wait 1 ticks
set the player's tablist name to "&2C ◆ &f%player%"
if player has permission "tab.conquerant":
wait 1 ticks
set the player's tablist name to "&1C ◆ &f%player%"
if player has permission "tab.legendaire":
wait 1 ticks
set the player's tablist name to "&5L ◆ &f%player%"
if player has permission "tab.roi":
wait 1 ticks
set the player's tablist name to "&dR ◆ &f%player%"
if player has permission "tab.maitre":
wait 1 ticks
set the player's tablist name to "&8M ◆ &f%player%"
if player has permission "tab.divin":
wait 1 ticks
set the player's tablist name to "&cD ◆ &f%player%"
if player has permission "tab.supreme":
wait 1 ticks
set the player's tablist name to "&4S ◆ &f%player%"
if player has permission "tab.fondateur":
wait 1 ticks
set the player's tablist name to "&4F ◆ &c%player%"
if player has permission "tab.modo":
wait 1 ticks
set the player's tablist name to "&6M ◆ &e%player%"
if player has permission "tab.buildeur":
wait 1 ticks
set the player's tablist name to "&fB ◆ &b%player%"
if player has permission "tab.buildeuse":
wait 1 ticks
set the player's tablist name to "&fB ◆ &d%player%"
On Quit:
execute console command "/tablist reload"
command /tablist reload:
description: Raffraichis la tablist (n'inclus pas les prefix de grades).
permission: tablist.sk
executable by: console and players
trigger:
loop all players:
set tab header to {@tabHeader} and footer to {@tabFooter} for loop-player
wait 1 tick
log {@refreshLog}
if command sender is not console:
message {@refreshNotif} to the command sender
command /afk:
trigger:
set the player's tablist name to "&bAFK &7%player%"
if {afk.%player%} is not set:
set {afk.%player%} to true
broadcast "&9☯ &5%player% &9✦&d est AFK"
else:
delete {afk.%player%}
broadcast "&9☯ &5%player%&9 ✦ &dest plus AFK"
if player has permission "tab.habitant":
set the player's tablist name to "&3H ◆ &f%player%"
if player has permission "tab.modo":
set the player's tablist name to "&6M ◆ &e%player%"
if player has permission "tab.paysan":
set the player's tablist name to "&eP ◆ &f%player%"
if player has permission "tab.berger":
set the player's tablist name to "&9B ◆ &f%player%"
if player has permission "tab.villageois":
set the player's tablist name to "&aV ◆ &f%player%"
if player has permission "tab.ecuyer":
set the player's tablist name to "&6E ◆ &f%player%"
if player has permission "tab.chevalier":
set the player's tablist name to "&2C ◆ &f%player%"
if player has permission "tab.conquerant":
set the player's tablist name to "&1C ◆ &f%player%"
if player has permission "tab.legendaire":
set the player's tablist name to "&5L ◆ &f%player%"
if player has permission "tab.roi":
set the player's tablist name to "&dR ◆ &f%player%"
if player has permission "tab.maitre":
set the player's tablist name to "&8M ◆ &f%player%"
if player has permission "tab.divin":
set the player's tablist name to "&cD ◆ &f%player%"
if player has permission "tab.supreme":
set the player's tablist name to "&4S ◆ &f%player%"
if player has permission "tab.fondateur":
set the player's tablist name to "&4F ◆ &c%player%"
if player has permission "tab.buildeur":
set the player's tablist name to "&fB ◆ &b%player%"
if player has permission "tab.buildeuse":
set the player's tablist name to "&fB ◆ &d%player%"
if player has permission "tab.admin":
set the player's tablist name to "&2A ◆ &a%player%"
on any movement:
delete {afk.%player%}
wait 1 seconds
if player has permission "tab.admin":
set the player's tablist name to "&2A ◆ &a%player%"
if player has permission "tab.habitant":
set the player's tablist name to "&3H ◆ &f%player%"
if player has permission "tab.modo":
set the player's tablist name to "&6M ◆ &e%player%"
if player has permission "tab.paysan":
set the player's tablist name to "&eP ◆ &f%player%"
if player has permission "tab.berger":
set the player's tablist name to "&9B ◆ &f%player%"
if player has permission "tab.villageois":
set the player's tablist name to "&aV ◆ &f%player%"
if player has permission "tab.ecuyer":
set the player's tablist name to "&6E ◆ &f%player%"
if player has permission "tab.chevalier":
set the player's tablist name to "&2C ◆ &f%player%"
if player has permission "tab.conquerant":
set the player's tablist name to "&1C ◆ &f%player%"
if player has permission "tab.legendaire":
set the player's tablist name to "&5L ◆ &f%player%"
if player has permission "tab.roi":
set the player's tablist name to "&dR ◆ &f%player%"
if player has permission "tab.maitre":
set the player's tablist name to "&8M ◆ &f%player%"
if player has permission "tab.divin":
set the player's tablist name to "&cD ◆ &f%player%"
if player has permission "tab.supreme":
set the player's tablist name to "&4S ◆ &f%player%"
if player has permission "tab.fondateur":
set the player's tablist name to "&4F ◆ &c%player%"
if player has permission "tab.buildeur":
set the player's tablist name to "&fB ◆ &b%player%"
if player has permission "tab.buildeuse":
set the player's tablist name to "&fB ◆ &d%player%"
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.
Question
Sokrax
Bonjour comme dit dans le titre si ca vous dérange pas j'aimerais que vous jetiez un oeil à mon skript et résoudre les erreurs ou l'optimiser :) merci beaucoup
15 réponses à cette question
Messages recommandés