Bonjour, je me lance dans le skript et j'ai creer mon skript achat grade mais j'aimerais que les joueurs ne puissent pas acheter le grade s'ils ont pas la somme indiqué mais je n'y arrive pas si quelqu'un peut m'aider sa serais d'une gentillesse merci :).
Voici le skript :
command /grade:
trigger:
wait 2 ticks
open chest with 3 rows named "&cGrades" to player
wait 2 tick
format slot 0 of player with blue stained glass named " " to close
format slot 1 of player with blue stained glass named " " to close
format slot 2 of player with blue stained glass named " " to close
format slot 3 of player with blue stained glass named " " to close
format slot 4 of player with blue stained glass named " " to close
format slot 5 of player with blue stained glass named " " to close
format slot 6 of player with blue stained glass named " " to close
format slot 7 of player with blue stained glass named " " to close
format slot 8 of player with blue stained glass named " " to close
format slot 9 of player with blue stained glass named " " to close
format slot 17 of player with blue stained glass named " " to close
format slot 18 of player with blue stained glass named " " to close
format slot 19 of player with blue stained glass named " " to close
format slot 20 of player with blue stained glass named " " to close
format slot 21 of player with blue stained glass named " " to close
format slot 22 of player with blue stained glass named " " to close
format slot 23 of player with blue stained glass named " " to close
format slot 24 of player with blue stained glass named " " to close
format slot 25 of player with blue stained glass named " " to close
format slot 26 of player with blue stained glass named " " to close
format slot 12 of player with gold ingot named "&3&lCombattant" with lore "&5 Coûte ...." to close then run [make player execute command "/combattant"]
format slot 14 of player with diamond named "&1&lConquérant" with lore "&5Coûte ...." to close then run [make player execute command "/conquérant"]
command /combattant:
permission: combattant.rankup
permission message: &cVous avez déjà acheté ce grade ou vous n'etes pas encore en marge de l'obtenir.
trigger:
execute console command "/manuadd %player% combattant"
execute console command "/eco take %player% 1500"
broadcast "&c[&4&lVaro&f&lRankUp&c] &6Felicitation &b&l%player% &6est désormais &3&lCombattant !"
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
Arnok_Gamer
Version de Minecraft : 1.8
Type du skript : Achat de grade
Description du script :
Bonjour, je me lance dans le skript et j'ai creer mon skript achat grade mais j'aimerais que les joueurs ne puissent pas acheter le grade s'ils ont pas la somme indiqué mais je n'y arrive pas si quelqu'un peut m'aider sa serais d'une gentillesse merci :).
Voici le skript :
command /grade:
trigger:
wait 2 ticks
open chest with 3 rows named "&cGrades" to player
wait 2 tick
format slot 0 of player with blue stained glass named " " to close
format slot 1 of player with blue stained glass named " " to close
format slot 2 of player with blue stained glass named " " to close
format slot 3 of player with blue stained glass named " " to close
format slot 4 of player with blue stained glass named " " to close
format slot 5 of player with blue stained glass named " " to close
format slot 6 of player with blue stained glass named " " to close
format slot 7 of player with blue stained glass named " " to close
format slot 8 of player with blue stained glass named " " to close
format slot 9 of player with blue stained glass named " " to close
format slot 17 of player with blue stained glass named " " to close
format slot 18 of player with blue stained glass named " " to close
format slot 19 of player with blue stained glass named " " to close
format slot 20 of player with blue stained glass named " " to close
format slot 21 of player with blue stained glass named " " to close
format slot 22 of player with blue stained glass named " " to close
format slot 23 of player with blue stained glass named " " to close
format slot 24 of player with blue stained glass named " " to close
format slot 25 of player with blue stained glass named " " to close
format slot 26 of player with blue stained glass named " " to close
format slot 12 of player with gold ingot named "&3&lCombattant" with lore "&5 Coûte ...." to close then run [make player execute command "/combattant"]
format slot 14 of player with diamond named "&1&lConquérant" with lore "&5Coûte ...." to close then run [make player execute command "/conquérant"]
command /combattant:
permission: combattant.rankup
permission message: &cVous avez déjà acheté ce grade ou vous n'etes pas encore en marge de l'obtenir.
trigger:
execute console command "/manuadd %player% combattant"
execute console command "/eco take %player% 1500"
broadcast "&c[&4&lVaro&f&lRankUp&c] &6Felicitation &b&l%player% &6est désormais &3&lCombattant !"
command /conquérant:
trigger:
execute console command "/manuadd %player% conquérant"
execute console command "/eco take %player% 2250"
broadcast "&c[&4&lVaro&f&lRankUp&c] &6Felicitation &b&l%player% &6est désormais &1&lConquérant !"
9 réponses à cette question
Messages recommandés