Aller au contenu
  • 0

SCOREBOARD (indentation error)


Question

Posté(e)

Bonjour, bonsoir

 

Aujourd'hui j'ai voulu créer un Scoreboard en fonction du grade sur le serveur avec les permissions (vous allez vite comprendre), et j'ai fait ceci pour chaque grade...le probleme est quand je reload j'ai 170 errors (avec des tabulations "expected 0 tabs, but found 2 tabs"), ils disent que je doit en avoir Zero et j'en suis sur qu'il en faut.

 

Je vous remercie d'avance pour votre aide !

(coter des addons j'ai tous logiquement)

 

Voici les ressources :

[spoiler=SKRIPT]

#MEMO :

#- NOM DU SERVUER
#- ESPACE
#- RANG
#- ARGENT
#- LEVEL (en fonction du temps de la connection sur le serveur)
#- ESPACE
#- REWARD TROUVER
#- ESPACE
#- NOMBRE DE JOUEUR


every 10 second:
   make all players execute command "/los.scoreboard"

command /los.scoreboard
   permission: los.scoreboard
   permission message: &c&lSi ce message s'affiche toutes les minutes merci de prévenir un Administrateur !
   trigger:
       if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &c&lOwner" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player is "XTReMxLogik":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &c&lCo-Owner" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar           

       else if player has permission "chat.builder":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &2Builder" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

       else if player has permission "chat.buildertest":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &7[TEST] &2Builder" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

       else if player has permission "chat.dev":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &bDéveloppeur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

       else if player has permission "chat.devtest":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &7[TEST] &bDéveloppeur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

       else if player has permission "chat.mod":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &6Développeur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.mod+":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &6&lModérateur+" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.hof":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &8Hall Of Famer" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.minivip":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &bMINI &9VIP" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.vip"
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &9VIP" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.vip+":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &9VIP&6+" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "chat.megavip":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &cMEGA &9VIP" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "youtubeur":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &f&lYou&c&lTubeur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if player has permission "megayoutubeur":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &4&lMEGA &f&lYou&c&lTubeur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else if playe rhas permission "chat.devweb":
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &bDéveloppeur WEB" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

       else:
           display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
           make score "&f&lRank : &7Joueur" in board of player to 6
           make score "&f&lMoney : &aVariable money" in board of player to 5
           make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
           make score " " in board of player to 3
           make score "&f&lReward : &cVariable&a/10" in board of player to 2
           make score " " in board of player to 1
           make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
           move display of players to sidebar

 

 

[spoiler=ERROR CONSOLE]

04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 18: permission: los.scoreboard')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 19: permission message: &c&lSi ce message s'affiche toutes les minutes merci de prenir un Administrateur !')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 20: trigger:')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 21: if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 22: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 23: make score "&f&lRank : &c&lOwner" in board of player to 6')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 24: make score "&f&lMoney : &aVariable money" in board of player to 5')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 25: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 26: make score " " in board of player to 3')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 27: make score "&f&lReward : &cVariable&a/10" in board of player to 2')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 28: make score " " in board of player to 1')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 29: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 30: move display of players to sidebar')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 32: else if player is "XTReMxLogik":')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 33: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 34: make score "&f&lRank : &c&lCo-Owner" in board of player to 6')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 35: make score "&f&lMoney : &aVariable money" in board of player to 5')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 36: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 37: make score " " in board of player to 3')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 38: make score "&f&lReward : &cVariable&a/10" in board of player to 2')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 39: make score " " in board of player to 1')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 40: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 41: move display of players to sidebar')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 43: else if player has permission "chat.builder":')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 44: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 45: make score "&f&lRank : &2Builder" in board of player to 6')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 46: make score "&f&lMoney : &aVariable money" in board of player to 5')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 47: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4')
04.06 15:42:17 [server] ERROR indentation error: expected 0 tabs, but found 3 tabs ([sKRIPT] _ SCOREBOARD.sk, line 48: make score " " in board of player to 3')

 

 

12 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Déjà pour tes nombreuses erreur tu as tout simplement oublié le ":" après

command /los.scoreboard

Ensuite, ton code est pas très ergonomique, pourquoi ne pas procéder de cette façon ?

Tu définis à chaque connexion le rank du joueur, cela te permet d'afficher un et seul unique scoreboard ;)

 

on join:
   if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":
       set {RankDisplay.%player%} to "&4&lOwner"
   if player has permission "chat.builder":
       set {RankDisplay.%player%} to "&2Builder"
   if player has permission "chat.dev":
       set {RankDisplay.%player%} to "&bDéveloppeur"

             ....

command /score:
   trigger:
       display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
       make score "&f&lRank : &2%{RankDisplay.%player%}%" in board of player to 6
       make score "&f&lMoney : &aVariable money" in board of player to 5
       make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
       make score " " in board of player to 3
       make score "&f&lReward : &cVariable&a/10" in board of player to 2
       make score " " in board of player to 1
       make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

  • J'aime 2
  • 0
Posté(e)
Uuuuh.... Utilisez les id's...

Qu'est ce que tu veux dire par les id's ?

 

#-----#

Déjà pour tes nombreuses erreur tu as tout simplement oublié le ":" après
command /los.scoreboard

Ensuite, ton code est pas très ergonomique, pourquoi ne pas procéder de cette façon ?

Tu définis à chaque connexion le rank du joueur, cela te permet d'afficher un et seul unique scoreboard ;)

 

on join:
   if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":
       set {RankDisplay.%player%} to "&4&lOwner"
   if player has permission "chat.builder":
       set {RankDisplay.%player%} to "&2Builder"
   if player has permission "chat.dev":
       set {RankDisplay.%player%} to "&bDéveloppeur"

             ....

command /score:
   trigger:
       display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
       make score "&f&lRank : &2%{RankDisplay.%player%}%" in board of player to 6
       make score "&f&lMoney : &aVariable money" in board of player to 5
       make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
       make score " " in board of player to 3
       make score "&f&lReward : &cVariable&a/10" in board of player to 2
       make score " " in board of player to 1
       make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0

Exact, j'avais pas vu pour les ":"

Du coup je suis passez a ta version, maintenant j'ai 40 errors

 

(Est-ce que j'ecoute les errors qui me dit de passer a 8 spaces a lieu de 1/2 tabs (cela me semble bizarre...))

[spoiler=NOUVELLES ERREURS]

04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 32: if player is "XTReMxLogik":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 33: set {RankDisplay.%uuid of player%} to "&c&lCo-Owner"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 35: if player has permission "chat.builder:":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 36: set {RankDisplay.%uuid of player%} to "&2Builder"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 38: if player has permission "chat.buildertest":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 39: set {RankDisplay.%uuid of player%} to "&7[TEST] &2Builder"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 41: if player has permission "chat.dev":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 42: set {RankDisplay.%uuid of player%} to "&bDeloppeur"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 44: if player has permission "chat.devtest":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 45: set {RankDisplay.%uuid of player%} to "&7[TEST] &bDeloppeur"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 47: if player has permission "chat.mod":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 48: set {RankDisplay.%uuid of player%} to "&6Modateur"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 50: if player has permission "chat.mod+":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 51: set {RankDisplay.%uuid of player%} to "&6&lModateur+"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 53: if player has permission "chat.hof":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 54: set {RankDisplay.%uuid of player%} to "&8Hall Of Famer"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 56: if player has permission "chat.minivip":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 57: set {RankDisplay.%uuid of player%} to "&bMINI &9VIP"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 59: if player has permission "chat.vip":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 60: set {RankDisplay.%uuid of player%} to "&9VIP"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 62: if player has permission "chat.vip+":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 63: set {RankDisplay.%uuid of player%} to "&9VIP&6+"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 65: if player has permission "chat.megavip":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 66: set {RankDisplay.%uuid of player%} to "&cMEGA &9VIP"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 68: if player has permission "youtubeur":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 69: set {RankDisplay.%uuid of player%} to "&f&lYou&c&lTubeur"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 1 tab ([sKRIPT] _ SCOREBOARD.sk, line 71: if player has permission "megayoutubeur":')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 72: set {RankDisplay.%uuid of player%} to "&4&lMEGA &f&lYou&c&lTubeur"')
04.06 23:42:11 [server] ERROR indentation error: expected 8 spaces, but found 2 tabs ([sKRIPT] _ SCOREBOARD.sk, line 75: set {RankDisplay.%uuid of player%} to "&bDeloppeur WEB"')

 

 

  • 0
Posté(e)
Je l'ai dit plein de fois d'en plusieurs sections d'aides, donc comme peu de personne ne connaissent je vais en faire un tutoriel surement

Bah, j'vois pas du tous ce que tu veux dire par "Utilisez les id's"

  • 0
Posté(e)
Enlève et refait les tabs.

Bonjour,

J'ai tous effacer et re fait tous les tabulations, j'ai désormais 9 errors, on vas dans le bon sens :)

 

(cela viens de mes premieres lignes pourtant c'est censé fonctionner...; merci de ton aide par avance !)

Voici le rapport :

[spoiler=CONSOLE (9 errors)]

05.06 10:54:00 [server] ERROR Can't understand this condition/effect: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player ([sKRIPT] _ SCOREBOARD.sk, line 15: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6 ([sKRIPT] _ SCOREBOARD.sk, line 16: make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lMoney : &aVariable money" in board of player to 5 ([sKRIPT] _ SCOREBOARD.sk, line 17: make score "&f&lMoney : &aVariable money" in board of player to 5')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4 ([sKRIPT] _ SCOREBOARD.sk, line 18: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score " " in board of player to 3 ([sKRIPT] _ SCOREBOARD.sk, line 19: make score " " in board of player to 3')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lReward : &cVariable&a/10" in board of player to 2 ([sKRIPT] _ SCOREBOARD.sk, line 20: make score "&f&lReward : &cVariable&a/10" in board of player to 2')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score " " in board of player to 1 ([sKRIPT] _ SCOREBOARD.sk, line 21: make score " " in board of player to 1')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0 ([sKRIPT] _ SCOREBOARD.sk, line 22: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: move display of players to sidebar ([sKRIPT] _ SCOREBOARD.sk, line 23: move display of players to sidebar')
05.06 10:54:00 [server] INFO [skript] Encountered 9 errors while reloading [sKRIPT] _ SCOREBOARD.sk!

 

 

[spoiler=Skript]

#- NOM DU SERVUER
#- ESPACE
#- RANG
#- ARGENT
#- LEVEL (en fonction du temps de la connection sur le serveur)
#- ESPACE
#- REWARD TROUVER
#- ESPACE
#- NOMBRE DE JOUEUR

command /los.scoreboard:
   permission: los.scoreboard
   permission message: &c&lSi ce message s'affiche toutes les minutes merci de prévenir un Administrateur !
   trigger:
       display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
       make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6
       make score "&f&lMoney : &aVariable money" in board of player to 5
       make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
       make score " " in board of player to 3
       make score "&f&lReward : &cVariable&a/10" in board of player to 2
       make score " " in board of player to 1
       make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
       move display of players to sidebar

every 10 second:
   make all players execute command "/los.scoreboard"

on join:
   if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":
       set {RankDisplay.%uuid of player%} to "&c&lOwner"

   if player is "XTReMxLogik":
       set {RankDisplay.%uuid of player%} to "&c&lCo-Owner"

   if player has permission "chat.builder:":
       set {RankDisplay.%uuid of player%} to "&2Builder"

   if player has permission "chat.buildertest":
       set {RankDisplay.%uuid of player%} to "&7[TEST] &2Builder"

   if player has permission "chat.dev":
       set {RankDisplay.%uuid of player%} to "&bDéveloppeur"

   if player has permission "chat.devtest":
       set {RankDisplay.%uuid of player%} to "&7[TEST] &bDéveloppeur"

   if player has permission "chat.mod":
       set {RankDisplay.%uuid of player%} to "&6Modérateur"

   if player has permission "chat.mod+":
       set {RankDisplay.%uuid of player%} to "&6&lModérateur+"

   if player has permission "chat.hof":
       set {RankDisplay.%uuid of player%} to "&8Hall Of Famer"

   if player has permission "chat.minivip":
       set {RankDisplay.%uuid of player%} to "&bMINI &9VIP"

   if player has permission "chat.vip":
       set {RankDisplay.%uuid of player%} to "&9VIP"

   if player has permission "chat.vip+":
       set {RankDisplay.%uuid of player%} to "&9VIP&6+"

   if player has permission "chat.megavip":
       set {RankDisplay.%uuid of player%} to "&cMEGA &9VIP"

   if player has permission "youtubeur":
       set {RankDisplay.%uuid of player%} to "&f&lYou&c&lTubeur"

   if player has permission "megayoutubeur":
       set {RankDisplay.%uuid of player%} to "&4&lMEGA &f&lYou&c&lTubeur"

   if player has permission "chat.devweb":
       set {RankDisplay.%uuid of player%} to "&bDéveloppeur WEB"

   else:
       set {RankDisplay.%uuid of player%} to "&7Joueur"

 

 

  • 0
Posté(e)
Bonjour,

J'ai tous effacer et re fait tous les tabulations, j'ai désormais 9 errors, on vas dans le bon sens :)

 

(cela viens de mes premieres lignes pourtant c'est censé fonctionner...; merci de ton aide par avance !)

Voici le rapport :

[spoiler=CONSOLE (9 errors)]

05.06 10:54:00 [server] ERROR Can't understand this condition/effect: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player ([sKRIPT] _ SCOREBOARD.sk, line 15: display board named "&3&l--[ &b&lLosprisia &3&l]--" to player')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6 ([sKRIPT] _ SCOREBOARD.sk, line 16: make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lMoney : &aVariable money" in board of player to 5 ([sKRIPT] _ SCOREBOARD.sk, line 17: make score "&f&lMoney : &aVariable money" in board of player to 5')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4 ([sKRIPT] _ SCOREBOARD.sk, line 18: make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score " " in board of player to 3 ([sKRIPT] _ SCOREBOARD.sk, line 19: make score " " in board of player to 3')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lReward : &cVariable&a/10" in board of player to 2 ([sKRIPT] _ SCOREBOARD.sk, line 20: make score "&f&lReward : &cVariable&a/10" in board of player to 2')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score " " in board of player to 1 ([sKRIPT] _ SCOREBOARD.sk, line 21: make score " " in board of player to 1')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0 ([sKRIPT] _ SCOREBOARD.sk, line 22: make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0')
05.06 10:54:00 [server] ERROR Can't understand this condition/effect: move display of players to sidebar ([sKRIPT] _ SCOREBOARD.sk, line 23: move display of players to sidebar')
05.06 10:54:00 [server] INFO [skript] Encountered 9 errors while reloading [sKRIPT] _ SCOREBOARD.sk!

 

 

[spoiler=Skript]

#- NOM DU SERVUER
#- ESPACE
#- RANG
#- ARGENT
#- LEVEL (en fonction du temps de la connection sur le serveur)
#- ESPACE
#- REWARD TROUVER
#- ESPACE
#- NOMBRE DE JOUEUR

command /los.scoreboard:
   permission: los.scoreboard
   permission message: &c&lSi ce message s'affiche toutes les minutes merci de prévenir un Administrateur !
   trigger:
       display board named "&3&l--[ &b&lLosprisia &3&l]--" to player
       make score "&f&lRank : &2%{RankDisplay.%uuid of player%}%" in board of player to 6
       make score "&f&lMoney : &aVariable money" in board of player to 5
       make score "&f&lLevel : &aCreer la variable lvl" in board of player to 4
       make score " " in board of player to 3
       make score "&f&lReward : &cVariable&a/10" in board of player to 2
       make score " " in board of player to 1
       make score "&f&lJoueurs : &aNbr player&e/120" in board of player to 0
       move display of players to sidebar

every 10 second:
   make all players execute command "/los.scoreboard"

on join:
   if player is "Fryver_" or "Traatinoh" or "JeTeRushEnBikini":
       set {RankDisplay.%uuid of player%} to "&c&lOwner"

   if player is "XTReMxLogik":
       set {RankDisplay.%uuid of player%} to "&c&lCo-Owner"

   if player has permission "chat.builder:":
       set {RankDisplay.%uuid of player%} to "&2Builder"

   if player has permission "chat.buildertest":
       set {RankDisplay.%uuid of player%} to "&7[TEST] &2Builder"

   if player has permission "chat.dev":
       set {RankDisplay.%uuid of player%} to "&bDéveloppeur"

   if player has permission "chat.devtest":
       set {RankDisplay.%uuid of player%} to "&7[TEST] &bDéveloppeur"

   if player has permission "chat.mod":
       set {RankDisplay.%uuid of player%} to "&6Modérateur"

   if player has permission "chat.mod+":
       set {RankDisplay.%uuid of player%} to "&6&lModérateur+"

   if player has permission "chat.hof":
       set {RankDisplay.%uuid of player%} to "&8Hall Of Famer"

   if player has permission "chat.minivip":
       set {RankDisplay.%uuid of player%} to "&bMINI &9VIP"

   if player has permission "chat.vip":
       set {RankDisplay.%uuid of player%} to "&9VIP"

   if player has permission "chat.vip+":
       set {RankDisplay.%uuid of player%} to "&9VIP&6+"

   if player has permission "chat.megavip":
       set {RankDisplay.%uuid of player%} to "&cMEGA &9VIP"

   if player has permission "youtubeur":
       set {RankDisplay.%uuid of player%} to "&f&lYou&c&lTubeur"

   if player has permission "megayoutubeur":
       set {RankDisplay.%uuid of player%} to "&4&lMEGA &f&lYou&c&lTubeur"

   if player has permission "chat.devweb":
       set {RankDisplay.%uuid of player%} to "&bDéveloppeur WEB"

   else:
       set {RankDisplay.%uuid of player%} to "&7Joueur"

 

-up-

Aucune réponse ?

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