Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ##################################################################################################### #
- # Licencja | weaponsplus #
- # by Anemonex #
- # ##################################################################################################### #
- # Pełna nazwa wersji: WeaponsPlus v4.0.1.11_08_14_18_01 PL BETA #
- # ##################################################################################################### #
- # Nie zezwalam na: #
- # - Zarabianie na skrypcie #
- # - Wykorzystywanie kodu skryptu w swoich skryptach #
- # - Udostepnianiu skryptu innym bez mojej wiedzy #
- # - Udostepnianie skryptu w paczkach itp. #
- # - Usuwanie tresci zawierajacej autora #
- # - Podszywaniu sie pod autora #
- # ##################################################################################################### #
- # Zezwalam na: #
- # - Modyfikowanie zawartosci dla wlasnych potrzeb #
- # ##################################################################################################### #
- # Mylnie odczytana [lub nie odczytana] licencja nie zwalnia z przestrzegania jej #
- # ##################################################################################################### #
- # Permissions: #
- # - weaponsplus.*- Dostęp do wszystkich pozwoleń #
- # - weaponsplus.debug - Dostęp do komendy debugowania skryptu [/bron debug] #
- # - weaponsplus.reload- Dostęp do komendy odświeżającej skrypt [/bron odswiez] #
- # - weaponsplus.create - Dostęp do komendy tworzącej miecze [/bron stworz] #
- # - weaponsplus.crafting - Dostęp do komendy, dzięki której sprawdzisz crafting mieczy [/bron crafting] #
- # - weaponsplus.sign - Dostęp do tworzenia tabliczek #
- # - weaponsplus.reset - Resetuje czas opóźnienia między zaklęciami [/bron reset] #
- # ##################################################################################################### #
- # Wymagane: #
- # - Skript 2.1.2 #
- # dev.bukkit.org/bukkit-plugins/skript/ #
- # #
- # - SkriptPlus 2.2.4 #
- # dl.dropboxusercontent.com/s/etc2py6bz0b4l45/SkriptPlus.jar #
- # #
- # - Essentials #
- # dev.bukkit.org/bukkit-plugins/essentials/ #
- # #
- # ##################################################################################################### #
- options:
- #=======================#
- # KOMENDY #
- #=======================#
- # Nazwa głównej komendy #
- # Domyślnie: /bron #
- arg0: bron
- # Nazwa argumentu, dzięki której odbierzesz bron #
- # Domyślnie: /bron stworz #
- arg1: stworz
- # Nazwa argumentu, dzięki któremu odbierzesz wszystkie bronie #
- # Domyślnie: /bron get wszystkie #
- arg2: wszystkie
- # Nazwa argumentu, dzięki któremu uzyskasz informacje o skrypcie #
- # Domyślnie: /bron pomoc #
- arg3: pomoc
- # Nazwa argumentu, dzięki któremu sprawdzisz crafting broni #
- # Domyślnie: /bron crafting #
- arg4: crafting
- # Jeżeli masz problem ze skryptem, używając tej komendy zresetujesz go #
- # Domyślnie: /bron debug #
- arg6: debug
- # Ta komenda służy do resetowania skryptu #
- # Domyślnie: /bron odswiez #
- arg7: odswiez
- # Ta komenda służy do resetowania czasu odnawiania się zaklęć #
- # Domyślnie: /bron reset #
- arg8: reset
- #=======================#
- # OPÓŹNIENIE #
- #=======================#
- # Opuźnienie w użyciu zaklęć po użyciu danego zaklęcia #
- # Zaklęcie: Piorun #
- cooldown1: 300
- # Zaklęcie: Eksplozja #
- cooldown2: 300
- # Zaklęcie: Szarża #
- cooldown3: 240
- # Zaklęcie: Wyskok #
- cooldown4: 240
- # Zaklęcie: Przywołanie #
- cooldown5: 480
- # Zaklęcie: Przywołanie z piekieł #
- cooldown6: 480
- # Zaklęcie: Przywołanie osadników #
- cooldown7: 480
- # Zaklęcie: Tarcza [miecz] #
- cooldown8: 300
- # Zaklęcie: Zaskoczenie #
- cooldown9: 180
- # Zaklęcie: Chronoskok [miecz] #
- cooldown10: 15
- # Zaklęcie: Podpalenie #
- cooldown11: 120
- # Zaklęcie: Wieczny oddech #
- cooldown12: 120
- # Zaklęcie: Seria strzał #
- cooldown13: 120
- # Zaklęcie: Elficki ostrzał #
- cooldown14: 120
- # Zaklęcie: Przeładowanie #
- cooldown15: 60
- # Zaklęcie: Teleportacja [łuk] #
- cooldown16: 15
- # Zaklęcie: Tarcza [łuk] #
- cooldown17: 300
- #=======================#
- # MIECZE #
- #=======================#
- # Możliwość craftingu mieczy #
- # true - możliwy do craftowania #
- # false - niemożliwy do craftiwania #
- # Miecz ślepoty #
- # Przy każdym ataku nadaje przeciwnikowi efekt Blindness I na 3 sekundy #
- sword1: true
- # Miecz nudności #
- # Przy każdym ataku nadaje przeciwnikowi efekt Nausea I na 8 sekund #
- sword2: true
- # Miecz spowolnienia #
- # Przy każdym ataku nadaje przeciwnikowi efekt Slowness I na 3 sekundy #
- sword3: true
- # Miecz błyskawic #
- # Po kliknięciu PPM tworzy błyskawice w wyznaczonym miejscu #
- sword4: true
- # Miecz eksplozji #
- # Po kliknięciu PPM tworzy eksplozje o sile 5 w wyznaczonym miejscu #
- sword5: true
- # Miecz szybkości #
- # Przy każdym ataku nadaje właścicielowi efekt Swiftness I na 8 sekund #
- # Po kliknięciu PPM nadaje właścicielowi miecza efekt Swiftness X na 1 sekundę #
- sword6: true
- # Miecz skoczności #
- # Przy każdym ataku nadaje właścicielowi efekt Jump Boost I na 8 sekund #
- # Po kliknięciu PPM nadaje właścicielowi miecza efekt Jump Boost X na 8 sekund #
- sword7: true
- # Miecz kradzieży życia #
- # Przy każdym ataku przywraca właścicielowi miecza 1/10 serduszka #
- # Po kliknięciu PPM nadaje właścicielowi miecza efekt Absorption 5 [10 złotych serduszek] na 60 sekund #
- sword8: true
- # Miecz zabójcy #
- # Po kliknięciu PPM nadaje właścicielowi miecza efekt Invisibility I oraz Swiftness III na 5 sekund #
- sword9: true
- # Miecz osadnika #
- # Po kliknięciu PPM przywołuje 5 osadników w wyznaczonym miejscu #
- sword10: true
- # Miecz potworów #
- # Po kliknięciu PPM przywołuje 3 zombie, 3 endermany, 3 silverfishe, 3 pająki, 3 szkielety, 3 wiedźmy, 3 slime lub 3 creepery w wyznaczonym miejscu #
- sword11: true
- # Miecz piekieł #
- # Po kliknięciu PPM przywołuje 1 ghasta, 3 zombie pigmany, 2 blazy lub 3 magma cuby w wyznaczonym miejscu #
- sword12: true
- # Miecz teleportacji #
- # Po kliknięciu PPM przenosi właściciela miecza na wyznaczone miejsce #
- sword13: true
- # Miecz ognia #
- # Po kliknięciu PPM podpala pobliskich przeciwników i nadaje właścicielowi miecza efekt Fire Resistance I na 30 sekund #
- sword14: true
- # Miecz syreny #
- # Po kliknięciu PPM nadaje właścicielowi miecza efekt Water Breathing I na 60 sekund #
- sword15: true
- # Miecz ognia - inferno #
- # false - miecz ognia będzie jedynie podpalał przeciwników i nadawał właścicielowi miecza Fire Resistance I na 30 sekund #
- # true - miecz ognia będzie podpalał przeciwników i nadawał właścicielowi miecza Fire Resistance I na 30 sekund. Dodatkowo w odległości 5 od wyznaczonego miejsca będzie podpalał teren #
- inferno: false
- #=======================#
- # ŁUKI #
- #=======================#
- # Możliwość craftingu łuków #
- # true - możliwy do craftowania #
- # false - niemożliwy do craftiwania #
- # Lekki łuk #
- # Po kliknięciu LPM wystrzeliwuje serie 10 strzał #
- bow1: true
- # Elfi łuk #
- # Po kliknięciu LPM wystrzeliwuje 5 strzał na raz #
- bow2: true
- # Elfi strażnika #
- # Po kliknięciu LPM gracz otrzymuje 6 strzał #
- bow3: true
- # Łuk teleportacji #
- # Po kliknięciu LPM teleportuje gracza w wyznaczone miejsce #
- bow4: true
- # Łuk kradzieży życia #
- # Przy każdym ataku przywraca właścicielowi łuku 2/10 serduszka #
- # Po kliknięciu LPM nadaje właścicielowi łuku efekt Absorption 5 [10 złotych serduszek] na 60 sekund #
- bow5: true
- #=======================#
- # KOLORY #
- #=======================#
- # Kolor główny #
- # Wyświetlany w wiadomościach, które nie zawierają ważnej wiadomości #
- c1: 7
- # Kolor podrzędny #
- # Wyświetlany np. w poprawnym użyciu komendy czy też ważnych przekazach #
- c2: c
- # Ile punktów użyć ma zabierać użycie zaklęcia #
- points: 20
- #=======================#
- # ZABEZPIECZENIA #
- #=======================#
- # Jeżeli crafting miecza ognia jest aktywny, razem z nim został dodany crafting "bloku lawy" #
- # Jeżeli chcesz, aby gracz NIE MÓGŁ postawić bloku lawy pozostaw tą opcje na "true" #
- # Jeżeli chcesz, aby gracz MÓGŁ postawić blok lawy ustaw tej opcji argument "false" #
- blocklava: true
- # Jeżeli crafting miecza syreny jest aktywny, razem z nim został dodany crafting "bloku wody" #
- # Jeżeli chcesz, aby gracz NIE MÓGŁ postawić bloku wody pozostaw tą opcje na "true" #
- # Jeżeli chcesz, aby gracz MÓGŁ postawić blok wody ustaw tej opcji argument "false" #
- blockwater: true
- # Maksymalna odległość na jaką gracz może teleportować się przy użyciu miecza teleportacji
- swordradius: 10
- # Maksymalna odległość na jaką gracz może teleportować się przy użyciu łuku teleportacji
- bowradius: 10
- #=======================#
- # TABLICZKI #
- #=======================#
- # Tabliczki #
- # Możesz utworzyć tabliczkę z informacjami o craftingu. Gracz po kliknięciu na nią PPM zobaczy to samo, co po wpisanie /bron crafting <id-miecza> #
- # Linia 1: [Miecz/Luk/Dodatek] - Wartość tworząca tabliczkę #
- # Linia 2: Crafting - Argument tabliczki #
- # Linia 3: 001 - ID miecza/łuku/dodatku #
- # Wartość, którą musisz wpisać w linii 1 między kwadratowymi nawiasami #
- # Dotyczy craftingu mieczy #
- line1sword: Miecz
- # Wartość, którą musisz wpisać w linii 1 między kwadratowymi nawiasami #
- # Dotyczy craftingu łuków #
- line1bow: Luk
- # Wartość, którą musisz wpisać w linii 1 między kwadratowymi nawiasami #
- # Dotyczy craftingu dodatków #
- line1addons: Dodatek
- # Wartość, którą musisz podać w linii 2 #
- line2: Crafting
- # Kolor linii 1 po poprawnym stworzeniu tabliczki #
- c3: 1
- # Kolor linii 2 po poprawnym stworzeniu tabliczki #
- c4: 0
- # Kolor linii 3 po poprawnym stworzeniu tabliczki #
- c5: 0
- # Kolory: #
- # 1 - Ciemny niebieski 5 - Ciemny różowy 9 - Jasny morski c - Jasny czerwony #
- # 2 - Ciemny zielony 6 - Złoty 0 - Czarny d - Jasny różowy #
- # 3 - Ciemny morski 7 - Jasny szary a - Jasny zielony e - Żółty #
- # 4 - Ciemny czerwony 8 - Ciemny szary b - Jasny niebieski f - Biały #
- #=======================#
- # EKSPLOZJE I PIORUNY #
- #=======================#
- # Szansa na uderzenie fałszywego pioruna używając miecza błyskawic #
- lightningchance: 10
- # Szansa na stworzenie fałszywej eksplozji używając miecza eksplozji #
- explosionchance: 10
- #=======================#
- # UPDATER #
- #=======================#
- # Czy w konsoli ma pojawiać się informacja o wersji skryptu? #
- consoleupdate: true
- # Czy gracz z pozwoleniem "weaponsplus.checkupdates" ma widzieć informacje o pojawieniu się nowej wersji po wejściu na serwer? #
- playerupdate: true
- # KONIEC KONFIGURACJI, RESZTA NIE JEST DLA CIEBIE ! :) #
- # Serio, nie tykaj tego. #
- on join:
- player has permission "weaponsplus.checkupdates"
- {wp.updated} is false
- {@playerupdate} is true
- send "&7» Pojawila sie nowa wersja skryptu &eWeaponsPlus by Anemonex"
- send "&7» &eCzas na update!"
- on script load:
- set {wp.scriptname} to "%script%"
- set {wp.version} to "WeaponsPlus v4.0.1.11_08_14_18_01 PL BETA"
- set {_wp.version} to text from url "http://updatechecking.ugu.pl/wp.updatechecking"
- if {wp.version} is {_wp.version}:
- set {wp.updated} to true
- if {@consoleupdate} is true:
- send "&7##################################################################################################" to console
- send "&7## &7##" to console
- send "&7## &eWeaponsPlus &7##" to console
- send "&7## &eby Anemonex &7##" to console
- send "&7## &7##" to console
- send "&7## &aKorzystasz z najnowszej wersji skryptu! &7##" to console
- send "&7## &7##" to console
- send "&7##################################################################################################" to console
- else:
- set {wp.updated} to false
- if {@consoleupdate} is true:
- send "&7##################################################################################################" to console
- send "&7## &7##" to console
- send "&7## &eWeaponsPlus &7##" to console
- send "&7## &eby Anemonex &7##" to console
- send "&7## &7##" to console
- send "&7## &cKorzystasz z przestarzalej wersji skryptu! &7##" to console
- send "&7## &7##" to console
- send "&7##################################################################################################" to console
- if {equipmentplusloaded} is false:
- if {@sword1} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz slepoty" with lore "&7Blindness I" using eye of ender, eye of ender, eye of ender, eye of ender, diamond sword, eye of ender, eye of ender, eye of ender, eye of ender
- if {@sword2} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz nudnosci" with lore "&7Nausea I" using raw pufferfish, raw pufferfish, raw pufferfish, raw pufferfish, diamond sword, raw pufferfish, raw pufferfish, raw pufferfish, raw pufferfish
- if {@sword3} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz spowolnienia" with lore "&7Slowness I" using fermented spider eye, fermented spider eye, fermented spider eye, fermented spider eye, diamond sword, fermented spider eye, fermented spider eye, fermented spider eye, fermented spider eye
- if {@sword4} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz blyskawic" with lore "&7Lightning I" using blaze rod, blaze rod, blaze rod, blaze rod, diamond sword, blaze rod, blaze rod, blaze rod, blaze rod
- if {@sword5} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz eksplozji" with lore "&7Explosion I" using tnt, tnt, tnt, tnt, diamond sword, tnt, tnt, tnt, tnt
- if {@sword6} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz szybkosci" with lore "&7Swiftness I" using sugar, sugar, sugar, sugar, diamond sword, sugar, sugar, sugar, sugar
- if {@sword7} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz skocznosci" with lore "&7Jump boost I" using feather, feather, feather, feather, diamond sword, feather, feather, feather, feather
- if {@sword8} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz kradziezy zycia" with lore "&7Lifesteal I" using apple, apple, apple, apple, diamond sword, apple, apple, apple, apple
- if {@sword9} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz zabojcy" with lore "&7Invisibility I||&7Swiftness III" using ender pearl, feather, ender pearl, feather, diamond sword, feather, ender pearl, feather, ender pearl
- if {@sword10} is true:
- register new shapeless recipe for diamond sword named "&r&bMiecz osadnika" with lore "&7Villagers spawning I" using emerald, emerald, emerald, emerald, diamond sword, emerald, emerald, emerald, emerald
- if {@sword11} is true:
- register new shapeless recipe for diamond sword named "&r&bMiecz potworow" with lore "&7Monsters spawning I" using gunpowder, bone, ender pearl, rotten flesh, diamond sword, spider eye, slimeball, water bottle, stone
- if {@sword12} is true:
- register new shapeless recipe for diamond sword named "&r&bMiecz piekiel" with lore "&7Nether monsters spawning I" using blaze rod, blaze rod, magma cream, magma cream, diamond sword, ghast tear, ghast tear, gold nugget, gold nugget
- if {@sword13} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz teleportacji" with lore "&7Teleportation I" using ender pearl, ender pearl, ender pearl, ender pearl, diamond sword, ender pearl, ender pearl, ender pearl, ender pearl
- if {@sword14} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz ognia" with lore "&7Ignite I||&7Fire resistance I" using lava item, lava item, lava item, lava item, diamond sword, lava item, lava item, lava item, lava item
- register new shapeless recipe for lava item using lava bucket, lava bucket, none, none, none, none, none, none, none
- if {@sword15} is true:
- register new shaped recipe for diamond sword named "&r&bMiecz syreny" with lore "&7Water breathing I" using water item, water item, water item, water item, diamond sword, water item, water item, water item, water item
- register new shapeless recipe for water item using water bucket, water bucket, none, none, none, none, none, none, none
- if {@bow1} is true:
- register new shaped recipe for bow named "&r&bLekki luk" with lore "&7Fast shooting I" using feather, feather, feather, feather, bow, feather, feather, feather, feather
- if {@bow2} is true:
- register new shaped recipe for bow named "&r&bElfi luk" with lore "&7Multi shot I" using feather, bow, feather, feather, bow, feather, feather, bow, feather
- if {@bow3} is true:
- register new shaped recipe for bow named "&r&bLuk straznika" with lore "&7Arrows I" using arrow, arrow, arrow, arrow, bow, arrow, arrow, arrow, arrow
- if {@bow4} is true:
- register new shaped recipe for bow named "&r&bLuk teleportacji" with lore "&7Teleportation I" using ender pearl, ender pearl, ender pearl, ender pearl, bow, ender pearl, ender pearl, ender pearl, ender pearl
- if {@bow5} is true:
- register new shaped recipe for bow named "&r&bLuk kradziezy zycia" with lore "&7Lifesteal I" using apple, apple, apple, apple, bow, apple, apple, apple, apple
- set {equipmentplusloaded} to true
- stop
- else:
- stop
- variables:
- {spell.%player%} = false
- {timer.%player%} = 0
- {equipmentplusloaded} = false
- on damage:
- if projectile is arrow:
- {bowoflifesteal.%attacker%} is true
- heal attacker by 0.20 hearts
- stop
- if players's tool is diamond sword:
- if lore of attacker's tool is "&7Blindness I":
- remove blindness from the victim
- apply blindness 1 to the victim for 3 seconds
- stop
- if lore of attacker's tool is "&7Nausea I":
- remove nausea from the victim
- apply nausea 1 to the victim for 8 seconds
- stop
- if lore of attacker's tool is "&7Slowness I":
- remove slowness from the victim
- apply slowness 1 to the victim for 3 seconds
- stop
- if lore of attacker's tool is "&7Swiftness I":
- remove swiftness from the attacker
- apply swiftness 1 to the attacker for 8 seconds
- stop
- if lore of attacker's tool is "&7Jump boost I":
- remove jump boost from the attacker
- apply jump boost 1 to the attacker for 8 seconds
- stop
- if lore of attacker's tool is "&7Lifesteal I":
- heal attacker by 0.10 hearts
- stop
- if lore of attacker's tool is "&7Lightning I":
- chance of {@lightningchance}%:
- strike lightning effect at the victim
- stop
- if lore of attacker's tool is "&7Explosion I":
- chance of {@explosionchance}%:
- create a fake explosion at the victim
- stop
- if lore of attacker's tool is "&7Ignite I||&7Fire resistance I":
- Show mobspawner flames at victim
- stop
- every 1 real seconds:
- loop all players:
- if {timer.%loop-player%} is more than 0:
- remove 1 from {timer.%loop-player%}
- if {spell.%loop-player%} is true:
- if {timer.%loop-player%} is 0:
- send "&{@c1}» Mozesz ponownie uzywac zaklec" to loop-player
- set {spell.%loop-player%} to false
- stop
- on rightclick:
- if player's tool is sword:
- if lore of player's tool is "&7Ignite I||&7Fire resistance I":
- if {timer.%player%} is 0:
- send "&{@c1}» Uzyles zaklecia: &{@c2}Podpalenie"
- apply fire resistance 1 to player for 30 seconds
- if {@inferno} is true:
- loop blocks in radius 5 around targeted block:
- if loop-block is tall grass:
- set loop-block to fire
- if loop-block is air:
- set loop-block to fire
- loop players in radius 5 around targeted block:
- ignite the loop-player for 10 seconds
- loop entities in radius 5 around targeted block:
- ignite the loop-entities for 10 seconds
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown11}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Lightning I":
- if {timer.%player%} is 0:
- strike lightning at targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Piorun"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown1}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Explosion I":
- if {timer.%player%} is 0:
- create an explosion of force 5 at targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Eksplozja"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown2}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Swiftness I":
- if {timer.%player%} is 0:
- apply swiftness 10 to player for 1 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Szarza"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown3}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Jump boost I":
- if {timer.%player%} is 0:
- apply jump boost 10 to player for 8 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Wyskok"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown4}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Monsters spawning I":
- if {timer.%player%} is 0:
- spawn 3 skeleton or 3 creeper or 3 witch or 3 zombie or 3 silverfish or 3 slime or 3 spider or 3 enderman at block above the targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Przywolanie"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown5}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Nether monsters spawning I":
- if {timer.%player%} is 0:
- spawn 1 ghast or 2 blaze or 3 zombie pigman or 3 magma cube at block above the targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Przywolanie z piekiel"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown6}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Villagers spawning I":
- if {timer.%player%} is 0:
- spawn 5 villagers at block above the targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Przywolanie osadnikow"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown7}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Lifesteal I":
- if {timer.%player%} is 0:
- apply absorption 5 to player for 60 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Tarcza"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown8}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Invisibility I||&7Swiftness III":
- if {timer.%player%} is 0:
- apply invisibility 1 to player for 5 seconds
- apply swiftness 3 to player for 5 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Zaskoczenie"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown9}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Teleportation I":
- if {timer.%player%} is 0:
- loop all blocks in radius {@swordradius} around the player:
- if targeted block is loop-block:
- teleport player at block above the targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Chronoskok"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown10}
- set {spell.%player%} to true
- stop
- send "&{@c1}» Za daleko!"
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Water breathing I":
- if {timer.%player%} is 0:
- apply water breathing 1 to player for 60 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Wieczny oddech"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown12}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- on projectile shoot:
- projectile is arrow
- if shooter's tool is bow:
- if lore of shooter's tool is "&7Lifesteal":
- set {bowoflifesteal.%shooter%} to true
- stop
- on leftclick:
- if player's tool is bow:
- if lore of player's tool is "&7Fast shooting I":
- if {timer.%player%} is 0:
- if player has 10 arrow:
- remove 10 arrows from player's inventory
- send "&{@c1}» Uzyles zaklecia: &{@c2}Seria strzal"
- damage player's tool by {@points}
- loop 10 times:
- shoot an arrow
- wait 0.2 second
- set {timer.%player%} to {@cooldown13}
- stop
- else:
- send "&{@c1}» Potrzebujesz 10 sztuk strzal!"
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Multi shot I":
- if {timer.%player%} is 0:
- if player has 10 arrow:
- remove 10 arrows from player's inventory
- send "&{@c1}» Uzyles zaklecia: &{@c2}Elficki ostrzal"
- damage player's tool by {@points}
- loop 10 times:
- shoot an arrow
- set {timer.%player%} to {@cooldown14}
- stop
- else:
- send "&{@c1}» Potrzebujesz 10 sztuk strzal!"
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Arrows I":
- if {timer.%player%} is 0:
- send "&{@c1}» Uzyles zaklecia: &{@c2}Przeladowanie"
- damage player's tool by {@points}
- give 6 arrows to player
- set {timer.%player%} to {@cooldown15}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Teleportation I":
- if {timer.%player%} is 0:
- loop all blocks in radius {@bowradius} around the player:
- if targeted block is loop-block:
- teleport player at block above the targeted block
- send "&{@c1}» Uzyles zaklecia: &{@c2}Chronoskok"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown16}
- stop
- send "&{@c1}» Za daleko!"
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- if lore of player's tool is "&7Lifesteal I":
- if {timer.%player%} is 0:
- remove 1 arrow from player's inventory
- apply absorption 5 to player for 60 seconds
- send "&{@c1}» Uzyles zaklecia: &{@c2}Tarcza"
- damage player's tool by {@points}
- set {timer.%player%} to {@cooldown17}
- stop
- if {timer.%player%} is more than 0:
- send "&{@c1}» Mozesz uzyc kolejnego zaklecia za &{@c2}%{timer.%player%}% sekund!"
- stop
- command /{@arg0} [<text>] [<text>]:
- trigger:
- if arg 1 is "{@arg8}":
- if player has permission "weaponsplus.*" or "weaponsplus.reset":
- set {timer.%player%} to 0
- send "&{@c1}» Mozesz ponownie uzywac zaklec"
- stop
- if arg 1 is "{@arg7}":
- if player has permission "weaponsplus.*" or "weaponsplus.reload":
- send "&{@c1}» Rozpoczeto odswiezanie skryptu"
- execute console command "/sk reload %script%"
- send "&{@c1}» Zakonczono odswiezanie skryptu"
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if arg 1 is "{@arg6}":
- if player has permission "weaponsplus.*" or "weaponsplus.debug":
- if arg 2 is not set:
- send "&{@c1}» UWAGA! Jezeli masz problem ze skryptem np.:"
- send "&{@c1}» - Crafting mieczy nie laduje sie poprawnie"
- send "&{@c1}» - Gracze nie moga uzywac zaklec"
- send "&{@c1}» Uzyj komendy &{@c2}/{@arg0} debug <accept/true/yes>"
- send "&{@c1}» Spowoduje ona &{@c2}WYLACZENIE SERWERA"
- stop
- if arg 2 is "accept":
- set {equipmentplusloaded} to false
- kick players due to "&{@c1}» &{@c2}Serwer zostal zatrzymany z powodu bledu skryptu, za chwile uruchomimy go ponownie!"
- wait 1 real second
- execute console command "/stop"
- stop
- if arg 2 is "true":
- set {equipmentplusloaded} to false
- kick players due to "&{@c1}» &{@c2}Serwer zostal zatrzymany z powodu bledu skryptu, za chwile uruchomimy go ponownie!"
- wait 1 real second
- execute console command "/stop"
- stop
- if arg 2 is "yes":
- set {equipmentplusloaded} to false
- kick players due to "&{@c1}» &{@c2}Serwer zostal zatrzymany z powodu bledu skryptu, za chwile uruchomimy go ponownie!"
- wait 1 real second
- execute console command "/stop"
- stop
- else:
- send "&{@c1}» UWAGA! Jezeli masz problem ze skryptem np.:"
- send "&{@c1}» - Crafting mieczy nie laduje sie poprawnie"
- send "&{@c1}» - Gracze nie moga uzywac zaklec"
- send "&{@c1}» Uzyj komendy &{@c2}/{@arg0} debug <accept/true/yes>"
- send "&{@c1}» Spowoduje ona &{@c2}WYLACZENIE SERWERA"
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if arg 1 is "autor":
- send "&{@c1}» &{@c2}weaponsplus by Anemonex"
- send "&{@c1}» Znajdziesz mnie na &{@c2}bukkit.pl"
- stop
- if arg 1 is "{@arg1}":
- if player has permission "weaponsplus.*" or "weaponsplus.create":
- if arg 2 is "{@arg2}":
- give diamond sword named "&r&bMiecz slepoty" with lore "&7Blindness I" to the player
- give diamond sword named "&r&bMiecz nudnosci" with lore "&7Nausea I" to the player
- give diamond sword named "&r&bMiecz spowolnienia" with lore "&7Slowness I" to the player
- give diamond sword named "&r&bMiecz blyskawic" with lore "&7Lightning I" to the player
- give diamond sword named "&r&bMiecz eksplozji" with lore "&7Explosion I" to the player
- give diamond sword named "&r&bMiecz szybkosci" with lore "&7Swiftness I" to the player
- give diamond sword named "&r&bMiecz skocznosci" with lore "&7Jump boost I" to the player
- give diamond sword named "&r&bMiecz kradziezy zycia" with lore "&7Lifesteal I" to the player
- give diamond sword named "&r&bMiecz zabojcy" with lore "&7Invisibility I||&7Swiftness III" to the player
- give diamond sword named "&r&bMiecz osadnika" with lore "&7Villagers spawning I" to the player
- give diamond sword named "&r&bMiecz potworow" with lore "&7Monsters spawning I" to the player
- give diamond sword named "&r&bMiecz piekiel" with lore "&7Nether monsters spawning I" to the player
- give diamond sword named "&r&bMiecz teleportacji" with lore "&7Teleportation I" to the player
- give diamond sword named "&r&bMiecz ognia" with lore "&7Ignite I||&7Fire resistance I" to the player
- give diamond sword named "&r&bMiecz syreny" with lore "&7Water breathing I" to the player
- give bow named "&r&bLekki luk" with lore "&7Fast shooting I" to the player
- give bow named "&r&bElfi luk" with lore "&7Multi shot I" to the player
- give bow named "&r&bLuk straznika" with lore "&7Arrows I" to the player
- give bow named "&r&bLuk teleportacji" with lore "&7Teleportation I" to the player
- give bow named "&r&bLuk kradziezy zycia" with lore "&7Lifesteal I" to the player
- send "&{@c1}» Stworzyles &{@c2}Wszystkie miecze i luki"
- stop
- if arg 2 is "blindness":
- give diamond sword named "&r&bMiecz slepoty" with lore "&7Blindness I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz slepoty"
- stop
- if arg 2 is "nausea":
- give diamond sword named "&r&bMiecz nudnosci" with lore "&7Nausea I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz nudnosci"
- stop
- if arg 2 is "slowness":
- give diamond sword named "&r&bMiecz spowolnienia" with lore "&7Slowness I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz spowolnienia"
- stop
- if arg 2 is "lightning":
- give diamond sword named "&r&bMiecz blyskawic" with lore "&7Lightning I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz blyskawic"
- stop
- if arg 2 is "explosion":
- give diamond sword named "&r&bMiecz eksplozji" with lore "&7Explosion I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz eksplozji"
- stop
- if arg 2 is "swiftness":
- give diamond sword named "&r&bMiecz szybkosci" with lore "&7Swiftness I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz szybkosci"
- stop
- if arg 2 is "jumpboost":
- give diamond sword named "&r&bMiecz skocznosci" with lore "&7Jump boost I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz skocznosci"
- stop
- if arg 2 is "lifesteal-sword":
- give diamond sword named "&r&bMiecz kradziezy zycia" with lore "&7Lifesteal I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz kradziezy zycia"
- stop
- if arg 2 is "invisibility":
- give diamond sword named "&r&bMiecz zabojcy" with lore "&7Invisibility I||&7Swiftness III" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz zabojcy"
- stop
- if arg 2 is "villager":
- give diamond sword named "&r&bMiecz osadnika" with lore "&7Villagers spawning I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz osadnika"
- stop
- if arg 2 is "monster":
- give diamond sword named "&r&bMiecz potworow" with lore "&7Monsters spawning I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz potworow"
- stop
- if arg 2 is "nether":
- give diamond sword named "&r&bMiecz piekiel" with lore "&7Nether monsters spawning I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz piekiel"
- stop
- if arg 2 is "teleportation-sword":
- give diamond sword named "&r&bMiecz teleportacji" with lore "&7Teleportation I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz piekiel"
- stop
- if arg 2 is "ignite":
- give diamond sword named "&r&bMiecz ognia" with lore "&7Ignite I||&7Fire resistance I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz piekiel"
- stop
- if arg 2 is "waterbreathing":
- give diamond sword named "&r&bMiecz syreny" with lore "&7Water breathing I" to the player
- send "&{@c1}» Stworzyles &{@c2}Miecz piekiel"
- stop
- if arg 2 is "fastshooting":
- give bow named "&r&bLekki luk" with lore "&7Fast shooting I" to the player
- send "&{@c1}» Stworzyles &{@c2}Lekki luk"
- stop
- if arg 2 is "multishot":
- give bow named "&r&bElfi luk" with lore "&7Multi shot I" to the player
- send "&{@c1}» Stworzyles &{@c2}Elfi luk"
- stop
- if arg 2 is "arrows":
- give bow named "&r&bLuk straznika" with lore "&7Arrows I" to the player
- send "&{@c1}» Stworzyles &{@c2}Luk straznika"
- stop
- if arg 2 is "teleportation-bow":
- give bow named "&r&bLuk teleportacji" with lore "&7Teleportation I" to the player
- send "&{@c1}» Stworzyles &{@c2}Luk teleportacji"
- stop
- if arg 2 is "lifesteal-bow":
- give bow named "&r&bLuk kradziezy zycia" with lore "&7Lifesteal I" to the player
- send "&{@c1}» Stworzyles &{@c2}Luk kradziezy zycia"
- stop
- if arg 2 is not set:
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} blindness &{@c1}- Miecz slepoty"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} nausea &{@c1}- Miecz nudnosci"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} slowness &{@c1}- Miecz spowolnienia"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} lightning &{@c1}- Miecz blyskawic"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} explosion &{@c1}- Miecz eksplozji"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} swiftness &{@c1}- Miecz szybkosci"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} jumpboost &{@c1}- Miecz skocznosci"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} lifesteal-sword &{@c1}- Miecz kradziezy zycia"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} invisibility &{@c1}- Miecz zabojcy"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} villager &{@c1}- Miecz osadnika"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} monster &{@c1}- Miecz potworow"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} nether &{@c1}- Miecz piekiel"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} teleportation-sword &{@c1}- Miecz teleportacji"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} ignite &{@c1}- Miecz ognia"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} waterbreathing &{@c1}- Miecz syreny"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} fastshooting &{@c1}- Lekki luk"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} multishot &{@c1}- Elfi luk"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} arrows &{@c1}- Luk straznika"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} teleportation-bow &{@c1}- Luk teleportacji"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} lifesteal-bow &{@c1}- Luk kradziezy zycia"
- stop
- else:
- send "&{@c1}» Poprawne uzycie: &{@c2}/{@arg0} {@arg1}"
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if arg 1 is "{@arg3}":
- if player has permission "weaponsplus.*":
- send "&{@c1}» Poprawne uzycie:"
- send "&{@c1}» &{@c2}/{@arg0} {@arg6} &{@c1}- Debuguj skrypt"
- send "&{@c1}» &{@c2}/{@arg0} {@arg7} &{@c1}- Zresetuj skrypt"
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} &{@c1}- Stworz miecz"
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} &{@c1}- Crafting mieczy"
- send "&{@c1}» &{@c2}/{@arg0} autor &{@c1}- Informacje o autorze"
- stop
- else:
- send "&{@c1}» Poprawne uzycie:"
- if player has permission "weaponsplus.debug":
- send "&{@c1}» &{@c2}/{@arg0} {@arg6} &{@c1}- Debuguj skrypt"
- if player has permission "weaponsplus.reload":
- send "&{@c1}» &{@c2}/{@arg0} {@arg7} &{@c1}- Zresetuj skrypt"
- if player has permission "weaponsplus.create":
- send "&{@c1}» &{@c2}/{@arg0} {@arg1} &{@c1}- Stworz miecz"
- if player has permission "weaponsplus.crafting":
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} &{@c1}- Crafting mieczy"
- send "&{@c1}» &{@c2}/{@arg0} autor &{@c1}- Informacje o autorze"
- stop
- if arg 1 is "{@arg4}":
- if player has permission "weaponsplus.*" or "weaponsplus.crafting":
- if arg 2 is "blindness":
- if {@sword1} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "recipe diamondsword 1"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "nausea":
- if {@sword2} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "recipe diamondsword 2"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "slowness":
- if {@sword3} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 3"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "lightning":
- if {@sword4} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 4"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "explosion":
- if {@sword5} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 5"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "swiftness":
- if {@sword6} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 6"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "jumpboost":
- if {@sword7} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 7"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "lifesteal-sword":
- if {@sword8} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 8"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "invisibility":
- if {@sword9} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 9"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "villager":
- if {@sword10} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 14"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "monster":
- if {@sword11} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 15"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "nether":
- if {@sword12} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 16"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "teleportation-sword":
- if {@sword13} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 10"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "ignite":
- if {@sword14} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 11"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "waterbreathing":
- if {@sword15} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 12"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "lava":
- if {@sword14} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe 11"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "water":
- if {@sword15} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe 9"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "fastshooting":
- if {@bow1} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 2"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "multishot":
- if {@bow2} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 3"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "arrows":
- if {@bow3} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 4"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "teleportation-bow":
- if {@bow4} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 5"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is "lifesteal-bow":
- if {@bow5} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 6"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- if arg 2 is not set:
- if {@sword1} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} blindness &{@c1}- Miecz slepoty"
- if {@sword2} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} nausea &{@c1}- Miecz nudnosci"
- if {@sword3} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} slowness &{@c1}- Miecz spowolnienia"
- if {@sword4} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} lightning &{@c1}- Miecz blyskawic"
- if {@sword5} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} explosion &{@c1}- Miecz eksplozji"
- if {@sword6} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} swiftness &{@c1}- Miecz szybkosci"
- if {@sword7} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} jumpboost &{@c1}- Miecz skocznosci"
- if {@sword8} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} lifesteal-sword &{@c1}- Miecz kradziezy zycia"
- if {@sword9} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} invisibility &{@c1}- Miecz zabojcy"
- if {@sword10} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} villager &{@c1}- Miecz osadnika"
- if {@sword11} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} monster &{@c1}- Miecz potworow"
- if {@sword12} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} nether &{@c1}- Miecz piekiel"
- if {@sword13} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} teleportation-sword &{@c1}- Miecz teleportacji"
- if {@sword14} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} ignite &{@c1}- Miecz ognia"
- if {@sword15} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} waterbreathing &{@c1}- Miecz syreny"
- if {@sword14} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} lava &{@c1}- Lawa"
- if {@sword15} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} water &{@c1}- Woda"
- if {@bow1} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} fastshooting &{@c1}- Lekki luk"
- if {@bow2} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} multishot &{@c1}- Elfi luk"
- if {@bow3} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} arrows &{@c1}- Luk straznika"
- if {@bow4} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} teleportation-bow &{@c1}- Luk teleportacji"
- if {@bow5} is true:
- send "&{@c1}» &{@c2}/{@arg0} {@arg4} lifesteal-bow &{@c1}- Luk kradziezy zycia"
- stop
- else:
- send "&{@c1}» Poprawne uzycie: &{@c2}/{@arg0} {@arg4}"
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if arg 1 is not set:
- send "&{@c1}» Poprawne uzycie: &{@c2}/{@arg0} {@arg3}"
- stop
- else:
- send "&{@c1}» Poprawne uzycie: &{@c2}/{@arg0} {@arg3}"
- stop
- on command "/stop":
- set {equipmentplusloaded} to false
- stop
- on sign change:
- if line 1 of block is "[{@line1sword}]":
- if player has permission "weaponsplus.*" or "weaponsplus.sign":
- if line 2 of block is "{@line2}":
- if line 3 of block is "001":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Blindness"
- stop
- if line 3 of block is "002":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Nausea"
- stop
- if line 3 of block is "003":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Slowness"
- stop
- if line 3 of block is "004":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Lightning"
- stop
- if line 3 of block is "005":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Explosion"
- stop
- if line 3 of block is "006":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Swiftness"
- stop
- if line 3 of block is "007":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Jump Boost"
- stop
- if line 3 of block is "008":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Lifesteal"
- stop
- if line 3 of block is "009":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Invisibility"
- stop
- if line 3 of block is "010":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Villager"
- stop
- if line 3 of block is "011":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Monster"
- stop
- if line 3 of block is "012":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Nether"
- stop
- if line 3 of block is "013":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Teleportation"
- stop
- if line 3 of block is "014":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Ignite"
- stop
- if line 3 of block is "015":
- set line 1 of block to "&{@c3}[{@line1sword}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Water Breathing"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- if line 2 of block is not set:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 2"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if line 1 of block is "[{@line1addons}]":
- if player has permission "weaponsplus.*" or "weaponsplus.sign":
- if line 2 of block is "{@line2}":
- if line 3 of block is "Lava":
- set line 1 of block to "&{@c3}[{@line1addons}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Lava"
- stop
- if line 3 of block is "Water":
- set line 1 of block to "&{@c3}[{@line1addons}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Water"
- stop
- if line 3 of block is not set:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- if line 2 of block is not set:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 2"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if line 1 of block is "[{@line1bow}]":
- if player has permission "weaponsplus.*" or "weaponsplus.sign":
- if line 2 of block is "{@line2}":
- if line 3 of block is "001":
- set line 1 of block to "&{@c3}[{@line1bow}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Fast Shooting"
- stop
- if line 3 of block is "002":
- set line 1 of block to "&{@c3}[{@line1bow}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Multi shot"
- stop
- if line 3 of block is "003":
- set line 1 of block to "&{@c3}[{@line1bow}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Arrows"
- stop
- if line 3 of block is "004":
- set line 1 of block to "&{@c3}[{@line1bow}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Teleportation"
- stop
- if line 3 of block is "005":
- set line 1 of block to "&{@c3}[{@line1bow}]"
- set line 2 of block to "&{@c4}{@line2}"
- set line 3 of block to "&{@c5}Lifesteal"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- if line 2 of block is not set:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 3"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Niepoprawny warunek w &{@c2}linii 2"
- stop
- else:
- cancel event
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- on rightclick on sign:
- if line 1 of block is "&{@c3}[{@line1sword}]":
- if player has permission "weaponsplus.*" or "weaponsplus.crafting":
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Blindness":
- if {@sword1} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 1"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Nausea":
- if {@sword2} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 2"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Slowness":
- if {@sword3} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 3"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Lightning":
- if {@sword4} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 4"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Explosion":
- if {@sword5} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 5"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Swiftness":
- if {@sword6} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 6"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Jump Boost":
- if {@sword7} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 7"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Lifesteal":
- if {@sword8} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 8"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Invisibility":
- if {@sword9} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 9"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Villager":
- if {@sword10} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 14"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Monster":
- if {@sword11} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 15"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Nether":
- if {@sword12} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 16"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Teleportation":
- if {@sword13} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 10"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Ignite":
- if {@sword14} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 11"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Water Breathi":
- if {@sword15} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe diamondsword 12"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- if line 1 of block is "&{@c3}[{@line1bow}]":
- if player has permission "weaponsplus.*" or "weaponsplus.crafting":
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Fast shooting":
- if {@bow1} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 2"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Multi shot":
- if {@bow2} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 3"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Arrows":
- if {@bow3} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 4"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Teleportation":
- if {@bow4} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 5"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Lifesteal":
- if {@bow5} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe bow 6"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 1 of block is "&{@c3}[{@line1addons}]":
- if player has permission "weaponsplus.*" or "weaponsplus.crafting":
- if line 2 of block is "&{@c4}{@line2}":
- if line 3 of block is "&{@c5}Lava":
- if {@sword14} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe 11"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- if line 3 of block is "&{@c5}Water":
- if {@sword15} is true:
- execute console command "pex user %name of player% add essentials.recipe"
- execute player command "/recipe 9"
- execute console command "pex user %name of player% remove essentials.recipe"
- stop
- else:
- send "&{@c1}» &{@c2}Crafting tego przedmiotu zostal wylaczony."
- stop
- else:
- send "&{@c1}» &{@c2}Nie posiadasz odpowiedniego pozwolenia aby uzyc tej komendy."
- stop
- on rightclick:
- if player's tool is water:
- if {@blockwater} is true:
- cancel event
- stop
- if player's tool is lava:
- if {@blocklava} is true:
- cancel event
- stop
Advertisement
Add Comment
Please, Sign In to add comment