Aller au contenu

Darkmariosan

Membre
  • Compteur de contenus

    105
  • Inscription

  • Dernière visite

  • Crédits

    0 [Faire un don]

Réputation sur la communauté

6 Neutre

À propos de Darkmariosan

  • Rang
    Membre

Visiteurs récents du profil

Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.

  1. Bonjour ! Je suis un ami de Milwen, je lui es refait le code et toujours le même problème voici le code: options: PM: &2[&aEnchant Table&2] PR: &4[&cEnchant Table&4] on rightclick on ender portal frame: set {_locheal} to location of event-block remove 1 from y-coordinate of {_locheal} if block at {_locheal} is emerald block: wait 2 ticks open virtual chest inventory with size 1 named "&aRune Table" to player wait a tick format gui slot 1 of player with a diamond sword named "&a&lSword Enchant" to run player command "/§sword.enchant" format gui slot 4 of player with a diamond pickaxe named "&a&lPickaxe Enchant" to run player command "/§pickaxe.enchant" format gui slot 7 of player with a diamond chestplate named "&a&lArmor Enchant" to run player command "/§armor.enchant" command /§sword.enchant: trigger: open virtual chest inventory with size 1 named "&aSword Enchant" to player wait a tick format gui slot 2 of player with a blaze powder named "&aFire Aspect" to run player command "/§sword.fire" format gui slot 4 of player with a string named "&aSharpness" to run player command "/§sword.sharpness" format gui slot 6 of player with a iron block named "&aUnbreaking" to run player command "/§all.unbreaking" #Enchantement Fire Aspect command /§sword.fire: trigger: open virtual chest inventory with size 1 named "&aFire Aspect Enchant" to player wait a tick format gui slot 2 of player with a emerald named "&aFire Aspect &n1" with lore "&aCoût: &a64 Emeraudes" to run player command "/§fire.01" format gui slot 4 of player with a emerald named "&aFire Aspect &n2" with lore "&aCoût: &a128 Emeraudes" to run player command "/§fire.02" format gui slot 6 of player with a emerald named "&aFire Aspect &n3" with lore "&aCoût: &a256 Emeraudes" to run player command "/§fire.03" command /§fire.01: trigger: if player has 64 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with fire aspect 1 send "{@PM} &aVotre épée a désormais l'enchantement &nFire&r &a&nAspect&r &a&n1&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§fire.02: trigger: if player has 128 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with fire aspect 2 send "{@PM} &aVotre épée a désormais l'enchantement &nFire&r &a&nAspect&r &a&n2&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§fire.03: trigger: if player has 256 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with fire aspect 3 send "{@PM} &aVotre épée a désormais l'enchantement &nFire&r &a&nAspect&r &a&n3&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player #Enchantement Sharpness command /§sword.sharpness: trigger: open virtual chest inventory with size 1 named "&aSharpness Enchant" to player wait a tick format gui slot 1 of player with a emerald named "&aSharpness &n5" with lore "&aCoût: &a64 Emeraudes" to run player command "/§sh.05" format gui slot 2 of player with a emerald named "&aSharpness &n6" with lore "&aCoût: &a128 Emeraudes" to run player command "/§sh.06" format gui slot 3 of player with a emerald named "&aSharpness &n7" with lore "&aCoût: &a256 Emeraudes" to run player command "/§sh.07" format gui slot 5 of player with a emerald named "&aSharpness &n8" with lore "&aCoût: &a512 Emeraudes" to run player command "/§sh.08" format gui slot 6 of player with a emerald named "&aSharpness &n9" with lore "&aCoût: &a1024 Emeraudes" to run player command "/§sh.09" format gui slot 7 of player with a emerald named "&aSharpness &n10" with lore "&aCoût: &a2048 Emeraudes" to run player command "/§sh.10" command /§sh.05: trigger: if player has 64 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 5 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n5&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§sh.06: trigger: if player has 128 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 6 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n6&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§sh.07: trigger: if player has 256 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 7 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n7&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§sh.08: trigger: if player has 512 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 8 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n8&a !" to player remove 512 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 512 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§sh.09: trigger: if player has 1024 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 6 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n9&a !" to player remove 1024 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 1024 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§sh.10: trigger: if player has 2048 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword: enchant player's tool with sharpness 10 send "{@PM} &aVotre épée a désormais l'enchantement &nSharpness&r &a&n10&a !" to player remove 2048 emerald from player else: send "{@PR} &cTu dois tenir l'épée en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 2048 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player #Unbreaking Enchant command /§all.unbreaking: trigger: open virtual chest inventory with size 1 named "&aUnbreaking Enchant" to player wait a tick format gui slot 1 of player with a emerald named "&aUnbreaking &n1" with lore "&aCoût: &a64 Emeraudes" to run player command "/§un.01" format gui slot 2 of player with a emerald named "&aUnbreaking &n2" with lore "&aCoût: &a128 Emeraudes" to run player command "/§un.02" format gui slot 4 of player with a emerald named "&aUnbreaking &n3" with lore "&aCoût: &a256 Emeraudes" to run player command "/§un.03" format gui slot 6 of player with a emerald named "&aUnbreaking &n4" with lore "&aCoût: &a512 Emeraudes" to run player command "/§un.04" format gui slot 7 of player with a emerald named "&aUnbreaking &n5" with lore "&aCoût: &a1024 Emeraudes" to run player command "/§un.05" command /§un.01: trigger: if player has 64 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword or wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe or fishing rod or flint and steel or leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with unbreaking 1 send "{@PM} &aVotre item a désormais l'enchantement &nUnbreaking&r &a&n1&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§un.02: trigger: if player has 128 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword or wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe or fishing rod or flint and steel or leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with unbreaking 2 send "{@PM} &aVotre item a désormais l'enchantement &nUnbreaking&r &a&n2&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§un.03: trigger: if player has 256 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword or wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe or fishing rod or flint and steel or leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with unbreaking 3 send "{@PM} &aVotre item a désormais l'enchantement &nUnbreaking&r &a&n3&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§un.04: trigger: if player has 512 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword or wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe or fishing rod or flint and steel or leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with unbreaking 4 send "{@PM} &aVotre item a désormais l'enchantement &nUnbreaking&r &a&n4&a !" to player remove 512 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 512 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§un.05: trigger: if player has 1024 emerald: if player's tool is a diamond sword or a golden sword or a wooden sword or a stone sword or a iron sword or wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe or fishing rod or flint and steel or leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with unbreaking 5 send "{@PM} &aVotre item a désormais l'enchantement &nUnbreaking&r &a&n5&a !" to player remove 1024 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 1024 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player #Pickaxe Enchant command /§pickaxe.enchant: trigger: open virtual chest inventory with size 1 named "&aPickaxe Enchant" to player wait a tick format gui slot 2 of player with a string named "&aEfficiency" to run player command "/§pickaxe.efficiency" format gui slot 4 of player with a diamond named "&aFortune" to run player command "/§pickaxe.fortune" format gui slot 6 of player with a iron block named "&aUnbreaking" to run player command "/§all.unbreaking" #Efficiency Enchant command /§pickaxe.efficiency: trigger: open virtual chest inventory with size 1 named "&aEfficiency Enchant" to player wait a tick format gui slot 1 of player with a emerald named "&aEfficiency &n5" with lore "&aCoût: &a64 Emeraudes" to run player command "/§ef.05" format gui slot 2 of player with a emerald named "&aEfficiency &n6" with lore "&aCoût: &a128 Emeraudes" to run player command "/§ef.06" format gui slot 3 of player with a emerald named "&aEfficiency &n7" with lore "&aCoût: &a256 Emeraudes" to run player command "/§ef.07" format gui slot 5 of player with a emerald named "&aEfficiency &n8" with lore "&aCoût: &a512 Emeraudes" to run player command "/§ef.08" format gui slot 6 of player with a emerald named "&aEfficiency &n9" with lore "&aCoût: &a1024 Emeraudes" to run player command "/§ef.09" format gui slot 7 of player with a emerald named "&aEfficiency &n10" with lore "&aCoût: &a2048 Emeraudes" to run player command "/§ef.10" command /§ef.05: trigger: if player has 64 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 5 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n5&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§ef.06: trigger: if player has 128 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 6 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n6&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§ef.07: trigger: if player has 256 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 7 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n7&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§ef.08: trigger: if player has 512 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 8 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n8&a !" to player remove 512 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 512 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§ef.09: trigger: if player has 1024 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 9 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n9&a !" to player remove 1024 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 1024 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§ef.10: trigger: if player has 2048 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with efficiency 10 send "{@PM} &aVotre item a désormais l'enchantement &nEfficiency&r &a&n10&a !" to player remove 2048 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 2048 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player #Fortune Enchant command /§pickaxe.fortune: trigger: open virtual chest inventory with size 1 named "&aFortune Enchant" to player wait a tick format gui slot 2 of player with a emerald named "&aFortune &n1" with lore "&aCoût: &a64 Emeraudes" to run player command "/§fo.01" format gui slot 4 of player with a emerald named "&aFortune &n2" with lore "&aCoût: &a128 Emeraudes" to run player command "/§fo.02" format gui slot 6 of player with a emerald named "&aFortune &n3" with lore "&aCoût: &a256 Emeraudes" to run player command "/§fo.03" command /§fo.01: trigger: if player has 64 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with fortune 1 send "{@PM} &aVotre item a désormais l'enchantement &nFortune&r &a&n1&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§fo.02: trigger: if player has 128 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with fortune 2 send "{@PM} &aVotre item a désormais l'enchantement &nFortune&r &a&n2&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§fo.03: trigger: if player has 256 emerald: if player's tool is a wooden axe or stone axe or golden axe or iron axe or diamond axe or wooden pickaxe or stone pickaxe or golden pickaxe or iron pickaxe or diamond pickaxe or wooden shovel or stone shovel or golden shovel or iron shovel or diamond shovel or wooden hoe or stone hoe or golden hoe or iron hoe or diamond hoe: enchant player's tool with fortune 3 send "{@PM} &aVotre item a désormais l'enchantement &nFortune&r &a&n3&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player #Armor Enchant command /§armor.enchant: trigger: open virtual chest inventory with size 1 named "&aArmor Enchant" to player wait a tick format gui slot 3 of player with a string named "&aProtection" to run player command "/§armor.pro" format gui slot 5 of player with a iron block named "&aUnbreaking" to run player command "/§all.unbreaking" #Protection Enchant command /§armor.pro: trigger: open virtual chest inventory with size 1 named "&aProtection Enchant" to player wait a tick format gui slot 1 of player with a emerald named "&aProtection &n5" with lore "&aCoût: &a64 Emeraudes" to run player command "/§po.05" format gui slot 2 of player with a emerald named "&aProtection &n6" with lore "&aCoût: &a128 Emeraudes" to run player command "/§po.06" format gui slot 3 of player with a emerald named "&aProtection &n7" with lore "&aCoût: &a256 Emeraudes" to run player command "/§po.07" format gui slot 5 of player with a emerald named "&aProtection &n8" with lore "&aCoût: &a512 Emeraudes" to run player command "/§po.08" format gui slot 6 of player with a emerald named "&aProtection &n9" with lore "&aCoût: &a1024 Emeraudes" to run player command "/§po.09" format gui slot 7 of player with a emerald named "&aProtection &n10" with lore "&aCoût: &a2048 Emeraudes" to run player command "/§po.10" command /§po.05: trigger: if player has 64 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 5 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n5&a !" to player remove 64 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 64 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§po.06: trigger: if player has 128 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 6 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n6&a !" to player remove 128 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 128 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§po.07: trigger: if player has 256 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 7 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n7&a !" to player remove 256 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 256 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§po.08: trigger: if player has 512 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 8 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n8&a !" to player remove 512 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 512 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§po.09: trigger: if player has 1024 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 9 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n9&a !" to player remove 1024 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 1024 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player command /§po.10: trigger: if player has 2048 emerald: if player's tool is a leather helmet or leather chestplate or leather leggings or leather boots or iron helmet or iron chestplate or iron leggings or iron boots or diamond helmet or diamond chestplate or diamond leggings or diamond boots or golden helmet or golden chestplate or golden leggings or golden boots: enchant player's tool with protection 10 send "{@PM} &aVotre item a désormais l'enchantement &nProtection&r &a&n10&a !" to player remove 2048 emerald from player else: send "{@PR} &cTu dois tenir l'item en question dans tes mains !" to player else: set {_emerald} to amount of emerald in player's inventory set {_calcul} to 2048 - {_emerald} send "{@PR} &cIl te manque %{_calcul}% &cémeraudes &c!" to player Sur nos serveur local tout marche, cependant sur notre machine non... Avez-vous une idée ? Merci à vous ! EDIT: Seul les menus des prixs des enchantements: fire aspect, fortune, efficiency ne marchent pas le reste marche !
  2. Darkmariosan

    Set Slot une tête

    Il demande la tête d'un joueur particulier, ton code lui donne la tête du joueur qui va faire l'action (connexion etc...)
  3. Darkmariosan

    Set Slot une tête

    Salut ! Voici pour toi: give the skull of "BlueChip" parsed as offline player named "&eCacher les joueurs" to slot 1 of player En espérant t'avoir aidé !
  4. Pas mal, j'y avais pas pensé !
  5. A la place de drop ... Met give item to victim ex: give {@Item1} to victim
  6. Darkmariosan

    Chat Privé

    Salut, oui bien sur, faudrais juste set les amis dans une variable définit et apres leurs envoyés, je m'occupe de cela plus tard, je suis occupé
  7. J'ai mis le "on first join" cela veut dire que c'est des que le joueur rejoins seulement pour la première fois, vérifie cela en créant un autre compte, ou tout simplement remplacement le 'on first join" par "on join" et apres le test, tu remet "on first join" !
  8. J'ai résolut le problème pour l'argent, mais pour le message, aucune idée, personellement sa marche de mon côté ! Voici le code: on first join: loop all players: broadcast "&cBienvenue à %player%" set {bvn.%loop-player%} to "%player%" wait 20 seconds clear {bvn.%loop-player%} on chat: if {bvn.%player%} is set: if message contain "Bvn" or "Bienvenue" or "Welcome": add 10 to player's balance send "&aTu as reçu 10$ pour avoir souhaitez la bienvenue à %{bvn.%player%}% !" to player clear {bvn.%player%} Je laisse à un autre skripteur si il trouve ton soucis, bonne journée/soirée à toi !
  9. Ok, je regarde... Moi de mon côté sa marchais très bien ^^ je vois se que je peut faire...
  10. Salut ! Désolé j'avais mal compris ça demande ^^ La prochaine fois j'irais moins vite
  11. remove diamond helmet from player Code non testé !
  12. Bon j'ai fait un petit code en attendant: options: item1: ender chest item2: grass item3: diamond item4: diamond sword item5: stick item6: steak temps: 15 seconds command /rewards: trigger: if {cooldownreward.%player%} is false: chance of 16%: set {itemreward.%player%} to {@item1} chance of 16%: set {itemreward.%player%} to {@item2} chance of 16%: set {itemreward.%player%} to {@item3} chance of 16%: set {itemreward.%player%} to {@item4} chance of 16%: set {itemreward.%player%} to {@item5} chance of 16%: set {itemreward.%player%} to {@item6} wait 1 tick open chest with 3 rows named "&6&lRécompense" to player wait 1 tick if {itemreward.%player%} is not set: set {itemreward.%player%} to "grass" wait 1 tick format slot 4 of player with player's skull named "&6&l%player%" to be unstealable format slot 13 of player with {itemreward.%player%} named "&6&lRécompense" to be unstealable give {itemreward.%player%} to player wait 1 tick clear {itemreward.%player%} set {cooldownreward.%player%} to true wait {@temps} set {cooldownreward.%player%} to false send "&aTu peut réutiliser ta récompense" to player else: send "&cPatiente un peu..." to player on join: if {cooldownreward.%player%} is not set: set {cooldownreward.%player%} to false à toi de modifier/rajouter ! Bonne journée à toi !
  13. Salut, je n'en est pas vu passer pour le moment, j'ai fait quelques recherches du moins avec GUI et je n'en est pas trouvé pour le moment, je te recontacte si j'en croise un !
×
×
  • 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.