Aller au contenu

CHEST REGEN


Messages recommandés

Posté(e)

  • Salut ;) c'est Sushi alors j'ai besoin d'aide pour un chest Regen
  • [ATTACH=full]530[/ATTACH]
     
  • lorsque je ferme le coffre alors le items reviennent MERCI BCP D'AVANCE

Posté(e)

salut j'ai fait ça sur mon serveur mais il est fermé donc je te le donne :)

on right click on enchantment table:
   cancel event
   open chest with 2 rows named "&aEquipements" to player
   wait 1 tick
   format slot 1 of player with diamond sword of sharpness 3, unbreaking 3 and fire aspect 2 to run [make console execute command "/kitepee %player%"]
   format slot 2 of player with bow of infinity 1, flame 1 and power 3 to run [make console execute command "/kitarc %player%"]
   format slot 4 of player with diamond helmet of protection 2 to run [make console execute command "/kitcasque %player%"]
   format slot 5 of player with diamond chestplate of protection 2 to run [make console execute command "/kitplastron %player%"]
   format slot 6 of player with diamond leggings of protection 2 to run [make console execute command "/kitpantalon %player%"]
   format slot 7 of player with diamond boots of protection 2 to run [make console execute command "/kitbotes %player%"]
   format slot 11 of player with 64 364 to run [make console execute command "/kitsteak %player%"]
   format slot 12 of player with 64 393 to run [make console execute command "/kitpdt %player%"]
   format slot 13 of player with 64 396 to run [make console execute command "/kitcarrotes %player%"]
   format slot 14 of player with 16 368 to run [make console execute command "/kitpearl %player%"]
   format slot 15 of player with 335 to run [make console execute command "/kitmilk %player%"]




command /kitepee <player>:
   executable by: console
   trigger:
       give a diamond sword of sharpness 3, unbreaking 3 and fire aspect 2 to arg

command /kitarc <player>:
   executable by: console
   trigger:
       give a bow of infinity 1, flame 1 and power 3 to arg
       give 64 262 to arg

command /kitcasque <player>:
   executable by: console
   trigger:
       give a diamond helmet of protection 2 to arg

command /kitplastron <player>:
   executable by: console
   trigger:
       give a diamond chestplate of protection 2 to arg

command /kitpantalon <player>:
   executable by: console
   trigger:
       give a diamond leggings of protection 2 to arg

command /kitbotes <player>:
   executable by: console
   trigger:
       give a diamond boots of protection 2 to arg

command /kitsteak <player>:
   executable by: console
   trigger:
       give 64 364 to arg

command /kitpdt <player>:
   executable by: console
   trigger:
       give 64 393 to arg

command /kitcarrotes <player>:
   executable by: console
   trigger:
       give 64 396 to arg

command /kitpearl <player>:
   executable by: console
   trigger:
       give 16 368 to arg

command /kitmilk <player>:
   executable by: console
   trigger:
       give a 335 to arg




#------------------------------------------ POTIONS ------------------------------------------#   

on right click on brewing stand:
   cancel event
   open chest with 1 rows named "&aPotions" to player
   wait 1 tick
   format slot 2 of player with 373:34 to run [make console execute command "/kitspeed %player%"]
   format slot 3 of player with 373:67 to run [make console execute command "/kitfire %player%"]
   format slot 4 of player with 373:16421 to run [make console execute command "/kitheal %player%"]
   format slot 5 of player with 373:16394 to run [make console execute command "/kitslow %player%"]
   format slot 6 of player with 373:16388 to run [make console execute command "/kitpoison %player%"]


command /kitspeed <player>:
   executable by: console
   trigger:
       give a 373:34 to arg

command /kitfire <player>:
   executable by: console
   trigger:
       give a 373:67 to arg

command /kitheal <player>:
   executable by: console
   trigger:
       give a 373:16421 to arg

command /kitslow <player>:
   executable by: console
   trigger:
       give a 373:16394 to arg

command /kitpoison <player>:
   executable by: console
   trigger:
       give a 373:16388 to arg

Posté(e)
salut j'ai fait ça sur mon serveur mais il est fermé donc je te le donne :)

Je ne demande pas sa , je demande comme sur le practice 1 de kohi les coffres que l'on puisse prendre les items pas simplement cliquer dessus ;)

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