Aller au contenu
  • 0

Message d'erreur java , pour un scorebord skript


Question

Posté(e)

Bonjour,

Depuis que je suis passé de Bukkit a Spigot

Mon script de scoreboard m'envoie des messages,

Le message: An internal error occurred while attempting to perform this command

 

Voici le code:

#command /sidebarremove:
#    trigger:
#        delete {connect}
#        broadcast "&9&lScoreBoard | &4&lScoreboard supprimé , et mis a 1 joueur !"
#        wait 1 seconds
#        add 1 to {connect}

command /ip:
   trigger:
       message "&8&l««&b-✦-&8&l»»&m-----------------------&8&l««&b-✦-&8&l»»"
       message "&9&9IP : &c&lRATIOFIGHT.OMGCRAFT.FR"
       message "&8&l««&b-✦-&8&l»»&m-----------------------&8&l««&b-✦-&8&l»»"

#on join:
#    add 1 to {connect}
#on quit:
#    remove 1 from {connect}
command /sidebarr2:
   trigger:
       display board named "&4&lRatio&c&lFight" to player
       make score "&4➲ &c&lStats" in board of player to 6
       make score "&4➥ &c&lTotal" in board of player 5
       make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
       make score "&cKill➵ &b%{kills.%player%}%" in board of player to 3
       make score "&cMort➵ &b%{morts.%player%}%" in board of player to 2
       make score "&cRatio➵ &b%{ratio.%player%}%" in board of player to 1
       make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 0
       move display of player to sidebar   

command /sidebarr3:
   trigger:
       display board named "&4&lRatio&c&lFight" to player
       make score "&5➲ &d&lBalances" in board of player to 7
       make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 6
       make score "&5➣ RatioMoney" in board of player to 5
       make score "&5➥   &d%player's balance%" in board of player to 4
       make score "  " in board of player to 3
       make score "&5➣ EpicMoney" in board of player to 2
       make score "&5➥   &d%{epicmoney.%player%}%" in board of player to 1
       make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 0
       move display of player to sidebar   

command /sidebarr:
   trigger:
       if player's world is "hubj":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲ &e&lHub ⚐" in board of player to 4
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 3
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 2
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 1
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "ka":
           display board named "&6➲&e&lSUMO ☃" to player
           make score "&4&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "mlg":
           display board named "&6➲&e&lMLG ☃" to player
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "oneshot":
           display board named "&6➲&e&lONESHOT ☃" to player
           make score "&6➝&eMap: Médiéval" in board of player to 7
           make score "&a&lTeam: Oui" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "Onebhot":
           display board named "&6➲&e&lONESHOT ☃" to player
           make score "&6➝&eMap: Ile" in board of player to 7
           make score "&a&lTeam: Oui" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "Evolution2":
           display board named "&6➲&e&lEVOLUTION ⚔" to player
           make score "&6➝&eMap:" in board of player to 9
           make score "➝ &eMédiéval" in board of player to 8
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 7
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 6
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&c➫ Etoiles Win:" in board of player to 3
           make score "   %{etoiles.evolution.%player%}% étoiles" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "Evolution22":
           display board named "&6➲&e&lEVOLUTION ⚔" to player
           make score "&6➝&eMap:" in board of player to 9
           make score "➝ &eFuturiste" in board of player to 8
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 7
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 6
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&c➫ Etoiles Win:" in board of player to 3
           make score "   &b%{etoiles.evolution.%player%}% étoiles" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "fightbox":
           display board named "&6➲&e&lFIGHTBOX ⚔" to player
           make score "&4&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "combogames":
           display board named "&6➲&e&lCOMBOGAMES ⚔" to player
           make score "&4&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "pvpsoupe":
           display board named "&6➲&e&lPVPSOUP ⚔" to player
           make score "&6&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%{connect}% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "1v1":
           display board named "&6➲&e&l1VS1 ⚔" to player
           make score "&9&l/duel <joueur>" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "builduhc2":
           display board named "&6➲&e&lBUILDUHC ⚔" to player
           make score "&4&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "uhcex":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲&e&lUHC EX ⚔" in board of player to 8
           make score "&4&lTeam: Non" in board of player to 7
           make score "&c➫ &9/uhchelp" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "woolrush":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲&e&lWoolRush ⚔" in board of player to 10
           make score "  " in board of player to 9
           make score "&cFlag Rouges:" in board of player to 8
           make score "&4➥ &c&l%{point.red}% Flag" in board of player to 7
           make score "&3Flag Bleues:" in board of player to 6
           make score "&b➥ &3&l%{point.blue}% Flag" in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "ctf":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲&e&lCTF ⚔" in board of player to 10
           make score "  " in board of player to 9
           make score "&cFlag Déposé:" in board of player to 8
           make score "&4➥ &c&l%{flag.red.%player%}% Flag" in board of player to 7
           make score "&3Flag Déposé:" in board of player to 6
           make score "&b➥ &3&l%{flag.blue.%player%}% Flag" in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "skypvp":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲&e&lSkyPvP ⚔" in board of player to 7
           make score "&4&lTeam: Non" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar
#
       else if player's world is "quizz":
           display board named "&4&lRatio&c&lFight" to player
           make score "&6➲&e&lQuizz" in board of player to 6
           make score "  " in board of player to 5
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 4
           make score "&6➵ &e%number of all players% Co(s)" in board of player to 3
           make score "&6➵ &e%player's ping% Ms(s)" in board of player to 2
           make score "⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊⚊" in board of player to 1
           make score "&cratio&4fight" in board of player to 0
           move display of player to sidebar

every 120 seconds:
   loop all players:
       if loop-player's world is "hubj":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"           
#
       else if loop-player's world is "builduhc2":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "oneshot":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"   
#
       else if loop-player's world is "onebhot":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "mlg":   
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
       else if loop-player's world is "pvpsoupe":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "combogames":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "fightbox":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "woolrush":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"   
#
       else if loop-player's world is "uhcex":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "1v1":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "arena":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "Evolution22":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "Evolution2":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "ka":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"   
#
       else if loop-player's world is "ctf":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "skypvp":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"
#
       else if loop-player's world is "quizz":
           make loop-player execute command "/sidebarr"
           wait 50 seconds
           make loop-player execute command "/sidebarr2"
           wait 20 seconds
           make loop-player execute command "/sidebarr3"

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Salut,

 

Assure-toi d'abord que tu ne sois ni en 1.7, ni en 1.10. Ensuite, tu auras besoin de la version la plus stable de SkRayFall, disponible ici.

 

Pour finir, les effets corrects pour l'utilisation d'un ScoreBoard sont les suivants :

 

# Pour le titre d'un ScoreBoard :

set name of sidebar of player to "Titre"

# Pour un score :

set score "Test" in sidebar of player to 1

  • 0
Posté(e)

C'est normal car avant de mettre un ScoreBoard à un joueur, il faut supprimer son ancien sinon, ça va se mélanger comme c'est le cas ici.

 

L'effet pour supprimer un ScoreBoard :

 

wipe player's sidebar

 

 

Amicalement,

PsYZiiK.

 

P.S : Pour un prochain rapport de bug, merci de lire les règles présentes dans ma signature, faites par le personnel.

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