#sklep on join: if {coins.%player%} is not set: set {coins.%player%} to 0 if {coins.x::%player%} is not set: set {coins.x::%player%} to 0 command /dodajkase [] []: trigger: if arg-1 is set: if arg 2 is number: set {_dodaj.%player arg%} to arg 2 set {coins.%player arg%} to {coins.%player arg%}+{_dodaj.%player arg%} send "&7dodales &6%arg-2% &7do konta &6%player arg%" send "%{coins.x::%player arg%}%" set {_dodaj.%player arg%} to 0 else: send "&7Kwota musi byc numerem! a nie &6%arg 2%" else: send "&7poprawne uzycie komendy &6/dodajkase " command /sklep []: trigger: open chest with 3 rows named "&c&lx&7&lBCMC&c&l.PL &6Sklep " to player wait 4 ticks loop 27 times: format slot loop-number -1 of player with 1 of 160:10 named "" to be unstealable format slot 11 of player with 1 of 35:5 named "&aKupowanie Itemow" with lore "&8» &7Kliknij aby przec dalej" to run [make player execute "tsklep5"] format slot 15 of player with 1 of 35:14 named "&cSprzedawanie Itemow" with lore "&8» &7Kliknij aby przec dalej" to run [make player execute "tsklep6"] format slot 13 of player with 1 of 371 named "&7Coinsy" with lore "&8» &7Twoje &8(&6%{coins.%player%}%&8) &7coinsy" to run [make player execute "sklep"] command /tsklep5: trigger: open chest with 3 rows named "&6Kupywanie" to player wait 3 ticks format slot 0 of player with 1 of 261 named "&61x Luk 2/1" with lore "&8» &7Koszt Luku: &6137.30 &7coins'ow" to run [make player execute "isklep kupluk"] format slot 1 of player with 2 of 322:1 named "&62x Koxy" with lore "&8» &7Koszt Koxow: &662.21 &7coins'ow" to run [make player execute "isklep kupeq"] format slot 2 of player with 1 of 278 named "&61x Kilof 6/3/3" with lore "&8» &7Koszt Kilofu: &6671.71 &7coins'ow" to run [make player execute "isklep kupkilof"] format slot 3 of player with 32 of 46 named "&632x TNT" with lore "&8» &7Koszt TnT: &646.27 &7coins'ow" to run [make player execute "isklep kuptnt"] format slot 4 of player with 3 of 368 named "&63x Perly" with lore "&8» &7Koszt Perel: &691.47 &7coins'ow" to run [make player execute "isklep kupperle"] format slot 5 of player with 8 of 322 named "&68x Refili" with lore "&8» &7Koszt Refili: &627.46 &7coins'ow" to run [make player execute "isklep kuprefil"] format slot 6 of player with 6 of 145 named "&66x Kowadel" with lore "&8» &7Koszt Kowadel: &656.91 &7coins'ow" to run [make player execute "isklep kupkowadlo"] format slot 7 of player with 1 of beacon named "&61x Beacon" with lore "&8» &7Koszt Beacon: &61471.49 &7coins'ow" to run [make player execute "isklep kupbeacon"] format slot 8 of player with 1 of diamond sword named "&61x Miecz 5/2" with lore "&8» &7Koszt Miecza: &6124.49 &7coins'ow" to run [make player execute "isklep kupmiecz"] format slot 9 of player with 1 of 397:3 named "&61x &6SVIP" with lore "&8» &7Koszt rangi SVIP: &68961.98 &7coins'ow" to run [make player execute "isklep kupvip"] format slot 10 of player with 3 of 262 named "&63x Strzaly" with lore "&8» &7Koszt Strzaly: &63.84 &7coins'ow" to run [make player execute "isklep kupstrzale"] format slot 26 of player with 1 of 35:14 named "&cPowrot do Menu" with lore "&8» &7Przenosi do Menu" to run [make player execute "sklep"] command /isklep []: trigger: if arg-1 is "kupbeacon": if {coins.%player%} is less than 1471.49: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 1 beacon to player remove 1471.49 from {coins.%player%} send "&8» &aZakupiles 1x Beacon'a" send "&8» &7Z konta odjeto 1x &8(&61471.49&8) &7coins'ow" stop if arg-1 is "kuptnt": if {coins.%player%} is less than 46.27: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 32 46 to player remove 46.27 from {coins.%player%} send "&8» &aZakupiles 32x TnT" send "&8» &7Z konta odjeto &8(&646.27&8) &7coins'ow" stop if arg-1 is "kupvip": if {coins.%player%} is less than 917.58: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: execute console command "pex user %player% group set svip" remove 8961.98 from {coins.%player%} send "&8» &aZakupiles 1x Range &6SVIP" send "&8» &7Z konta odjeto &8(&68961.98&8) &7coins'ow" stop if arg-1 is "kupeq": if {coins.%player%} is less than 62.21: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 2 322:1 to player remove 62.21 from {coins.%player%} send "&8» &aZakupiles 2x Koxy" send "&8» &7Z konta odjeto &8(&662.21&8) &7coins'ow" stop if arg-1 is "kupkilof": if {coins.%player%} is less than 671.71: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 1 diamond pickaxe of efficiency 6 and unbreaking 3 and fortune 3 to player remove 671.71 from {coins.%player%} send "&8» &aZakupiles 1x Kilof 6/3/3" send "&8» &7Z konta odjeto &8(&6671.71&8) &7coins'ow" stop if arg-1 is "kupluk": if {coins.%player%} is less than 137.30: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 1 bow of punch 2 and infinity 1 to player remove 137.30 from {coins.%player%} send "&8» &aZakupiles 1x Luk 2/1" send "&8» &7Z konta odjeto &8(&6137.30&8) &7coins'ow" stop if arg-1 is "kuprefil": if {coins.%player%} is less than 27.46: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 8 322 to player remove 27.46 from {coins.%player%} send "&8» &aZakupiles 8x Refili" send "&8» &7Z konta odjeto &8(&627.46&8) &7coins'ow" stop if arg-1 is "kupperle": if {coins.%player%} is less than 91.47: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 3 368 to player remove 91.47 from {coins.%player%} send "&8» &aZakupiles 3x Perly" send "&8» &7Z konta odjeto &8(&691.47&8) &7coins'ow" stop if arg-1 is "kupkowadlo": if {coins.%player%} is less than 56.91: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 6 anvil to player remove 56.91 from {coins.%player%} send "&8» &aZakupiles 8x Kowadel" send "&8» &7Z konta odjeto &8(&656.91&8) &7coins'ow" stop if arg-1 is "kupstrzale": if {coins.%player%} is less than 3.84: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 3 262 to player remove 3.84 from {coins.%player%} send "&8» &aZakupiles 3x Strzaly" send "&8» &7Z konta odjeto &8(&63.84&8) &7coins'ow" stop if arg-1 is "kupmiecz": if {coins.%player%} is less than 124.49: send "&4Blad &8» &cNie posiadasz wystarczajaco coins'ow" to player stop else: give 1 diamond sword of sharpness 5 and fire aspect 2 to player remove 124.49 from {coins.%player%} send "&8» &aZakupiles 1x Miecz 5/2" send "&8» &7Z konta odjeto &8(&6124.49&8) &7coins'ow" stop command /tsklep6: trigger: open chest with 3 rows named "&6Sprzedawanie" to player wait 3 ticks format slot 0 of player with 1 of 4 named "&664x Cobblestone" with lore "&8» &7Za sprzedaz otrzymasz: &61.12 &7coins'ow" to run [make player execute "isklep2 sellcobble64"] format slot 1 of player with 1 of 263 named "&664x Wegla" with lore "&8» &7Za sprzedaz otrzymasz: &63.63 &7coins'ow" to run [make player execute "isklep2 sellwegiel64"] format slot 2 of player with 1 of 331 named "&664x Redstone" with lore "&8» &7Za sprzedaz otrzymasz: &66.17 &7coins'ow" to run [make player execute "isklep2 sellredstone64"] format slot 3 of player with 1 of diamond named "&664x Diamentow" with lore "&8» &7Za sprzedaz otrzymasz: &611.09 &7coins'ow" to run [make player execute "isklep2 selldiamenty64"] format slot 4 of player with 1 of 260 named "&664x Jablka" with lore "&8» &7Za sprzedaz otrzymasz: &66.31 &7coins'ow" to run [make player execute "isklep2 selljablka64"] format slot 5 of player with 1 of 266 named "&664x Zlota" with lore "&8» &7Za sprzedaz otrzymasz: &615.39 &7coins'ow" to run [make player execute "isklep2 sellzloto64"] format slot 6 of player with 1 of 388 named "&664x Emerald" with lore "&8» &7Za sprzedaz otrzymasz: &621.39 &7coins'ow" to run [make player execute "isklep2 sellemerald64"] format slot 7 of player with 1 of 265 named "&664x Zelaza" with lore "&8» &7Za sprzedaz otrzymasz: &65.61 &7coins'ow" to run [make player execute "isklep2 sellzelazo64"] format slot 26 of player with 1 of 35:14 named "&cPowrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "sklep"] command /isklep2 []: trigger: if arg 1 is "selldiamenty64": if player don't have 64 diamond: send "&4Blad &8» &7Nie posiadasz 64x diamentow" stop else: remove 64 diamond from player add 11.09 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Diamenty" send "&8» &aDo twojego konta dodano &8(&611.09&8) &7coinsow" stop if arg 1 is "sellzloto64": if player don't have 64 266: send "&4Blad &8» &7Nie posiadasz 64x Zlota" stop else: remove 64 266 from player add 15.39 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Zlota" send "&8» &aDo twojego konta dodano &8(&615.39&8) &7coinsow" stop if arg 1 is "sellzelazo64": if player don't have 64 265: send "&4Blad &8» &7Nie posiadasz 64x &7Zelaza" stop else: remove 64 265 from player add 5.61 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Zelaza" send "&8» &aDo twojego konta dodano &8(&65.61&8) &7coinsow" stop if arg 1 is "sellwegiel64": if player don't have 64 263: send "&4Blad &8» &7Nie posiadasz 64x &7Wegla" stop else: remove 64 263 from player add 3.63 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Wegla" send "&8» &aDo twojego konta dodano &8(&63.63&8) &7coinsow" stop if arg 1 is "sellredstone64": if player don't have 64 331: send "&4Blad &8» &7Nie posiadasz 64x &7Redstone" else: remove 64 331 from player add 6.17 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Redstone" send "&8» &aDo twojego konta dodano &8(&66.17&8) &7coinsow" stop if arg 1 is "selljablka64": if player don't have 64 260: send "&4Blad &8» &7Nie posiadasz 64x &7Jablek" else: remove 64 260 from player add 6.31 to {coins.%player%} send "&8» &7Sprzedales &e64 &7Jablek" send "&8» &aDo twojego konta dodano &8(&66.31&8) &7coinsow" stop if arg 1 is "sellcobble64": if player don't have 64 4: send "&4Blad &8» &7Nie posiadasz 64x &7cobblestone" else: remove 64 4 from player add 1.12 to {coins.%player%} send "&8» &7Sprzedales &e64 &7cobblestone" send "&8» &aDo twojego konta dodano &8(&61.12&8) &7coinsow" stop if arg 1 is "sellemerald64": if player don't have 64 388: send "&4Blad &8» &7Nie posiadasz 64x &7emeraldow" else: remove 64 388 from player add 21.39 to {coins.%player%} send "&8» &7Sprzedales &e64 &7emeraldow" send "&8» &aDo twojego konta dodano &8(&621.39&8) &7coinsow" stop