Bonjour,depuis 5 heures,j'ai un problème avec mon skript de kits. mon serveur est sous spigot 1.12.2, donc je suis sous mc 1.12.2 ma version de skript est 2.3.1 et j'ai skQuery 3.6.2-Lime en addon,je ne sais pas si c'est un problème d'addon ou si le problème viens du skript.
Je laisse si joint le script erroné en vous remerciant d'avance de vos réponses:
command /gshop [<text>]:
trigger:
if arg 1 is "MS":
make console execute command "/give %player% Spawner 1"
make player execute command "/money pay Console 5000"
message "&a&lVous avez acheter un mobSpawner ! Pour &9&l5000$ !"
command /payg <text>:
trigger:
if arg 1 is not set:
message "&cVous devez mettre le nom du grade que vous voulez acheter"
else if arg 1 is "Combattant":
if player has permission "kit.Combattant":
message "vous avez déja ce kit"
else
make player execute command "/money pay Console 50000"
add "kit.Combattant" to player's permissions
message "Vous avez obtenu le grade &7&lCombattant"
else if arg 1 is "Enchanteur":
if player has permission "kit.Enchanteur":
message "vous avez déja ce kit"
else
make player execute command "/money pay Console 80000"
add "kit.Enchanteur" to player's permissions
message "Vous avez obtenu le grade &7&lEnchanteur"
else if
if player has permission "kit.Collectionneur":
message "vous avez déja ce kit"
else
make player execute command "/money pay Console 99000"
add "kit.Collectionneur" to player's permissions
message "Vous avez obtenu le grade &a&lCollectionneur"
else if
if player has permission "kit.Dieu":
message "vous avez déja ce kit"
else
make player execute command "/money pay Console 250000"
add "kit.Dieu" to player's permissions
message "Vous avez obtenu le grade &b&lDieu"
else if
if player has permission"kit.Demon":
message "vous avez déja ce kit"
else
make player execute command "/money pay Console 1000000"
add "kit.Demon" to player's permissions
message "Vous avez obtenu le grade &d&lDemon"
Les erreurs sont les suivantes:
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 242: if arg 1 is not set:')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 244: else if arg 1 is "Combattant":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 245: if player has permission "kit.Combattant":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 251: else if arg 1 is "Enchanteur":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 252: if player has permission "kit.Enchanteur":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 259: if player has permission "kit.Collectionneur":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 266: if player has permission "kit.Dieu":')
[10:15:59 WARN]: [Skript] Empty configuration section! You might want to indent
one or more of the subsequent lines to make them belong to this section or remov
e the colon at the end of the line if you don't want this line to start a sectio
n. (kits.sk, line 273: if player has permission"kit.Demon":')
[10:15:59 WARN]: [Skript] 'quete.sk' is empty
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: format slot 1
of player with mob spawner named "&9&lSpawner &a&l5000$" to run [make player ex
ecute command "/gshop MS"] (kits.sk, line 216: format slot 1 of player with mob
spawner named "&9&lSpawner &a&l5000$" to run [make player execute command "/gsho
p MS"]')
[10:16:01 ERROR]: [Skript] 'else if' has to be placed just after another 'if' or
'else if' section (kits.sk, line 244: else if arg 1 is "Combattant":')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else (kits.sk
, line 247: else')
[10:16:01 ERROR]: [Skript] permissions of the player can't have anything added
to it (kits.sk, line 249: add "kit.Combattant" to player's permissions')
[10:16:01 ERROR]: [Skript] 'else if' has to be placed just after another 'if' or
'else if' section (kits.sk, line 251: else if arg 1 is "Enchanteur":')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else (kits.sk
, line 254: else')
[10:16:01 ERROR]: [Skript] permissions of the player can't have anything added
to it (kits.sk, line 256: add "kit.Enchanteur" to player's permissions')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else if (kits
.sk, line 258: else if')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else (kits.sk
, line 261: else')
[10:16:01 ERROR]: [Skript] permissions of the player can't have anything added
to it (kits.sk, line 263: add "kit.Collectionneur" to player's permissions')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else if (kits
.sk, line 265: else if')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else (kits.sk
, line 268: else')
[10:16:01 ERROR]: [Skript] permissions of the player can't have anything added
to it (kits.sk, line 270: add "kit.Dieu" to player's permissions')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else if (kits
.sk, line 272: else if')
[10:16:01 ERROR]: [Skript] can't understand this condition: 'player has permissi
on"kit.Demon"' (kits.sk, line 273: if player has permission"kit.Demon":')
[10:16:01 ERROR]: [Skript] Can't understand this condition/effect: else (kits.sk
, line 275: else')
[10:16:01 ERROR]: [Skript] permissions of the player can't have anything added
to it (kits.sk, line 277: add "kit.Demon" to player's permissions')
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
antoineok
Bonjour,depuis 5 heures,j'ai un problème avec mon skript de kits. mon serveur est sous spigot 1.12.2, donc je suis sous mc 1.12.2 ma version de skript est 2.3.1 et j'ai skQuery 3.6.2-Lime en addon,je ne sais pas si c'est un problème d'addon ou si le problème viens du skript.
Je laisse si joint le script erroné en vous remerciant d'avance de vos réponses:
Les erreurs sont les suivantes:
J’espère avoir une réponse rapidement
10 réponses à cette question
Messages recommandés