Aller au contenu

Question

Posté(e)

Version de Minecraft : 1.14.4
Version de Skript : 2.4

Addons utilisés: Aucun à ma conaissance

Type du skript : Mega Tnt & Ultra TnT et Dynamite

Description du script :

Je demande un Skrupt permettant que quand une tnt nommé "&c&lUltra &7Tnt" explose que l'explosion soit amplifié, pareil si la tnt s'appelle "&c&lMega &7Tnt" et enfin pour la dynamite faire en sorte que quand on jette une tnt nommé "&9Dynamite" que elle explose en 3 secondes, j'ai tenté de produire un skript avec ce que j'ai trouvé mais je n'y arrive pas. PS: Je m'occuperai des crafts

Tntplus.sk

4 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Salut essaye sa pour les tnts :

on place of TNT:
	if name of tool of player is "&c&lUltra &7Tnt"
	cancel the event
   	remove 1 TNT from player's inventory
   	create an explosion of force 10 at the event-location

J'ai aussi trouver un skript pour tes dynamites sur le forum le voici :

options:
   DynaSpeed: 0.3 #La vitesse de propulsion de la tnt.
   NNerr: "&cNombres négatifs non-autorisés !"
   GDynaMSG: "&aTu as reçu %arg 2% dynamite(s) !"
   DynaCD: "&cUne dynamite a déjà été lancé ! Patientez."

variables:
   {nudyn.%player%} = 0
   {cd.dyna.%player%} = false

command /dynamite [<text>] [<number>] [<player>]:
   permission: dynamite.give
   trigger:
       if arg 1 is "give":
           if arg-2 > 0:
               give arg-2 of stick named "&cDynamite" to arg-3
               send {@GDynaMSG}
           else:
               send {@NNerr}

on rightclick:
   if player's tool is a stick named "&cDynamite":
       {nudyn.%player%} < 2
       if {cd.dyna.%player%} is false:
           set {cd.dyna.%player%} to true
           add 1 to {nudyn.%player%}
           if {nudyn.%player%} is 2:
               remove 1 stick named "&cDynamite" from player's inventory
               set {nudyn.%player%} to 0
           spawn 1 primed tnt at player
           set {Dynaplos} to now
           push spawned entity in the direction of the player at speed {@DynaSpeed}
           wait 4 seconds
           set {cd.dyna.%player%} to false
       else:
           send {@DynaCD}

 

Voila j'éspere que je t'ai aider ^^

  • 0
Posté(e)


[

10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 24: if {cd.dyna.%player%} is false:')
[10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 27: if {nudyn.%player%} is 2:')
[10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 35: else:')
[10:12:32] [main/INFO]: [CHAT] 'send {@NNerr}' is not an entry (like 'name : value') (dyna.sk, line 19: send {@NNerr}')
[10:12:32] [main/INFO]: [CHAT] Required entry 'trigger' is missing in 'command /dynamite [<text>] [<number>] [<player>]' (dyna.sk, starting at line 11) (dyna.sk, line 11: command /dynamite [<text>] [<number>] [<player>]:')
[10:12:32] [main/INFO]: [CHAT] 'else' has to be placed just after an 'if' or 'else if' section (dyna.sk, line 35: else:')
[10:12:32] [main/INFO]: [CHAT] [Skript] Encountered 9 errors while reloading dyna.sk!
[10:13:21] [main/INFO]: [CHAT] [Skript] Reloading dyna.sk...
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 13: trigger:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 14: if arg 1 is "give":')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 15: if arg-2 > 0:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 18: else:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 24: if {cd.dyna.%player%} is false:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 27: if {nudyn.%player%} is 2:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 35: else:')
[10:13:21] [main/INFO]: [CHAT] 'give arg-2 of stick named "&cDynamite" to arg-3' is not an entry (like 'name : value') (dyna.sk, line 16: give arg-2 of stick named "&cDynamite" to arg-3')
[10:13:21] [main/INFO]: [CHAT] 'send {@GDynaMSG}' is not an entry (like 'name : value') (dyna.sk, line 17: send {@GDynaMSG}')
[10:13:21] [main/INFO]: [CHAT] 'send {@NNerr}' is not an entry (like 'name : value') (dyna.sk, line 19: send {@NNerr}')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'if arg 1 is "give"'. Check whether it's spelled correctly or remove it. (dyna.sk, line 14: if arg 1 is "give":')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'if arg-2 > 0'. Check whether it's spelled correctly or remove it. (dyna.sk, line 15: if arg-2 > 0:')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (dyna.sk, line 18: else:')
[10:13:21] [main/INFO]: [CHAT] 'else' has to be placed just after an 'if' or 'else if' section (dyna.sk, line 35: else:')
[10:13:23] [main/INFO]: [CHAT] [Skript] Encountered 7 errors while reloading dyna.sk!

 

Voici les erreurs avec la dynamite

@samy_dx

 

  • 0
Posté(e)
Il y a 6 heures, SalersAim a dit :


[


10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 24: if {cd.dyna.%player%} is false:')
[10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 27: if {nudyn.%player%} is 2:')
[10:12:32] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 35: else:')
[10:12:32] [main/INFO]: [CHAT] 'send {@NNerr}' is not an entry (like 'name : value') (dyna.sk, line 19: send {@NNerr}')
[10:12:32] [main/INFO]: [CHAT] Required entry 'trigger' is missing in 'command /dynamite [<text>] [<number>] [<player>]' (dyna.sk, starting at line 11) (dyna.sk, line 11: command /dynamite [<text>] [<number>] [<player>]:')
[10:12:32] [main/INFO]: [CHAT] 'else' has to be placed just after an 'if' or 'else if' section (dyna.sk, line 35: else:')
[10:12:32] [main/INFO]: [CHAT] [Skript] Encountered 9 errors while reloading dyna.sk!
[10:13:21] [main/INFO]: [CHAT] [Skript] Reloading dyna.sk...
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 13: trigger:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 14: if arg 1 is "give":')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 15: if arg-2 > 0:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 18: else:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 24: if {cd.dyna.%player%} is false:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 27: if {nudyn.%player%} is 2:')
[10:13:21] [main/INFO]: [CHAT] Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (dyna.sk, line 35: else:')
[10:13:21] [main/INFO]: [CHAT] 'give arg-2 of stick named "&cDynamite" to arg-3' is not an entry (like 'name : value') (dyna.sk, line 16: give arg-2 of stick named "&cDynamite" to arg-3')
[10:13:21] [main/INFO]: [CHAT] 'send {@GDynaMSG}' is not an entry (like 'name : value') (dyna.sk, line 17: send {@GDynaMSG}')
[10:13:21] [main/INFO]: [CHAT] 'send {@NNerr}' is not an entry (like 'name : value') (dyna.sk, line 19: send {@NNerr}')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'if arg 1 is "give"'. Check whether it's spelled correctly or remove it. (dyna.sk, line 14: if arg 1 is "give":')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'if arg-2 > 0'. Check whether it's spelled correctly or remove it. (dyna.sk, line 15: if arg-2 > 0:')
[10:13:21] [main/INFO]: [CHAT] Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (dyna.sk, line 18: else:')
[10:13:21] [main/INFO]: [CHAT] 'else' has to be placed just after an 'if' or 'else if' section (dyna.sk, line 35: else:')
[10:13:23] [main/INFO]: [CHAT] [Skript] Encountered 7 errors while reloading dyna.sk!

 

Voici les erreurs avec la dynamite

@samy_dx

 

Salut as tu essayer la commande /dynamite , esqu'elle marche ?

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • 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.