#Autor: Wungiel (Syntetik008) lel #Wersja: 1.0.0 ( Beta ) #Zakaz edytowania Autora oraz usuwania Autora ! #Wiem to nic nie da ale i tak variables: {coins.%player%} = 0 command /run [] []: permission: run.command.kupisu trigger: if arg 1 is set: if arg 2 is set: execute player command "%arg 2%" #menu które się otwiera po wpisaniu /sklep command /sklep: trigger: open chest with 1 rows named "&5&lMenu Glowne Sklepu" to player wait 1 ticks format slot 2 of player with 1 of 35:5 named "&f&k&lW &a&lKUP ITEMY &f&k&LW" with lore "&8» &d&lJesli Chcesz Kupic Itemy Nacisnij Na Ten Przedmiot" to run [make player execute "wsklep5"] format slot 0 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 1 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 5 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 4 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 7 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 3 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 6 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 8 of player with 1 of 160:7 named "&7Puste Pole" to close format slot 6 of player with 1 of 35:14 named "&f&K&lW &4&lSPRZEDAJ ITEMY &f&K&LW" with lore "&8» &d&LJesli Chcesz sprzedac itemy i zyskac pieniadze Nacisnij Na Ten Przedmiot!" to run [make player execute "wsklep6"] format slot 4 of player with 1 of 371 named "&c&lHAJS&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "sklep"] #menu które otwiera się po wybraniu opcji KUP ITEMY command /wsklep5: trigger: open chest with 3 rows named "&a&LMenu Kupna" to player wait 1 ticks format slot 26 of player with 1 of 371 named "&c&LHAJS&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "wsklep5"] format slot 0 of player with 1 of 339 named "&6&LVIP" with lore "&8» &6&lKoszt rangi VIP: 11.99 PLN Edycja" to run [make player execute "wsklep kupvip"] format slot 4 of player with 1 of beacon named "&c&lB&5&lE&a&lA&e&lC&6&lO&3&lN" with lore "&8» &7Koszt Beacon: 99.99 PLN" to run [make player execute "wsklep kupbeacon"] format slot 1 of player with 1 of 339 named "&e&LSVIP" with lore "&8» &7Koszt &e&LSVIP: &7&L44.99 PLN Edycja" to run [make player execute "wsklep kupsvip"] format slot 2 of player with 1 of 339 named "&6&LEVIP" with lore "&8» &7Koszt &d&LEVIP: &7&L60.99 PLN Edycja" to run [make player execute "wsklep kupevip"] format slot 3 of player with 1 of 339 named "&9&LSPONSOR" with lore "&8» &7Koszt &d&LSPONSOR: &7&L99.99 PLN Edycja" to run [make player execute "wsklep kupsponsor"] format slot 25 of player with 1 of 35:14 named "&c&LPowrot do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "sklep"] #rzeczy które mają się dziać po wybraniu jakiejś opcji z Menu Kupna command /wsklep []: trigger: #beacon if arg-1 is "kupbeacon": if {coins.%player%} is less than 99.99: send "&l&4Nie posiadasz wystarczajaco Hajsu !" to player stop else: give 1 beacon to player remove 99.99 from {coins.%player%} send "&8» &6&LZakupiles &c&lB&5&lE&a&lA&e&lC&6&lO&3&lN &7!" send "&8» &6&LZ konta odjeto &699.99 &7PLN" stop #VIP if arg-1 is "kupvip": if {coins.%player%} is less than 11.99: send "&L&4Nie posiadasz wystarczajaco HAJSU !" to player stop else: execute console command "pex user %player% group set vip" remove 12.99 from {coins.%player%} send "&8» &6&LZakupiles Range &6VIP &7! !" send "&8» &6&LZ konta odjeto &611.99 &7PLN" stop #sVIP if arg-1 is "kupsvip": if {coins.%player%} is less than 44.99: send "&L&4Nie posiadasz wystarczajaco HAJSU !" to player stop else: execute console command "pex user %player% group set svip" remove 44.99 from {coins.%player%} send "&8» &6&LZakupiles Range &e&LSVIP &7! !" send "&8» &6&LZ konta odjeto &644.99 &7PLN" stop #eVIP if arg-1 is "kupevip": if {coins.%player%} is less than 60.99: send "&L&4Nie posiadasz wystarczajaco HAJSU !" to player stop else: execute console command "pex user %player% group set evip" remove 99.99 from {coins.%player%} send "&8» &6&LZakupiles Range &6&LEVIP &7! !" send "&8» &6&LZ konta odjeto &660.99 &7PLN" stop #SPONSOR if arg-1 is "kupsponsor": if {coins.%player%} is less than 99.99: send "&L&4Nie posiadasz wystarczajaco HAJSU !" to player stop else: execute console command "pex user %player% group set sponsor" remove 99.99 from {coins.%player%} send "&8» &6&LZakupiles Range &d&LSPONSOR &7! !" send "&8» &6&LZ konta odjeto &699.99 &7PLN" stop #menu które otwiera się po wybraniu opcji SPRZEDAJ ITEMY command /wsklep6: trigger: open chest with 4 rows named "&c&lMenu Sprzedarzy " to player wait 1 ticks format slot 35 of player with 1 of 371 named "&c&lHAJS&8:" with lore "&8» &7%{coins.%player%}% PLN" to run [make player execute "wsklep6"] format slot 0 of player with 1 of cobblestone named "&8» &f&L64 Bruk" with lore "&8» &7Za sprzedaz otrzymasz: 0.01 PLN" to run [make player execute "wsklep2 sellBruk64"] format slot 1 of player with 1 of 331 named "&8» &4&l64 &c&LRedstone" with lore "&8» &7Za sprzedaz otrzymasz: 0.04 PLN" to run [make player execute "wsklep2 sellredstone64"] format slot 2 of player with 1 of diamond named "&8» &b&L64 Diamentow" with lore "&8» &7Za sprzedaz otrzymasz: 0.03 PLN" to run [make player execute "wsklep2 selldiamenty64"] format slot 3 of player with 1 of 266 named "&8» &4&L64 &e&LZlota" with lore "&8» &7Za sprzedaz otrzymasz: 0.02 PLN" to run [make player execute "wsklep2 sellzloto64"] format slot 4 of player with 1 of 265 named "&8» &4&L64 &7&lZelaza" with lore "&8» &7Za sprzedaz otrzymasz: 0.02 PLN" to run [make player execute "wsklep2 sellzelazo64"] format slot 5 of player with 1 of 46 named "&8» &4&l64 TNT" with lore "&8» &7Za sprzedaz otrzymasz: 0.16 PLN" to run [make player execute "wsklep2 sellTNT64"] format slot 6 of player with 1 of obsidian named "&8» &4&l64 &5&LObsydianu" with lore "&8» &7Za sprzedaz otrzymasz: 0.04 PLN" to run [make player execute "wsklep2 sellObsidian64"] format slot 7 of player with 1 of bookshelf named "&8» &4&l64 &6&LBiblioteczek" with lore "&8» &7Za sprzedaz otrzymasz: 0.04 PLN" to run [make player execute "wsklep2 sellbookshelf64"] format slot 8 of player with 1 of emerald named "&8» &4&l64 &2&LEmeraldow" with lore "&8» &7Za sprzedaz otrzymasz: 0.03 PLN" to run [make player execute "wsklep2 sellemerald64"] format slot 9 of player with 1 of Beacon named "&8» &4&l1 &c&lB&5&lE&a&lA&e&lC&6&lO&3&lN" with lore "&8» &7Za sprzedaz otrzymasz: 4.99 PLN" to run [make player execute "wsklep2 sellbeacon1"] format slot 10 of player with 1 of Apple named "&8» &4&l64 &c&lApple" with lore "&8» &7Za sprzedaz otrzymasz: 0.04 PLN" to run [make player execute "wsklep2 sellapple64"] format slot 34 of player with 1 of 35:14 named "&4&LPowrot Do Menu" with lore "&8» &7Przenosi do glownego Menu" to run [make player execute "sklep"] #rzeczy które mają się dziać po wybraniu jakiejś opcji z Menu Sprzedarzy command /wsklep2 []: trigger: if arg 1 is "selldiamenty64": if player don't have 64 diamond: send "&b&LNie posiadasz 64 Diamentow !" stop else: remove 64 diamond from player add 0.03 to {coins.%player%} send "&8» &c&LSprzedales &664 &7Diamentow !" send "&8» &a&lDo twojego Konta dodano &60.03 &7PLN !" stop if arg 1 is "sellzloto64": if player don't have 64 266: send "&L&eNie posiadasz 64 Zlota !" stop else: remove 64 266 from player add 0.02 to {coins.%player%} send "&8» &c&LSprzedales &664 &7Zlota !" send "&8» &a&LDo twojego Konta dodano &60.02 &7PLN !" stop if arg 1 is "sellzelazo64": if player don't have 64 265: send "&l&7Nie posiadasz 64 Zelaza !" stop else: remove 64 265 from player add 0.02 to {coins.%player%} send "&8» &c&LSprzedales &664 &7Zelaza !" send "&8» &a&LDo twojego Konta dodano &60.02 &7PLN !" stop if arg 1 is "sellBruk64": if player don't have 64 4: send "&L&8Nie posiadasz 64 Bruku !" stop else: remove 64 4 from player add 0.01 to {coins.%player%} send "&8» &c&LSprzedales &664 &7Bruk !" send "&8» &a&lDo twojego Konta dodano &60.01 &7PLN !" stop if arg 1 is "sellredstone64": if player don't have 64 331: send "&l&cNie posiadasz 64 Redstone !" else: remove 64 331 from player add 0.04 to {coins.%player%} send "&8» &c&LSprzedales &664 &7Redstone !" send "&8» &a&lDo twojego Konta dodano &60.04 &7PLN !" stop if arg 1 is "selltnt64": if player don't have 64 tnt: send "&4&LNie posiadasz 64 TNT !" stop else: remove 64 tnt from player add 0.16 to {coins.%player%} send "&8» &c&lSprzedales &6&l64 &7TNT !" send "&8» &a&LDo twojego Konta dodano &60.16 &7PLN !" stop if arg 1 is "sellObsidian64": if player don't have 64 Obsidian: send "&5&LNie posiadasz 64 Obsidianu !" stop else: remove 64 Obsidian from player add 0.04 to {coins.%player%} send "&8» &c&lSprzedales &6&l64 &7Obsidian !" send "&8» &a&LDo Twojego Konta Dodano &60.04 &7PLN !" stop if arg 1 is "sellbookshelf64": if player don't have 64 bookshelf: send "&6&LNie posiadasz 64 Biblioteczek !" stop else: remove 64 bookshelf from player add 0.04 to {coins.%player%} send "&8» &c&lSprzedales &6&l64 &7bookshelf !" send "&8» &a&LDo Twojego Konta Dodano &60.04 &7PLN !" stop if arg 1 is "sellemerald64": if player don't have 64 emerald: send "&2&LNie posiadasz 64 Emeraldow !" stop else: remove 64 emerald from player add 0.03 to {coins.%player%} send "&8» &c&lSprzedales &6&l64 &7emerald !" send "&8» &a&LDo Twojego Konta Dodano &60.03 &7PLN !" stop if arg 1 is "sellBeacon1": if player don't have 1 Beacon: send "&c&LNie posiadasz 1 &c&lB&5&lE&a&lA&e&lC&6&lO&3&lN !" stop else: remove 1 Beacon from player add 4.99 to {coins.%player%} send "&8» &c&lSprzedales &6&l1 &c&lB&5&lE&a&lA&e&lC&6&lO&3&lN !" send "&8» &a&LDo Twojego Konta Dodano &64.99 &7PLN !" stop if arg 1 is "sellApple64": if player don't have 64 Apple: send "&4&LNie posiadasz 64 Jablek !" stop else: remove 64 apple from player add 0.04 to {coins.%player%} send "&8» &c&lSprzedales &6&l64 &7Apple !" send "&8» &a&LDo Twojego Konta Dodano &60.04 &7PLN !" stop ########################################--==Autor: Wungiel==--########################################<3 #PERMISJE: #BRAK #KOMENDY: #/sklep ########################################--==Autor: Wungiel==--########################################<3