on mine of stone:
add 10 xp to player
set {_x} to random integer from 1 to 3
chance of 100%:
add {_x} of diamond to player
add 15 to {stone::%player%}
add 20 xp to player
send "&3Diament &7(&3%{_x}% &7szt)"
command /sklep:
trigger:
open chest with 5 rows named "&e» &aSklep" to player
wait 1 tick
format slot 0 of player with 1 of Diamond helmet named "&e» &aDiamentowy Helm" with lore "&e» &aCena : &e8500$||&e» &aProt 4 ||&e» &aUnbreaking 3 " to close then run [execute player command "/ssklep dh4"]
command /ssklep [<text>]:
trigger:
if arg 1 is "dh4":
if {monet::%player%} >= 8500:
add 1 diamond helmet of protection 4 and unbreaking 3 to player
remove 8500 from {monet::%player%}
else:
send "Nie masz pieniedzy"
on chat:
if player has permission "chat.bypass":
stop
if difference between {chat::%player%} and now is smaller than 5 seconds:
cancel event
send "&cNa czacie mozna pisac co 5 sekund."
stop
set {chat::%player%} to now
command /stworz:
trigger:
open chest with 1 rows named "&aWybierz wyspe" to player
format slot 2 of player with 1 of lava bucket named "&6Normal" to close then run [execute player command "/is create normal"]
format slot 4 of player with 1 of lava bucket named "&6Farma" to close then run [execute player command "/is create normal2"]
format slot 6 of player with 1 of lava bucket named "&6Dzungla" to close then run [execute player command "/is create normal3"]