Aller au contenu

nathan

Membre
  • Compteur de contenus

    137
  • Inscription

  • Dernière visite

Tout ce qui a été posté par nathan

  1. nathan

    Erreur dans un skript

    C'est un skript telecharger j'ai mis les bons adons et tout mais le lien est https://skript-mc.fr/forum/resources/practice-1-8.775/ Je ne pense pas car C'est un skript telecharger j'ai mis les bons adons et tout mais le lien est https://skript-mc.fr/forum/resources/practice-1-8.775/
  2. nathan

    Erreur dans un skript

    je ne comprend pas je vous donne un screen merci d'avance
  3. nathan

    Arène PvP

    Bonjour ou bonsoir je suis propriétère d'un serveur faction et dans celui là je voudrait mettre une petite arène pvp box 1 v 1 dans le spawn. En premier je voudrais qu'on puisse la rejoindre par commande et en clickant sur un panneau. Il faudrat 2 joueur et tant que 2 joueurs n'ont pas rejoint la partie ne commence pas je voudrait que quand un joueur meurt, se déconnect la partie et fini avec un message dans le tchat donnant le vainceur.
  4. nathan

    Téleportation après une mort

    Merci mec
  5. Bonjour je ne sais pas pourquoi mais ce skript ne marche pas il n'as pas d' on death: if world of victim is "PvPBox": teleport victim to {pvpbox.tp} erreurs
  6. Bonjour, cette semaine j'ai fait une demande de skript pour un couldown le skript marche saud il y a une problème. le send "&cErreur : Patiente encore %{_time.left}% !" affiche toujours le chiffre 0 je ne sais pas pourquoi. Si pouvais m'aider à résoudre le problème ou de me proposer une autre version de couldown(c'est à dire un temps avant de pouvoir refaire la commande par exemple les kits) options: delay: 3 minute # Exemple de délai. A toi de choisir. command /kit test: trigger: difference between {last.used.%player%} and now is less than {@delay}: set {_time.left} to difference between {last.used.%player%} and now remove {@delay} from {_time.left} send "&cErreur : Patiente encore %{_time.left}% !" stop set {last.used.%player%} to now [ATTACH=full]4607[/ATTACH]
  7. nathan

    Une petite demande

    je me souviens plus comment mettre le condition suivante pour les objet: L'objet execute que si le nom de l'objet contiens (xx)
  8. nathan

    Problème pour un arg

    dsl je me suis mal exprimé le problème est la if arg 1 balance is greater than or equal to ({_20}+1): le probème est que arg 1 ne marche pas =)
  9. nathan

    Problème pour un arg

    J'ai un probème car je voudrais faire une condition mais je n'arrive pas car player's ne marche pas mais il faudrait remplacer par arg 1 mais je n'arrive pas command /OakWoodsell <number> <player>: trigger: set {_20} to 10000 set {_2} to ({2}*{_20}) set {_3} to ({3}*{_20}) if arg 1 is 8: if player's balance is greater than or equal to ({_20}+1): message "&c[Erreur] : Vous n'avez pas assez (%player's balance%-{_20}) d'argent &cpour effectuer cette action." to arg 2 else: give 8 17 to arg 2 message "&3[buy] : &7Votre achat s'est effectuée avec &2succès &7!" to arg 2 message "&c[Erreur] : Vous n'avez pas assez d'argent &cpour effectuer cette action." to arg 2 if arg 1 is 16: if arg 2 don't have 16 Oak Wood: message "&c[Erreur] : Vous n'avez pas suffisamment de &3Charbon &cpour effectuer cette action." to arg 2 else: remove 16 Oak Wood from the inventory of arg 2 message "&3[sell] : &7Votre vente s'est effectuée avec &2succès &7!" to arg 2 make console execute command "eco give %arg 2% %{_2}%" if arg 1 is 34: if arg 2 don't have 34 Oak Wood: message "&c[Erreur] : Vous n'avez pas suffisamment de &3Charbon &cpour effectuer cette action." to arg 2
  10. nathan

    Aide pour des variables

    Non pas de problème j'ai trouvé un solution =) if arg 1 is 1: if arg 2 don't have 1 diamond: message "&c[Erreur] : Vous n'avez pas suffisamment de &3Diamant &cpour effectuer cette action." to arg 2 else: remove 1 diamond from the inventory of arg 2 message "&3[sell] : &7Votre vente s'est effectuée avec &2succès &7!" to arg 2 make console execute command "eco give %arg 2% %{_75}%"
  11. nathan

    Donner de l'argent

    J'ai besoin d'aide pour effectuer l'action donner de l'argent ci dessous command /sellgold <number> <player>: trigger: if arg 1 is 1: if arg 2 don't have 1 gold ingot: message "&c[Erreur] : Vous n'avez pas suffisamment de &3Diamant &cpour effectuer cette action." to arg 2 else: remove 1 gold ingot from the inventory of arg 2 message "&3[sell] : &7Votre vente s'est effectuée avec &2succès &7!" to arg 2 execute console command "eco give %player% 400" Car execute console command "eco give %player% 400 ne marche pas
  12. nathan

    Aide pour des variables

    Merci de ton aide tous marche sauf encore un truc c'est pour que le joueur puisse avoir de l'argent.. Merci
  13. nathan

    Aide pour des variables

    je n'avais tous copié sorry =) mais se n'est pas ca la faute
  14. nathan

    Aide pour des variables

    Oui je n'avais tous copié sorry =)
  15. nathan

    Aide pour des variables

    d /start shop: permission: op trigger: set {2} to 2 set {4} to 4 set {8} to 8 set {16} to 16 set {34} to 34 set {48} to 48 set {56} to 56 set {64} to 64 command /diamond2: permission: op trigger: set {_75} to 75 set {_*2} to ({2}*{_75}) set {_*4} to ({4}*{_75}) set {_*8} to ({8}*{_75}) set {_*16} to ({16}*{_75}) set {_*34} to ({32}*{_75}) set {_*48} to ({48}*{_75}) set {_*56} to ({56}*{_75}) set {_*64} to ({64}*{_75}) wait 1 ticks open chest with 1 rows named "&bDiamant &7: &e&lvente" to player wait 1 tick format slot 0 of player with a diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &81 || &8&lPrix de vente &7: &8%{_75}%$ " to run [run player command "sell1diamond" as op] wait 1 ticks format slot 1 of player with 2 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &82 || &8&lPrix de vente &7: &8%{_*2}%$ " to run [run player command "sell2diamond" as op] wait 1 ticks format slot 2 of player with 4 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &84 || &8&lPrix de vente &7: &8%{_*4}%$ " to run [run player command "sell4diamond" as op] wait 1 ticks format slot 3 of player with 8 diamond named "&bDiamant &7: &e&8lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &88 || &8&lPrix de vente &7: &8%{_*8}%$ " to run [run player command "sell8diamond" as op] wait 1 ticks format slot 4 of player with 16 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &816 || &8&lPrix de vente &7: &8%{_*16}%$ " to run [run player command "sell16diamond" as op] wait 1 ticks format slot 5 of player with 34 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &834 || &8&lPrix de vente &7: &8%{_*34}%$ " to run [run player command "sell34diamond" as op] wait 1 ticks format slot 6 of player with 48 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &848 || &8&lPrix de vente &7: &8%{_*48}%$ " to run [run player command "sell48diamond" as op] wait 1 ticks format slot 7 of player with 56 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &856 || &8&lPrix de vente &7: &8%{_*56}%$ " to run [run player command "sell56diamond" as op] wait 1 ticks format slot 8 of player with 64 diamond named "&bDiamant &7: &e&lvente" with lore "&b&lDescription : || &8&lQuantitée &7: &864 || &8&lPrix de vente &7: &8%{_*64}%$ " to run [run player command "sell64diamond" as op] Bonjour je cherche l'erreur dans mon code ca serait compliquer de vous expliquer donc je vous donne la partie du code
  16. nathan

    Vendre

    Boujour je cherche l'inverse de se code: if player's balance is greater than or equal to 201: give 2 gold ingot to player execute console command "eco take %player% 200" send "§aVous avez acheté §b2 §aOr" else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.wither.hurt" at player with pitch 1 volume 10 il faudrais par exemple si le joueur à 2 emerald ou plus que sa lui enlève 2 emerald
  17. nathan

    Grade evolutife par perm

    Mais sans wait sa bug
  18. Boujour en se moment je suis sur un projet de skript avec des menus gui(coffre) pour des grades évolutife mais j'ai juste un problème c'est que tous les gui s'affiche avant d'être dans le gui qui nous corespond donc des perm et je voudrais contourner le problème que tous les gui s'affiche un par un donc voyez par vous même on damage: name of victim contains "&f-=&7[&6&lGrade&7]&f=-" cancel event run attacker command "grade" as op on right click on villager: name of clicked villager contains "&f-=&7[&6&lGrade&7]&f=-" cancel event run player command "grade" as op command /grade: permission: op trigger: if player has permission "citoyen.skript": wait 1 ticks open chest with 1 rows named "&f-=&7[&6&lCitoyen&7]&f=-" to player wait 1 ticks format slot 0 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 1 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 2 of player with a Leather Tunic named "&f-=&7[&7&lCitoyen]&f=-" with lore "&b&lDescription : ||&8&lPrix &7: &8Grade de base" to close then run [send "&4Erreur vous avez déjà le grade &f-=&7[&6&lCitoyen&7]&f=-"] wait 1 ticks format slot 3 of player with a Chainmail Chestplate of sharpness 2 named "&f-=&7[&b&lWanted&7]&f=-" with lore "&b&lDescription : ||&8&lPrix &7: &830,000 $" to close then run [run player command "buygradewanted" as op] wait 1 ticks format slot 4 of player with a Iron Chestplate of sharpness 3 named "&f-=&7[&3&lGuerrier&7]&f=-" with lore "&b&lDescription : ||&8&lPrix &7: &8je c'est pas" to close then run [send "&4Erreur vous devez d'abord acheter le kit &f-=&7[&b&lWanted&7]&f=-"] wait 1 ticks format slot 5 of player with a Golden Chestplate of sharpness 4 named "&f-=&7[&9&lPaladin&7]&f=-" with lore "&b&lDescription : ||&8&lPrix &7: &8je c'est pas" to close then run [send "&4Erreur vous devez d'abord acheter le kit &f-=&7[&b&lWanted&7]&f=-"] wait 1 ticks format slot 6 of player with a Diamond Chestplate of sharpness 6 named "&f-=&7[&5&lGladiateur&7]&f=-" with lore "&b&lDescription : ||&8&lPrix &7: &8je c'est pas" to close then run [send "&4Erreur vous devez d'abord acheter le kit &f-=&7[&b&lWanted&7]&f=-" ] wait 1 ticks format slot 7 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 8 of player with White stained glass named " " to be unstealable else: stop if player has permission "Wanted.skript": wait 1 ticks open chest with 1 rows named "&f-=&7[&b&lWanted&7]&f=-" to player wait 1 ticks format slot 0 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 1 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 2 of player with a Leather Tunic named "&f-=&7[&7&lCitoyen]&f=-" to run [run player command "grade-erreur" as op] wait 1 ticks format slot 3 of player with a Chainmail Chestplate named "&f-=&7[&b&lWanted&7]&f=-" to run [run player command "grade-erreur" as op] wait 1 ticks format slot 4 of player with a Iron Chestplate of sharpness 3 named "&f-=&7[&3&lGuerrier&7]&f=-" to run [run player command "buygradeguerrier" as op] wait 1 ticks format slot 5 of player with a Golden Chestplate of sharpness 4 named "&f-=&7[&9&lPaladin&7]&f=-" to run [run player command "erreur" as op] wait 1 ticks format slot 6 of player with a Diamond Chestplate of sharpness 6 named "&f-=&7[&5&lGladiateur&7]&f=-" to run [run player command "erreur" as op] wait 1 ticks format slot 7 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 8 of player with White stained glass named " " to be unstealable else: stop if player has permission "Guerrier.skript": wait 1 ticks open chest with 1 rows named "&f-=&7[&3&lGuerrier&7]&f=-" to player wait 1 ticks format slot 0 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 1 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 2 of player with a Leather Tunic named "&f-=&7[&7&lCitoyen]&f=-" to run [run player command "grade-erreur" as op] wait 1 ticks format slot 3 of player with a Chainmail Chestplate named "&f-=&7[&b&lWanted&7]&f=-" to run [run player command "grade-erreur" as op] wait 1 ticks format slot 4 of player with a Iron Chestplate named "&f-=&7[&3&lGuerrier&7]&f=-" to run [run player command "grade-erreur" as op] wait 1 ticks format slot 5 of player with a Golden Chestplate of sharpness 4 named "&f-=&7[&9&lPaladin&7]&f=-" to run [run player command "buygradepaladin" as op] wait 1 ticks format slot 6 of player with a Diamond Chestplate of sharpness 6 named "&f-=&7[&5&lGladiateur&7]&f=-" to run [run player command "erreur" as op] wait 1 ticks format slot 7 of player with White stained glass named " " to be unstealable wait 1 ticks format slot 8 of player with White stained glass named " " to be unstealable command /grade-erreur: permission: op trigger: send "&4Erreur vous avez deja le grade &f-=&7[&6&lCitoyen&7]&f=-" command /buygradewanted: permission: op trigger: wait 1 ticks if player's balance is greater than or equal to 30001: wait 1 ticks execute player command "eco take %player% 30000" wait 1 ticks launch ball large firework colored red,blue,green at player timed 0 wait 1 ticks execute console command "manuadd %player% wanted" wait 1 ticks execute console command "manuaddp %player% Wanted.skript" wait 1 ticks execute console command "manudelp %player% citoyen.skript" else: send "&4Tu n'as pas assez d'argent" command /buygradeguerrier: permission: op trigger: wait 1 ticks if player's balance is greater than or equal to 30001: wait 1 ticks execute player command "eco take %player% 30000" wait 1 ticks launch ball large firework colored red,blue,green at player timed 0 wait 1 ticks execute console command "manuadd %player% Guerrier" wait 1 ticks execute console command "manuaddp %player% Guerrier.skript" wait 1 ticks execute console command "manudelp %player% Wanted.skript" else: send "&4Tu n'as pas assez d'argent" command /buygradepaladin: permission: op trigger: wait 1 ticks if player's balance is greater than or equal to 30001: wait 1 ticks execute player command "eco take %player% 30000" wait 1 ticks launch ball large firework colored red,blue,green at player timed 0 wait 1 ticks execute console command "manuadd %player% Paladin" wait 1 ticks execute console command "manuaddp %player% Paladin.skript" wait 1 ticks execute console command "manudelp %player% Guerrier.skript" else: send "&4Tu n'as pas assez d'argent" command /buygradegladiateur: permission: op trigger: wait 1 ticks if player's balance is greater than or equal to 30001: wait 1 ticks execute player command "eco take %player% 30000" wait 1 ticks launch ball large firework colored red,blue,green at player timed 0 wait 1 ticks execute console command "manuadd %player% gladiateur" wait 1 ticks execute console command "manuaddp %player% Gladiateur.skript" wait 1 ticks execute console command "manudelp %player% Paladin.skript" else: send "&4Tu n'as pas assez d'argent"
  19. nathan

    play sound

    Non on as deja fais des avec les fonda deop ou op fonda ou citoyen sa envoye le son as tous les joueurs
  20. nathan

    play sound

    Non mais j'utilise spigot
  21. nathan

    play sound

    mais enfaite j'ai fait un test avec une commande que j'ai crée /sound et j'execute le playsound seul mais sa ne marche toujours pas c'est surement un problème de serveur comment contourner ??
  22. nathan

    play sound

    format slot 1 of player with 2 iron ingot named "&aFer: ?$" to run [make player execute command "buy2Fer"] wait 1 ticks format slot 2 of player with 4 iron ingot named "&aFer: ?$" to run [make player execute command "buy4Fer"] wait 1 ticks format slot 3 of player with 8 iron ingot named "&aFer: ?$" to run [make player execute command "buy8Fer"] wait 1 ticks format slot 4 of player with 16 iron ingot named "&aFer: ?$" to run [make player execute command "buy16Fer"] wait 1 ticks format slot 5 of player with 34 iron ingot named "&aFer: ?$" to run [make player execute command "buy34Fer"] wait 1 ticks format slot 6 of player with 48 iron ingot named "&aFer: ?$" to run [make player execute command "buy48Fer"] wait 1 ticks format slot 7 of player with 56 iron ingot named "&aFer: ?$" to run [make player execute command "buy56Fer"] wait 1 ticks format slot 8 of player with 64 iron ingot named "&aFer: ?$" to run [make player execute command "buy64Fer"] command /buy1Fer: permission: op trigger: if player's balance is greater than or equal to 100: give iron ingot to player execute player command "eco take %player% 100" send "§aVous avez acheté §b1 §aFer pour " play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy2Fer: permission: op trigger: if player's balance is greater than or equal to 200: give 2 iron ingot to player execute console command "eco take %player% 200" send "§aVous avez acheté §b2 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy4Fer: permission: op trigger: if player's balance is greater than or equal to 400: give 4 iron ingot to player execute console command "eco take %player% 400" send "§aVous avez acheté §b4 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy8Fer: permission: op trigger: if player's balance is greater than or equal to 800: give 8 iron ingot to player execute console command "eco take %player% 800" send "§aVous avez acheté §b8 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy16Fer: permission: op trigger: if player's balance is greater than or equal to 1600: give 16 iron ingot to player execute console command "eco take %player% 1600" send "§aVous avez acheté §b16 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy34Fer: permission: op trigger: if player's balance is greater than or equal to 3400: give 34 iron ingot to player execute console command "eco take %player% 3400" send "§aVous avez acheté §b34 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy48Fer: permission: op trigger: if player's balance is greater than or equal to 4800: give 48 iron ingot to player execute console command "eco take %player% 4800" send "§aVous avez acheté §b48 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy56Fer: permission: op trigger: if player's balance is greater than or equal to 5600: give 56 iron ingot to player execute console command "eco take %player% 5600" send "§aVous avez acheté §b56 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy64Fer: permission: op trigger: if player's balance is greater than or equal to 6400: give 64 iron ingot to player execute console command "eco take %player% 6400" send "§aVous avez acheté §b64 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10
  23. nathan

    play sound

    format slot 1 of player with 2 iron ingot named "&aFer: ?$" to run [make player execute command "buy2Fer"] wait 1 ticks format slot 2 of player with 4 iron ingot named "&aFer: ?$" to run [make player execute command "buy4Fer"] wait 1 ticks format slot 3 of player with 8 iron ingot named "&aFer: ?$" to run [make player execute command "buy8Fer"] wait 1 ticks format slot 4 of player with 16 iron ingot named "&aFer: ?$" to run [make player execute command "buy16Fer"] wait 1 ticks format slot 5 of player with 34 iron ingot named "&aFer: ?$" to run [make player execute command "buy34Fer"] wait 1 ticks format slot 6 of player with 48 iron ingot named "&aFer: ?$" to run [make player execute command "buy48Fer"] wait 1 ticks format slot 7 of player with 56 iron ingot named "&aFer: ?$" to run [make player execute command "buy56Fer"] wait 1 ticks format slot 8 of player with 64 iron ingot named "&aFer: ?$" to run [make player execute command "buy64Fer"] command /buy1Fer: permission: op trigger: if player's balance is greater than or equal to 100: give iron ingot to player execute player command "eco take %player% 100" send "§aVous avez acheté §b1 §aFer pour " play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy2Fer: permission: op trigger: if player's balance is greater than or equal to 200: give 2 iron ingot to player execute console command "eco take %player% 200" send "§aVous avez acheté §b2 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy4Fer: permission: op trigger: if player's balance is greater than or equal to 400: give 4 iron ingot to player execute console command "eco take %player% 400" send "§aVous avez acheté §b4 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy8Fer: permission: op trigger: if player's balance is greater than or equal to 800: give 8 iron ingot to player execute console command "eco take %player% 800" send "§aVous avez acheté §b8 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy16Fer: permission: op trigger: if player's balance is greater than or equal to 1600: give 16 iron ingot to player execute console command "eco take %player% 1600" send "§aVous avez acheté §b16 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy34Fer: permission: op trigger: if player's balance is greater than or equal to 3400: give 34 iron ingot to player execute console command "eco take %player% 3400" send "§aVous avez acheté §b34 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy48Fer: permission: op trigger: if player's balance is greater than or equal to 4800: give 48 iron ingot to player execute console command "eco take %player% 4800" send "§aVous avez acheté §b48 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy56Fer: permission: op trigger: if player's balance is greater than or equal to 5600: give 56 iron ingot to player execute console command "eco take %player% 5600" send "§aVous avez acheté §b56 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy64Fer: permission: op trigger: if player's balance is greater than or equal to 6400: give 64 iron ingot to player execute console command "eco take %player% 6400" send "§aVous avez acheté §b64 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10
  24. nathan

    play sound

    command /iron: permission: op trigger: wait 1 ticks open chest with 2 rows named "&cFer" to player wait 1 ticks format slot 0 of player with a iron ingot named "&aFer: ?$" to run [make player execute command "buy1Fer"] wait 1 ticks format slot 1 of player with 2 iron ingot named "&aFer: ?$" to run [make player execute command "buy2Fer"] wait 1 ticks format slot 2 of player with 4 iron ingot named "&aFer: ?$" to run [make player execute command "buy4Fer"] wait 1 ticks format slot 3 of player with 8 iron ingot named "&aFer: ?$" to run [make player execute command "buy8Fer"] wait 1 ticks format slot 4 of player with 16 iron ingot named "&aFer: ?$" to run [make player execute command "buy16Fer"] wait 1 ticks format slot 5 of player with 34 iron ingot named "&aFer: ?$" to run [make player execute command "buy34Fer"] wait 1 ticks format slot 6 of player with 48 iron ingot named "&aFer: ?$" to run [make player execute command "buy48Fer"] wait 1 ticks format slot 7 of player with 56 iron ingot named "&aFer: ?$" to run [make player execute command "buy56Fer"] wait 1 ticks format slot 8 of player with 64 iron ingot named "&aFer: ?$" to run [make player execute command "buy64Fer"] command /buy1Fer: permission: op trigger: if player's balance is greater than or equal to 100: give iron ingot to player execute player command "eco take %player% 100" send "§aVous avez acheté §b1 §aFer pour " play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy2Fer: permission: op trigger: if player's balance is greater than or equal to 200: give 2 iron ingot to player execute console command "eco take %player% 200" send "§aVous avez acheté §b2 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy4Fer: permission: op trigger: if player's balance is greater than or equal to 400: give 4 iron ingot to player execute console command "eco take %player% 400" send "§aVous avez acheté §b4 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy8Fer: permission: op trigger: if player's balance is greater than or equal to 800: give 8 iron ingot to player execute console command "eco take %player% 800" send "§aVous avez acheté §b8 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy16Fer: permission: op trigger: if player's balance is greater than or equal to 1600: give 16 iron ingot to player execute console command "eco take %player% 1600" send "§aVous avez acheté §b16 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy34Fer: permission: op trigger: if player's balance is greater than or equal to 3400: give 34 iron ingot to player execute console command "eco take %player% 3400" send "§aVous avez acheté §b34 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy48Fer: permission: op trigger: if player's balance is greater than or equal to 4800: give 48 iron ingot to player execute console command "eco take %player% 4800" send "§aVous avez acheté §b48 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy56Fer: permission: op trigger: if player's balance is greater than or equal to 5600: give 56 iron ingot to player execute console command "eco take %player% 5600" send "§aVous avez acheté §b56 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy64Fer: permission: op trigger: if player's balance is greater than or equal to 6400: give 64 iron ingot to player execute console command "eco take %player% 6400" send "§aVous avez acheté §b64 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10
  25. nathan

    play sound

    Le problème vient peut être que c'est dans un menu et que sa execute un "execute player command" je te montre le code command /iron: permission: op trigger: wait 1 ticks open chest with 2 rows named "&cFer" to player wait 1 ticks format slot 0 of player with a iron ingot named "&aFer: ?$" to run [make player execute command "buy1Fer"] wait 1 ticks format slot 1 of player with 2 iron ingot named "&aFer: ?$" to run [make player execute command "buy2Fer"] wait 1 ticks format slot 2 of player with 4 iron ingot named "&aFer: ?$" to run [make player execute command "buy4Fer"] wait 1 ticks format slot 3 of player with 8 iron ingot named "&aFer: ?$" to run [make player execute command "buy8Fer"] wait 1 ticks format slot 4 of player with 16 iron ingot named "&aFer: ?$" to run [make player execute command "buy16Fer"] wait 1 ticks format slot 5 of player with 34 iron ingot named "&aFer: ?$" to run [make player execute command "buy34Fer"] wait 1 ticks format slot 6 of player with 48 iron ingot named "&aFer: ?$" to run [make player execute command "buy48Fer"] wait 1 ticks format slot 7 of player with 56 iron ingot named "&aFer: ?$" to run [make player execute command "buy56Fer"] wait 1 ticks format slot 8 of player with 64 iron ingot named "&aFer: ?$" to run [make player execute command "buy64Fer"] command /buy1Fer: permission: op trigger: if player's balance is greater than or equal to 100: give iron ingot to player execute player command "eco take %player% 100" send "§aVous avez acheté §b1 §aFer pour " play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy2Fer: permission: op trigger: if player's balance is greater than or equal to 200: give 2 iron ingot to player execute console command "eco take %player% 200" send "§aVous avez acheté §b2 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy4Fer: permission: op trigger: if player's balance is greater than or equal to 400: give 4 iron ingot to player execute console command "eco take %player% 400" send "§aVous avez acheté §b4 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy8Fer: permission: op trigger: if player's balance is greater than or equal to 800: give 8 iron ingot to player execute console command "eco take %player% 800" send "§aVous avez acheté §b8 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy16Fer: permission: op trigger: if player's balance is greater than or equal to 1600: give 16 iron ingot to player execute console command "eco take %player% 1600" send "§aVous avez acheté §b16 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy34Fer: permission: op trigger: if player's balance is greater than or equal to 3400: give 34 iron ingot to player execute console command "eco take %player% 3400" send "§aVous avez acheté §b34 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy48Fer: permission: op trigger: if player's balance is greater than or equal to 4800: give 48 iron ingot to player execute console command "eco take %player% 4800" send "§aVous avez acheté §b48 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy56Fer: permission: op trigger: if player's balance is greater than or equal to 5600: give 56 iron ingot to player execute console command "eco take %player% 5600" send "§aVous avez acheté §b56 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10 command /buy64Fer: permission: op trigger: if player's balance is greater than or equal to 6400: give 64 iron ingot to player execute console command "eco take %player% 6400" send "§aVous avez acheté §b64 §aFer" play raw sound "random.levelup" at player with pitch 1 volume 10 else: send "§4/!\ §ctu n'as pas assez d'argent" play raw sound "mob.villager.no" at player with pitch 1 volume 10
×
×
  • 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.