Aller au contenu

Script Buykits !


Messages recommandés

Posté(e)

Bonjours je suis tous nouveaux sur le forum Je voudrais un scripts BUYKITS mais pas le maime que vous avez fait

je veut :

 

* commande /BuyKits mais juste cette commande

* acheter les kits avec Iconomy

*et que les kit reste avec essentials car j ai créé des kit avec je veut qu il se debloque

 

J'espaire que vous pourais me faire sa ou en trouver un svp merci a tous

 

Staff FamilyFight : Rephax_YT

Posté(e)

Je n'est pas bien compris:

 

- Quand on fait /BuyKits sa ouvre un GUI

- On à certain choix de kits

- Quand on clik sur un kits sa l'achète

Et sa :

 

*et que les kit reste avec essentials car j ai créé des kit avec je veut qu il se debloque

 

J'ai pas compris :/

Posté(e)

options:
   nomdukit: chez bébere
   prixdukit: 100
   command: /manuadd %player% fondateur
command /BuyKits  [<text>]:
   trigger:
       if arg 1 is "{@nomdukit}":
           if player's balance >= {@prixdukit}:
               make console execute command "/money take %player% {@prixdukit}"
               send "Tu as perdu {@prixdukit}$"
               make console execute command "{@command}"
               message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"

 

Indépendance https://skript-mc.fr/forum/index.php?resources/skangeltool.37/

Posté(e)

enfaite je veut un plugins ou on fait /buykits sa nous mais un GUI et aprés on clique sur le kit qu on veut acheter et apres quand on fait /kits bas on a le kit et je veut qu on achete les kit avec de la money avec le plugins iconomy

Posté(e)

Pas compliquer

options:
   nomdugui: chez baba
   nomdukit: chez bébere
   prixdukit: 100
   command: /manuadd %player% fondateur
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           set {_result} to player's money - {@prixdukit}
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "{@nomdukit}" with lore "Il coute {@prixdukit} ||il va te resster %{_result}% $" to close then run [make player execute command "/BuyKits {@nomdukit}"]
       if arg 1 is "{@nomdukit}":
           if player's balance >= {@prixdukit}:
               make console execute command "/money take %player% {@prixdukit}"
               send "Tu as perdu {@prixdukit}$"
               make console execute command "{@command}"
               message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"

Posté(e)
Pas compliquer

options:
   nomdugui: chez baba
   nomdukit: chez bébere
   prixdukit: 100
   command: /manuadd %player% fondateur
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           set {_result} to player's money - {@prixdukit}
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "{@nomdukit}" with lore "Il coute {@prixdukit} ||il va te resster %{_result}% $" to close then run [make player execute command "/BuyKits {@nomdukit}"]
       if arg 1 is "{@nomdukit}":
           if player's balance >= {@prixdukit}:
               make console execute command "/money take %player% {@prixdukit}"
               send "Tu as perdu {@prixdukit}$"
               make console execute command "{@command}"
               message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"

 

oui mais j ai pas de script pour mettre sa tu peut maider stp donne moi vraiment tous je suis codeur debutant je suis nul faut maider le + possible stp si sa te géne pas

Posté(e)
oui mais j ai pas de script pour mettre sa tu peut maider stp donne moi vraiment tous je suis codeur debutant je suis nul faut maider le + possible stp si sa te géne pas

Tu as juste a faire du copier coller après pour chaque kit et remplacer par ce que tu veux, perso j'ai appris y'a 1semaine et ça c'est vraiment la base donc bon

Posté(e)
Tu as juste a faire du copier coller après pour chaque kit et remplacer par ce que tu veux, perso j'ai appris y'a 1semaine et ça c'est vraiment la base donc bon

 

 

ok mais la j ai mis se que tu ma donner sauf que quand je clique dessus sa marche pas j ai pas access au kits et j ai pourtant biens modifier la commande et je voudrait que en maime temps si tu a le temps de me dire qour que quand il achéte le kit on le vois dans le tchat stp

Posté(e)
ok mais la j ai mis se que tu ma donner sauf que quand je clique dessus sa marche pas j ai pas access au kits et j ai pourtant biens modifier la commande et je voudrait que en maime temps si tu a le temps de me dire qour que quand il achéte le kit on le vois dans le tchat stp

Explique toi mieux idem pour l’orthographe car je doit lire 2-3fois pour comprendre

Dit moi le nom des kit le prix & les commandes ça ira plus vite

Posté(e)

Kit minerais kit explorateur kit creeper kit alchimiste kit druide kit construction kit enchanteur et quand il clique sur l item pour acheter le kit dans le GUI bas faut que sa face la commande : manuaddp player essentials.kits.minerais et que sa le marque dans le tchat Bravo a pseudo tu a acheter le kit (nomdukit) j espaire que tu conprend et faut que sa lui enléve l argent biensur avec le plugins iconomy

