# Permisja na bypass znikania blokow to bloki.bypass on place: world is "boxpvp" player doesn't have permission "bloki.bypass" if player's tool is not shulker box or light blue shulker box or magenta shulker box or orange shulker box or white shulker box or gray shulker box or yellow shulker box or lime shulker box or pink shulker box: set {_block} to type of event-block send action bar "&8» &9&lTen blok &7zniknie za &9&l10 minut &8«" to player wait 10 minutes if {_block} is type of event-block: set the event-block to air send action bar "&8» &7Jeden z blokow &9zniknal&7! &8«" to player on entering of region "portalsklepy": execute player command "boxpvp" options: prefix: &9BOXPVP &8»&r # Przedrostek wiadomości on right click on anvil or damaged anvil or chipped anvil: if world is "boxpvp": if player's tool is not air: if damage of player's tool is 0: send "{@prefix} &aTwoj itemek jest naprawiony!" cancel event else: cancel event repair player's tool remove 1 from player's level send "{@prefix} &aNaprawiles item!" else: cancel event send "{@prefix} &cNie mozesz tego naprawic!" on craft: if world is "boxpvp": cancel event close player's inventory send "{@prefix} &cCraftowanie na BoxPVP &cjest wylaczone!" on death of player: if world is "boxpvp": strike lightning effect at the victim command /bloki []: aliases: wymianablokow, blocks trigger: if arg 1 is not set: world is "boxpvp" set {bloki::%player%} to chest inventory with 5 rows named "&8» &aWymiana bloków" set slot 10 of {bloki::%player%} to emerald block of protection 10 named "&aEmeraldy &6(&eLPM&6)" set slot 12 of {bloki::%player%} to diamond block of protection 10 named "&bDiamenty &6(&eLPM&6)" set slot 14 of {bloki::%player%} to netherite block of protection 10 named "<##964b00>Netherite &6(&eLPM&6)" set slot 16 of {bloki::%player%} to iron block of protection 10 named "&fŻelazo &6(&eLPM&6)" set slot 31 of {bloki::%player%} to magma cream of protection 10 named "&9Wszystko &6(&eLPM&6)" open {bloki::%player%} for player if arg 1 is set: loop 1000 times: if player has 9 emeralds: if player doesn't have emerald named "&e ✦ Miecz Villagera ✦": remove 9 emeralds from player add 1 emerald block to player else: remove 9 emeralds from player add 1 emerald block to player give 1 emerald of sharpness 19 named "&e ✦ Miecz Villagera ✦" to player if player has 9 diamonds: remove 9 diamonds from player add 1 diamond block to player if player has 9 lapis lazuli: remove 9 lapis lazuli from player add 1 lapis block to player if player has 9 coal: remove 9 coal from player add 1 coal block to player if player has 9 raw iron: remove 9 raw iron from player add 1 iron block to player if player has 9 ancient debris: remove 9 ancient debris from player add 1 netherite block to player on inventory click: if name of event-inventory is "&8» &aWymiana bloków": cancel event if clicked slot is 10: loop 1000 times: if player has 9 emeralds: if player doesn't have emerald named "&e ✦ Miecz Villagera ✦": remove 9 emeralds from player add 1 emerald block to player else: remove 9 emeralds from player add 1 emerald block to player give 1 emerald of sharpness 19 named "&e ✦ Miecz Villagera ✦" to player if clicked slot is 12: loop 1000 times: if player has 9 diamonds: remove 9 diamonds from player add 1 diamond block to player if clicked slot is 14: loop 1000 times: if player has 9 ancient debris: remove 9 ancient debris from player add 1 netherite block to player if clicked slot is 16: loop 1000 times: if player has 9 raw iron: remove 9 raw iron from player add 1 iron block to player if clicked slot is 31: loop 1000 times: if player has 9 emeralds: if player doesn't have emerald named "&e ✦ Miecz Villagera ✦": remove 9 emeralds from player add 1 emerald block to player else: remove 9 emeralds from player add 1 emerald block to player give 1 emerald of sharpness 19 named "&e ✦ Miecz Villagera ✦" to player if player has 9 diamonds: remove 9 diamonds from player add 1 diamond block to player if player has 9 lapis lazuli: remove 9 lapis lazuli from player add 1 lapis block to player if player has 9 coal: remove 9 coal from player add 1 coal block to player if player has 9 raw iron: remove 9 raw iron from player add 1 iron block to player if player has 9 ancient debris: remove 9 ancient debris from player add 1 netherite block to player on damage: world is "boxpvp" if attacker is player: wait 5 ticks send action bar "&8» &cPrzeciwnik obecnie posiada &f%victim's health% &4♥ &8«" to attacker send action bar "&8» &cPrzeciwnik obecnie posiada &f%attacker's health% &4♥ &8«" to victim on rightclick on enchanting table: if world is "boxpvp": cancel event if player's tool is not air: remove {enchant::%player%::%player's tool%} from enchantments of player's tool set {enchant::%player%::%player's tool%} to fortune 3 or sharpness 5 or efficiency 5 or looting 3 or sharpness 7 or efficiency 7 enchant player's tool with {enchant::%player%::%player's tool%} send title "&aZenchantowano" with subtitle "&7%{enchant::%player%::%player's tool%}%" else: send title "&4Blad" with subtitle "&cNie mozesz enchantowac reki!" command /boxpvpstart: cooldown: 1 hour cooldown message: &cJuz odebrales kit! trigger: if world is "boxpvp": give 1 iron pickaxe of efficiency 3 and unbreaking 3 named "&f☁ Startowy kilof ☁" to player give 1 iron helmet of protection 3 named "&f☁ Startowy helm ☁" to player give 1 iron chestplate of protection 3 named "&f☁ Startowa klata ☁" to player give 1 iron leggings of protection 3 named "&f☁ Startowe spodnie ☁" to player give 1 iron boots of protection 4 named "&f☁ Startowe buty ☁" to player give 1 shield of unbreaking 5 named "&f☁ Startowa tarcza ☁" to player give 64 cooked porkchop of efficiency 10 named "&f☁ Super Jedzenie ☁" to player send title "&9BOXPVP" with subtitle "&aOdebrano kit startowy!" send "" send "{@prefix} &apst.. Jesli nie lubisz bicia sie, idz do &e&ntutaj" variables: {fg::punkty::%player%} = 1000 on death: if world is "boxpvp": remove (integers between 10 and 45) from {fg::punkty::%victim%} add (integers between 10 and 45) to {fg::punkty::%attacker%} on placeholderapi placeholder request for the prefix "fg": if the identifier is "pkt": set the result to "%{fg::punkty::%player%}%" on place: world is "boxpvp" if event-item is lime candle or light blue candle or red candle or sea pickle or seagrass or sea lantern or fire charge or white tulip or orange candle or blue candle or yellow candle: cancel event on rightclick: world is "boxpvp" player is holding fire charge or player head: cancel event on rightclick: world is "boxpvp" player is holding cobweb named "&6✦ Coin Górnika ✦": cancel event command /warpy []: trigger: world is "boxpvp" set {warpy} to chest inventory with 6 rows named "&8» &6ᴡᴀʀᴘʏ" set slot (integers between 0 and 8) of {warpy} to blue stained glass pane named " " set slot 22 of {warpy} to ("%player%" parsed as offline player)'s skull named "&asᴘᴀᴡɴ" with lore "&7Teleport na spawn BoxPVP" set slot 28 of {warpy} to diamond named "&asᴋʟᴇᴘʏ" with lore "&7Teleport do sklepow" set slot 38 of {warpy} to blue concrete named "&9ʙᴏx" with lore "&7Teleport do glownego boxu" set slot 40 of {warpy} to emerald block named "&a&oStrefa premium" with lore "&7Strefa dostepna jest od rangi &4MEGA-VIP" set slot 42 of {warpy} to white concrete named "&eᴋᴏᴘᴀʟɴɪᴀ sᴛᴇᴠᴇ" with lore "&7Teleport do kopalni bez PVP" set slot 34 of {warpy} to gold ingot of unbreaking 10 named "&6ᴢʙʀᴏᴊᴇ" with lore "&7Menu z zbrojami" open {warpy} for player on inventory click: if name of event-inventory is "&8» &6ᴡᴀʀᴘʏ": cancel event if clicked slot is 22: execute player command "warp boxpvp" wait 1 tick open {warpy} for player if clicked slot is 28: execute player command "warp boxpvpsklep" wait 1 tick open {warpy} for player if clicked slot is 38: execute player command "warp boxpvpbox" wait 1 tick open {warpy} for player if clicked slot is 40: if player has permission "strefa.premium": teleport player to {lokacja::strefapremium} wait 1 tick open {warpy} for player else: set slot 40 of {warpy} to emerald block named "&4&oStrefa premium" with lore "&cNie masz permisji!" if clicked slot is 42: execute player command "warp boxpvpkopalnianoob" wait 1 tick open {warpy} for player if clicked slot is 34: execute player command "sety" command /sety []: trigger: set {zbroje} to chest inventory with 1 row named "&8» &6sᴇᴛʏ" set slot 0 of {zbroje} to arrow named "&8<- &cPowrot" set slot 1 of {zbroje} to seagrass named "&9ʀʏʙᴀᴄᴋɪ" with lore "&7Poziom: &e★☆☆☆☆☆" set slot 2 of {zbroje} to sea lantern named "&bᴍᴏʀsᴋɪ" with lore "&7Poziom: &e★★☆☆☆☆" set slot 3 of {zbroje} to iron ingot named "&eᴠɪʟʟᴀɢᴇʀᴀ" with lore "&7Poziom: &e★★★☆☆☆" set slot 4 of {zbroje} to ghast tear named "&6ɢʜᴀsᴛᴀ" with lore "&7Poziom: &e★★★★☆☆" set slot 5 of {zbroje} to white tulip named "&fʙɪsᴏᴡ" with lore "&7Poziom: &e★★★★★☆" set slot 6 of {zbroje} to cobweb named "&6ɢᴏʀɴɪᴋᴀ" with lore "&7Poziom: &e★★★★★★" set slot 7 of {zbroje} to barrier named "<##FC4605>Halloweenowy" with lore "&7Poziom: &e★★★★★★&6★" open {zbroje} for player on inventory click: if name of event-inventory is "&8» &6sᴇᴛʏ": cancel event if clicked slot is 0: wait 1 tick open {warpy} for player if clicked slot is 1: execute player command "warp setrybacki" if clicked slot is 2: execute player command "warp setmorski" if clicked slot is 3: execute player command "warp setvillagera" if clicked slot is 4: execute player command "warp setghasta" if clicked slot is 5: execute player command "warp setbisow" if clicked slot is 6: execute player command "warp SetGornika" if clicked slot is 7: execute player command "warp SetSkeleton" if clicked slot is not 0: wait 1 tick open {zbroje} for player command /odbierz-range-hallowen []: trigger: if player has 64 pumpkin named "<##FC4605>Halloween Coin" with lore "<##FC4605>Hallowen juz jest! %nl%%nl%<##FC4605>Tego coina uzyjesz do: %nl% &61. Zdobycia limitowanego seta na BoxPVP %nl% &62. 64 pumpkin coinsy - Limitowana ranga <##FC4605>Halloween 2022": remove 64 pumpkins named "<##FC4605>Halloween Coin" with lore "<##FC4605>Hallowen juz jest! %nl%%nl%<##FC4605>Tego coina uzyjesz do: %nl% &61. Zdobycia limitowanego seta na BoxPVP %nl% &62. 64 pumpkin coinsy - Limitowana ranga <##FC4605>Halloween 2022" from player execute console command "lp user %player% parent add halloween" send "" to all players send "<##FC4605>+<##FC4605>&m <##FC4605>+" to all players send "" to all players send "&7Gracz <##FC4605>%player% &7odebral range <##FC4605>HALLOWEEN 2022&7!" to all players send "" to all players send "<##FC4605>+<##FC4605>&m <##FC4605>+" to all players send "" to all players send title "<##FC4605>Odebrano!" with subtitle "<##FC4605>Pomyslnie dodano range!" else: send title "<##FC4605>Blad" with subtitle "&cNie posiadasz wystarczajaco halloweenowych coinow!" command /kosz []: trigger: set {_kosz} to chest inventory with 6 rows named "&9Kosz na śmieci &cPo zamknieciu menu kosza, itemy w koszu znikna!" set slot 53 of {_kosz} to arrow named "&cWYJSCIE" with lore "&4&lWychodzac, itemy tutaj znikna NA ZAWSZE! " set slot 52 of {_kosz} to emerald named "&aWyczysc" with lore "&cWyczysc kosz!" set slot (integers between 45 to 51) of {_kosz} to purple stained glass pane named " " set slot (integers between 0 to 8) of {_kosz} to purple stained glass pane named " " open {_kosz} for player on inventory click: if name of event-inventory is "&9Kosz na śmieci &cPo zamknieciu menu kosza, itemy w koszu znikna!": if clicked slot is 53: cancel event close player's inventory if clicked slot is (integers between 45 to 51): cancel event if clicked slot is (integers between 0 to 8): cancel event if clicked slot is 52: cancel event close player's inventory on death: if world is "boxpvp": if attacker is player: send "&4🗡 &c%victim% &7przez &c%attacker%" to all players in world "boxpvp" command /selldynie []: trigger: loop 100 times: if player has 1 pumpkin named "<##FC4605>Halloween Coin" with lore "<##FC4605>Hallowen juz jest! %nl%%nl%<##FC4605>Tego coina uzyjesz do: %nl% &61. Zdobycia limitowanego seta na BoxPVP %nl% &62. 64 pumpkin coinsy - Limitowana ranga <##FC4605>Halloween 2022": remove 1 pumpkin from player add 3000 to player's balance send "&aSprzedano dynię za 3000$" else: send "&cNie masz dyni!" every 15 minutes: loop all players: loop-player's world is "boxpvp" give 64 cooked porkchop of efficiency 10 named "&f☁ Super Jedzenie ☁" to loop-player send "&8» &aWszyscy otrzymali jedzonko!" to all players in world "boxpvp" on rightclick on cooked porkchop: if event-item is cooked porkchop of efficiency 10 named "&f☁ Super Jedzenie ☁": cancel event feed player remove cooked porkchop of efficiency 10 named "&f☁ Super Jedzenie ☁" from player