options:
tag: &8[&4Pierozek]
on place:
if player's tool is dragon_egg:
if name of player's tool is "&8[&b&lPierozek]":
cancel event
on right click:
if player's tool is dragon_egg:
if name of player's tool is "&8[&b&lPierozek]":
broadcast "&8######################################"
broadcast "&c%player% &7Otworzyl &9&lPierozek &7i wydropil:"
chance of 70%:
drop 6 diamond
broadcast "&7- &c6x Diaxy"
chance of 40%:
drop 1 311 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
broadcast "&7- &c1x Klata 4/3"
chance of 50%:
drop 64 emerald
broadcast "&7- &c64x Emeraldy"
chance of 50%:
drop 1 310 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
broadcast "&7- &c1x Helm 4/3"
chance of 80%:
drop 13 gold ingot
broadcast "&7- &c13x Zelazo"
chance of 40%:
drop 1 312 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
broadcast "&7- &c1x Spodnie 4/3"
chance of 90%:
drop 15 gold ingot
broadcast "&7- &c15x Zloto"
chance of 40%:
drop 1 276 of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2"
broadcast "&7- &c1x Miecz 5/2"
chance of 90%:
drop 3 TNT
broadcast "&7- &c3x TNT"
chance of 40%:
drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&5&lKilof 7/5/5"
broadcast "&7- &c1x Kilof 7/5/5"
remove 1 dragon_egg named "&8[&b&lPierozek]" from player's inventory
command /pierozek [<player>] [<text>]:
permission: rex.pierozek
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "{@tag} &8/&cpierozek &c[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% dragon_egg %arg 2% name:&8[&b&lPierozek]"
send "{@tag} &a&lOtrzymales &4&lPierozek &7&lx&c&l%arg 2% &a&l!" to player-arg
Pytanie
xQute 1
CZEMU TEN SKRYPT NA PIEROZEK NIE DZIAŁA
Poprawiam formatowanie; wstawiam w code.
Notatka dodana przez bludis
Odnośnik do komentarza
Udostępnij na innych stronach
5 odpowiedzi na to pytanie
Rekomendowane odpowiedzi