Posté(e)
Kit minerais kit explorateur kit creeper kit alchimiste kit druide kit construction kit enchanteur et quand il clique sur l item pour acheter le kit dans le GUI bas faut que sa face la commande : manuaddp player essentials.kits.minerais et que sa le marque dans le tchat Bravo a pseudo tu a acheter le kit (nomdukit) j espaire que tu conprend et faut que sa lui enléve l argent biensur avec le plugins iconomy

les prix ?

Posté(e)

Voila

options:
   nomdugui: chez baba
   message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!!
prixdukit: 10000
command: /manuaddp %player% essentials.kits.minerais
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit minerais"]
           format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit explorateur"]      
           format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit creeper"]      
           format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit alchimiste"]      
           format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit druide"]      
           format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit construction"]      
           format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit enchanteur"]      

		if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur":
			if player's balance >= {@prixdukit}:
				make console execute command "/money take %player% {@prixdukit}"
				send "Tu as perdu {@prixdukit}$"
				make console execute command "{@command}"
				message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"
				broadcast "{@message}"


Posté(e)
Voila

options:
   nomdugui: chez baba
   message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!!
prixdukit: 10000
command: /manuaddp %player% essentials.kits.minerais
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit minerais"]
           format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit explorateur"]     
           format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit creeper"]     
           format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit alchimiste"]     
           format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit druide"]     
           format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit construction"]     
           format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit enchanteur"]     

		if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur":
			if player's balance >= {@prixdukit}:
				make console execute command "/money take %player% {@prixdukit}"
				send "Tu as perdu {@prixdukit}$"
				make console execute command "{@command}"
				message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"
				broadcast "{@message}"


MERCI je go le tester et je te dit si sa marche

Posté(e)
Voila

options:
   nomdugui: chez baba
   message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!!
prixdukit: 10000
command: /manuaddp %player% essentials.kits.minerais
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit minerais"]
           format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit explorateur"]     
           format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit creeper"]     
           format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit alchimiste"]     
           format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit druide"]     
           format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit construction"]     
           format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit enchanteur"]     

		if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur":
			if player's balance >= {@prixdukit}:
				make console execute command "/money take %player% {@prixdukit}"
				send "Tu as perdu {@prixdukit}$"
				make console execute command "{@command}"
				message "Tu vient d'acheter le kit &6{@nomdukit}, il te reste %player's money%"
				broadcast "{@message}"


sa me mait unknow commande quand je clique sur l épéé

Posté(e)

Oups y'a des erreurs tien

 

options:
   nomdugui: chez baba
   message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!!
   prixdukit: 10000
   command: /manuaddp %player% essentials.kits.minerais
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit minerais"]
           format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit explorateur"]      
           format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit creeper"]      
           format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit alchimiste"]      
           format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit druide"]      
           format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit construction"]      
           format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit enchanteur"]      

       if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur":
           if player's balance >= {@prixdukit}:
               make console execute command "/money take %player% {@prixdukit}"
               send "Tu as perdu {@prixdukit}$"
               make console execute command "{@command}"
               message "Tu vient d'acheter le &6kit %arg 1%&r, il te reste %player's money%"
               broadcast "{@message}"


Posté(e)
Oups y'a des erreurs tien

 

options:
   nomdugui: chez baba
   message: %player% vient d'acheter le kit %arg 1% pour la somme de {@prixdukit} $!!
   prixdukit: 10000
   command: /manuaddp %player% essentials.kits.minerais
command /BuyKits [<text>]:
   trigger:
       if arg 1 is not set:
           wait 2 tick
           open chest with 1 row named "{@nomdugui}" to player
           format slot 0 of player with diamond sword named "Kit minerais " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit minerais"]
           format slot 1 of player with diamond sword named "Kit explorateur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit explorateur"]     
           format slot 2 of player with diamond sword named "Kit creeper " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit creeper"]     
           format slot 3 of player with diamond sword named "Kit alchimiste " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit alchimiste"]     
           format slot 4 of player with diamond sword named "Kit druide " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit druide"]     
           format slot 5 of player with diamond sword named "Kit construction " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit construction"]     
           format slot 6 of player with diamond sword named "Kit enchanteur " with lore "Il coute {@prixdukit}" to close then run [make player execute command "/BuyKitsKit enchanteur"]     

       if arg 1 is "minerais" or "explorateur" or "creeper" or "alchimiste" or "druide" or "construction" or "enchanteur":
           if player's balance >= {@prixdukit}:
               make console execute command "/money take %player% {@prixdukit}"
               send "Tu as perdu {@prixdukit}$"
               make console execute command "{@command}"
               message "Tu vient d'acheter le &6kit %arg 1%&r, il te reste %player's money%"
               broadcast "{@message}"


ta changer le truc ?

Posté(e)

oué car la sa marche toujours pas je te screen attend et aprés que je clique sa me met mais que la commande existe pas ou bien que ta pas mis la commande qui vas avec quand tu clique sur le kit

Posté(e)
oué car la sa marche toujours pas je te screen attend et aprés que je clique sa me met mais que la commande existe pas ou bien que ta pas mis la commande qui vas avec quand tu clique sur le kit

tu as fait /sk reload nomduskript ? si oui fait un screen des erreurs qu'il y a

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