Sripos_YT Posté(e) le 12 avril 2018 Auteur Posté(e) le 12 avril 2018 Peut-être qu'il ont Whitelist Skellett :/ Bah au lieu de "break block" tu set loop block to air et tu drop un l'item en question Attend j'vais te renvoyer un code sans le break comme sa sa pourra servire pour @MaxDu56YT aussi Tu peut le faire silteplait? parceque je connais pas trop j'ai peur de foirais tout?
LeCraftDeOuf Posté(e) le 12 avril 2018 Posté(e) le 12 avril 2018 options: GHamMSG: "&aTu as reçu %arg 2% hammeur(s) !" NNerr: "&cNombres négatifs non-autorisés !" command /hammeur [<text>] [<number>] [<player>]: permission: hammeur.give trigger: if arg 1 is "give": if arg-2 > 0: give arg-2 of iron pickaxe of efficiency 5 and unbreaking 3 named "&c[&6Hammeur&c]" to arg-3 send {@GHamMSG} else: send {@NNerr} on click: send "%tool of player%" on break: if name of player's tool is "&c[&6Hammeur&c]": set {_1.%player%} to location of event-block set {_2.%player%} to location of event-block if player's pitch is between -50 and 50: add 1 to y-coord of {_1.%player%} subtract 1 from y-coord of {_2.%player%} if player's horizontal facing is west or east: add 1 to z-coord of {_1.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 87 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else if player's horizontal facing is north or south: add 1 to x-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else: add 1 to x-coord of {_1.%player%} add 1 to z-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block
Sripos_YT Posté(e) le 12 avril 2018 Auteur Posté(e) le 12 avril 2018 options: GHamMSG: "&aTu as reçu %arg 2% hammeur(s) !" NNerr: "&cNombres négatifs non-autorisés !" command /hammeur [<text>] [<number>] [<player>]: permission: hammeur.give trigger: if arg 1 is "give": if arg-2 > 0: give arg-2 of iron pickaxe of efficiency 5 and unbreaking 3 named "&c[&6Hammeur&c]" to arg-3 send {@GHamMSG} else: send {@NNerr} on click: send "%tool of player%" on break: if name of player's tool is "&c[&6Hammeur&c]": set {_1.%player%} to location of event-block set {_2.%player%} to location of event-block if player's pitch is between -50 and 50: add 1 to y-coord of {_1.%player%} subtract 1 from y-coord of {_2.%player%} if player's horizontal facing is west or east: add 1 to z-coord of {_1.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 87 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else if player's horizontal facing is north or south: add 1 to x-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else: add 1 to x-coord of {_1.%player%} add 1 to z-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within {_1.%player%} to {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block merci je test , et aussi stp tu pourait faire que quand ont casse un block de diams il a 50% de chance de le drop ou pas? message quand il a pas de chance > &cVous avez pas eux de chance désolé ! | message chance > &bGG, vous avez reçus un diams ! |Aprêt je passe en résolu , et j'ai 3 erruer > [ATTACH=full]8135[/ATTACH]
Corkick Posté(e) le 12 avril 2018 Posté(e) le 12 avril 2018 merci je test , et aussi stp tu pourait faire que quand ont casse un block de diams il a 50% de chance de le drop ou pas? message quand il a pas de chance > &cVous avez pas eux de chance désolé ! | message chance > &bGG, vous avez reçus un diams ! |Aprêt je passe en résolu , et j'ai 3 erruer > [ATTACH=full]8135[/ATTACH] on break diamond ore: cancel event set block to air chance of 50%: drop diamond send "&bGG, vous avez reçu un diamant !" to player else: send "&cVous n'avez pas eu de chance, désolé !" to player Non testé.
Sripos_YT Posté(e) le 12 avril 2018 Auteur Posté(e) le 12 avril 2018 on break diamond ore: cancel event set block to air chance of 50%: drop diamond send "&bGG, vous avez reçu un diamant !" to player else: send "&cVous n'avez pas eu de chance, désolé !" to player Non testé. SA MARCHE MERCI !!, il me faut le truc d'hammer maintenant x) stp
Corkick Posté(e) le 12 avril 2018 Posté(e) le 12 avril 2018 SA MARCHE MERCI !!, il me faut le truc d'hammer maintenant x) stp Essaye loop blocks within location at {_1.%player%} to location at {_2.%player%}: A la place de loop blocks within {_1.%player%} to {_2.%player%}:
Sripos_YT Posté(e) le 12 avril 2018 Auteur Posté(e) le 12 avril 2018 Essaye loop blocks within location at {_1.%player%} to location at {_2.%player%}: A la place de loop blocks within {_1.%player%} to {_2.%player%}: Tu peut me le maitre dans le code parceque moi je connais rien a je vous tout niqué :x
Corkick Posté(e) le 12 avril 2018 Posté(e) le 12 avril 2018 on break: if name of player's tool is "&c[&6Hammeur&c]": set {_1.%player%} to location of event-block set {_2.%player%} to location of event-block if player's pitch is between -50 and 50: add 1 to y-coord of {_1.%player%} subtract 1 from y-coord of {_2.%player%} if player's horizontal facing is west or east: add 1 to z-coord of {_1.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 87 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else if player's horizontal facing is north or south: add 1 to x-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else: add 1 to x-coord of {_1.%player%} add 1 to z-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block
Sripos_YT Posté(e) le 12 avril 2018 Auteur Posté(e) le 12 avril 2018 on break: if name of player's tool is "&c[&6Hammeur&c]": set {_1.%player%} to location of event-block set {_2.%player%} to location of event-block if player's pitch is between -50 and 50: add 1 to y-coord of {_1.%player%} subtract 1 from y-coord of {_2.%player%} if player's horizontal facing is west or east: add 1 to z-coord of {_1.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 87 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else if player's horizontal facing is north or south: add 1 to x-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block else: add 1 to x-coord of {_1.%player%} add 1 to z-coord of {_1.%player%} subtract 1 from x-coord of {_2.%player%} subtract 1 from z-coord of {_2.%player%} loop blocks within location at {_1.%player%} to location at {_2.%player%}: id of loop-block isn't 7 or 8 or 9 or 10 or 11 or 138 or 49 or 47 or 52 or 52 or 0 set {_lol} to loop-block if {_lol} is emerald_ore: set loop-block to air drop 1 emerald at loop-block else if {_lol} is redstone_ore_off or redstone_ore_on: set loop-block to air drop 1 redstone at loop-block else if {_lol} is diamond_ore: set loop-block to air drop 1 diamond at loop-block else if {_lol} is lapis_ore: set loop-block to air drop 1 lapis at loop-block else if {_lol} is coal_ore: set loop-block to air drop 1 coal at loop-block else if {_lol} is iron_ore: set loop-block to air drop 1 iron_ore at loop-block else if {_lol} is gold_ore: set loop-block to air drop 1 gold_ore at loop-block else if {_lol} is nether_quartz_ore: set loop-block to air drop 1 nether_quartz_item at loop-block if player's tool is enchanted with fortune 1: chance of 3%: drop 1 diamond at loop-block else if player's tool is enchanted with fortune 2: chance of 3%: drop 2 diamond at loop-block else if player's tool is enchanted with fortune 3: chance of 3%: drop 3 diamond at loop-block else if player's tool is enchanted with fortune 4: chance of 3%: drop 4 diamond at loop-block else if player's tool is enchanted with fortune 5: chance of 3%: drop 5 diamond at loop-block meme erreur ..
LeCraftDeOuf Posté(e) le 15 avril 2018 Posté(e) le 15 avril 2018 Si c'est starmine qui a whitelist Skellett on peut rien de plus pour toi
Sripos_YT Posté(e) le 16 avril 2018 Auteur Posté(e) le 16 avril 2018 Si c'est starmine qui a whitelist Skellett on peut rien de plus pour toi Aupire, juste que ont me fait pas un skript avec skelett..
Shelk Posté(e) le 16 avril 2018 Posté(e) le 16 avril 2018 Selon les lignes que t'as besoin, Skelett peut être obligatoire...
MaxDu56YT Posté(e) le 19 avril 2018 Posté(e) le 19 avril 2018 Je suis chez starmine et le skript fonctionne très bien :)
LeCraftDeOuf Posté(e) le 20 avril 2018 Posté(e) le 20 avril 2018 Aupire, juste que ont me fait pas un skript avec skelett.. Vois directement avec ton hébergeur pour voir si le soucis viens directement de chez eux ou pas :)
Messages recommandés