variables: {coinsy::%player%} = 0 on mine of stone: chance of 7.14%: add 5 to {coinsy::%player%} send "&6&lCOINSY&7 » &aZnalazles &65 coins'ow &aw wykopanym kamieniu!" command /sklep []: trigger: wait 2 ticks open chest with 1 rows named "&6" to player loop 8 times: format slot loop-number of player with light gray glass named "&7" to be unstealable wait 3 ticks format slot 0 of player with 1 green wool named "&aKup" to close then run [make player execute command "/kupno"] format slot 1 of player with 1 red wool named "&cSprzedaj" to close then run [make player execute command "/sprzedarz"] format slot 8 of player with 1 gold nugget named "&6Coinsy" with lore "&7Twoje coinsy&6: &7%{coinsy::%player%}%" to be unstealable command /coins [] [] []: trigger: if arg 1 is not set: send "&6&lSKLEP &7» &aPoprawne uzycie &c(&7/coins przelej [nick] [ilosc]&c)" if arg 1 is "przelej": if arg 2 is set: if arg 3 is set: if {coinsy::%player%} is greater than or equal to arg-3: remove arg-3 from {coinsy::%player%} send "&6&lSKLEP &7» &aPrzelales graczu %arg 2%, %arg 3% coins'ow!" add arg-3 to {coinsy::%arg 2%} else: send "&6&lSKLEP &7» &aNie posiadasz %arg 3% coins'ow!" command /reset []: permission: reset.coins trigger: set {coinsy::%player%} to 0 set {coinsy.topka} to 0 command /kupno []: trigger: wait 3 ticks open chest with 3 rows named "&6" to player loop 25 times: format slot loop-number of player with light gray glass named "&7" to be unstealable wait 2 ticks format slot 0 of player with 2 enchanted golden apple with lore "&aCena &7» &6150 coins" to close then run [make player execute command "/ik koxyt"] format slot 1 of player with 8 golden apple with lore "&aCena &7» &6125 coins" to close then run [make player execute command "/ik refilekx"] format slot 2 of player with 1 potion of speed 2 with lore "&aCena &7» &6300 coins" to close then run [make player execute command "/ik spidektfujka"] format slot 3 of player with 1 diamond helmet of protection 4, unbreaking 3 with lore "&aCena &7» &6250 coins" to close then run [make player execute command "/ik helmikp4u3"] format slot 4 of player with 1 diamond chestplate of protection 4, unbreaking 3 with lore "&aCena &7» &6250 coins" to close then run [make player execute command "/ik klatap4u3"] format slot 5 of player with 1 diamond leggings of protection 4, unbreaking 3 with lore "&aCena &7» &6250 coins" to close then run [make player execute command "/ik spodniep4u3"] format slot 6 of player with 1 diamond boots of protection 4, unbreaking 3 with lore "&aCena &7» &6250 coins" to close then run [make player execute command "/ik butyp4u3"] format slot 7 of player with 1 diamond sword of sharpness 5, fire aspect 2, unbreaking 3 with lore "&aCena &7» &6350 coins" to close then run [make player execute command "/ik s5f2u3"] format slot 8 of player with 1 diamond sword of knockback 2, unbreaking 3, fire aspect 2 with lore "&aCena &7» &6400 coins" to close then run [make player execute command "/ik k2u3f2"] format slot 9 of player with 1 diamond pickaxe of efficiency 5, fortune 3, unbreaking 3 with lore "&aCena &7» &6325 coins" to close then run [make player execute command "/ik k533"] format slot 10 of player with 1 diamond pickaxe of efficiency 6, fortune 3, unbreaking 3 named "&c&l6/3/3" with lore "&aCena &7» &6750 coins" to close then run [make player execute command "/ik k633"] format slot 11 of player with 4 ender pearl with lore "&aCena &7» &6200 coins" to close then run [make player execute command "/ik eperl"] format slot 12 of player with 1 bow of punch 2, infinity 1, unbreaking 1 with lore "&aCena &7» &6375 coins" to close then run [make player execute command "/ik bp2i1"] format slot 13 of player with 1 arrow with lore "&aCena &7» &65 coins" to close then run [make player execute command "/ik arr1"] format slot 14 of player with 64 tnt named "&73&fx&764" with lore "&aCena &7» &6335 coins||&aPamietaj o 3 wolnych slotach w EQ!" to close then run [make player execute command "/ik tnt196"] format slot 26 of player with 1 red glass named "&9Powrot" to close then run [make player execute command "/sklep"] command /sprzedarz []: trigger: wait 3 ticks open chest with 3 rows named "&6" to player loop 25 times: format slot loop-number of player with light gray glass named "&7" to be unstealable wait 2 ticks format slot 0 of player with 64 cobblestone with lore "&aCena sprzedazy &7» &65 coins" to close then run [make player execute command "/ik slcbl"] format slot 1 of player with 64 iron ingot with lore "&aCena sprzedazy &7» &615 coins" to close then run [make player execute command "/ik sliig"] format slot 2 of player with 64 gold ingot with lore "&aCena sprzedazy &7» &630 coins" to close then run [make player execute command "/ik slgig"] format slot 3 of player with 64 diamond with lore "&aCena sprzedazy &7» &650 coins" to close then run [make player execute command "/ik sldmd"] format slot 4 of player with 64 emerald with lore "&aCena sprzedazy &7» &665 coins" to close then run [make player execute command "/ik sleme"] format slot 26 of player with 1 red glass named "&9Powrot" to close then run [make player execute command "/sklep"] command /ik []: trigger: if arg 1 is "koxyt": if {coinsy::%player%} is less than 150: send "&6&lSKLEP&7 » &aNie posiadasz wystarczajaco coins'ow!" stop else: give 2 enchanted golden apple to player remove 150 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&72x&6enchanted golden apple&c)" stop if arg 1 is "refilekx": if {coinsy::%player%} is less than 125: send "&6&lSKLEP&7 » &aNie posiadasz wystarczajaco coins'ow!" stop else: give 8 golden apple to player remove 125 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&78x&6golden apple&c)" stop if arg 1 is "spidektfujka": if {coinsy::%player%} is less than 300: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 potion of speed 2 to player remove 300 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&71x&6potion of speed tier 2&c)" stop if arg 1 is "helmikp4u3": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond helmet of protection 4, unbreaking 3 to player remove 250 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&6diamond helmet protection 4, unbreaking 3&c)" stop if arg 1 is "klatap4u3": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond chestplate of protection 4, unbreaking 3 to player remove 250 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&6diamond chestplate protection 4, unbreaking 3&c)" stop if arg 1 is "spodniep4u3": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie posiadasz wystarczjaco coins'ow!" stop else: give 1 diamond leggings of protection 4, unbreaking 3 to player remove 250 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&6diamond leggings protection 4, unbreaking 3&c)" stop if arg 1 is "butyp4u3": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond boots of protection 4, unbreaking 3 to player remove 250 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&6diamond boots protection 4, unbreaking 3&c)" stop if arg 1 is "s5f2u3": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond sword of sharpness 5, fire aspect 2, unbreaking 3 to player remove 350 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&6diamond sword sharpness 5, fire 2, unbreaking 3&c)" stop if arg 1 is "k2u3f2": if {coinsy::%player%} is less than 250: send "&6&lSKLEP &7» &aNie poisadasz wystarczajaco coins'ow!" stop else: give 1 diamond sword of knockback 2, unbreaking 3, fire aspect 2 to player remove 400 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&6diamond sword knockback 2, fire 2, unbreaking 3&c)" stop if arg 1 is "k533": if {coinsy::%player%} is less than 325: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond pickaxe of efficiency 5, unbreaking 3, fortune 3 to player remove 325 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&6diamond pickaxe efficiency 5, unbreaking 3, fortne 3&c)" stop if arg 1 is "k633": if {coinsy::%player%} is less than 750: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 diamond pickaxe of efficiency 6, unbreaking 3, fortune 3 to player remove 750 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&6diamond pickaxe efficiency 6, unbreaking 3, fortne 3&c)" stop if arg 1 is "eperl": if {coinsy::%player%} is less than 200: send "&6&lSKLEP&7 » &aNie posiadasz wystarczajaco coins'ow!" stop else: give 4 ender pearl to player send "&6&lSKLEP &7» &aKupiles &c(&74x&6ender pearl&c)" remove 200 from {coinsy::%player%} stop if arg 1 is "bp2i1": if {coinsy::%player%} is less than 375: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coinso'ow!" stop else: give 1 bow of punch 2, unbreaking 1, infinity 1 to player remove 375 from {coinsy::%player%} send "&6&lSKLEP&7 » &aKupiles &c(&6bow punch 2, unbreaking 1, infinity 1&c)" stop if arg 1 is "tnt196": if {coinsy::%player%} is less than 335: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 64 tnt to player give 64 tnt to player give 64 tnt to player remove 335 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&73x64&6 tnt&c)" if arg 1 is "arr1": if {coinsy::%player%} is less than 5: send "&6&lSKLEP &7» &aNie posiadasz wystarczajaco coins'ow!" stop else: give 1 arrow to player remove 5 from {coinsy::%player%} send "&6&lSKLEP &7» &aKupiles &c(&71x&6arrow&c)" stop if arg 1 is "slcbl": if player don't have 64 cobblestone: send "&6&lSKLEP&7 » &aNie posiadasz wymaganego przedmiotu!" stop else: remove 64 cobblestone from player add 5 to {coinsy::%player%} send "&6&lSKLEP&7 » &aSprzedales &c(&764x&6cobblestone&c)" stop if arg 1 is "sliig": if player don't have 64 iron ingot: send "&6&lSKLEP&7 » &aNie posiadasz wymaganego przedmiotu!" stop else: remove 64 iron ingot from player add 15 to {coinsy::%player%} send "&6&lSKLEP&7 » &aSprzedales &c(&764x&6iron ingot&c)" if arg 1 is "slgig": if player don't have 64 gold ingot: send "&6&lSKLEP&7 » &aNie posiadasz wymaganego przedmiotu!" stop else: remove 64 gold ingot from player add 30 to {coinsy::%player%} send "&6&lSKLEP &7» &aSprzedales &c(&764x&6gold ingot&c)" stop if arg 1 is "sldmd": if player don't have 64 diamond: send "&6&lSKLEP&7 » &aNie posiadasz wymaganego przedmiotu!" stop else: remove 64 diamond from player add 50 to {coinsy::%player%} send "&6&lSKLEP &7» &aSprzedales &c(&764x&6diamond&c)" stop if arg 1 is "sleme": if player don't have 64 emerald: send "&6&lSKLEP &7» &aNie posiadasz wymaganego przedmiotu!" stop else: remove 64 emerald from player add 65 to {coinsy::%player%} send "&6&lSKLEP &7» &aSprzedales &c(&764x&6emerald&c)" stop command /coinser []: permission: hack.coins trigger: add 1000 to {coinsy::%player%}