#╔═══════════════════════════════════════╗ #║ Podstawowe informacje ║ #║Nazwa skryptu: ║ #║ ► Breeds ║ #║Autor: ║ #║ ► Sworip ║ #║Wersja: ║ #║ ► Beta v1.0.0 ║ #╠═══════════════════════════════════════╣ #║ Licencja ║ #║ ► Zakaz rozpowszechniania skryptu ║ #║ bez zgody autora ║ #║ ► Zakaz używania cześci skryptu ║ #║ bez zgody autora ║ #║ ► Zakaz czerpania bezpośrednich i ║ #║ pośrednich korzyści ║ #║ majątkowych z tego skryptu ║ #║ ► Zakaz zmiany licencji ║ #║ ► Skrypt można modyfikować tylko ║ #║ na własy użytek ║ #╚═══════════════════════════════════════╝ options: tag: &8[&cBreeds&8] &b- pex: &cNie masz uprawnien! uprawnienia: breeds.* every real second: loop all players: if biome at loop-player is forest or taiga or jungle or jungle edge or birch forest: if {rasa::%loop-player%} is 1: apply speed 2 to the loop-player for 1 real second if biome at loop-player is not forest or taiga or jungle or jungle edge or birch forest: if {rasa::%loop-player%} is 1: remove speed from loop-player if {rasa::%loop-player%} is 2: apply resistance 2 to the loop-player for 1 real second at 20:00 in "world": loop all players: if {rasa::%loop-player%} is 3: apply speed 2 to the loop-players for 7 minutes apply night vision 2 to the loop-players for 7 minutes if {rasa::%loop-player%} is 4: apply speed 2 to the loop-players for 7 minutes apply strength 1 to the loop-players for 7 minutes stop if {rasa::%loop-player%} is 5: apply haste 1 to the loop-players for 7 minutes stop if {rasa::%loop-player%} is 1: apply night vision 2 to the loop-players for 7 minutes stop at 6:00 in "world": loop all players: if {rasa::%loop-player%} is 3: remove speed from loop-player remove night vision from loop-player if {rasa::%loop-player%} is 4: remove speed from loop-player remove strength from loop-player stop if {rasa::%loop-player%} is 5: remove haste from loop-player apply speed 2 to the loop-players for 10 minutes stop if {rasa::%loop-player%} is 1: remove night vision from loop-player apply jump boost 2 to the loop-players for 10 minutes stop command /rasa [] []: trigger: if arg 1 is not set: if arg 2 is not set: if player has permission "{@uprawnienia}": send "&e&m-----------------------------------------------------" send "&c&o/rasa list &8- &7Spis wszystki ras dostepnych na serwerze" send "&c&o/rasa version &8- &7Wersja skriptu" send "&c&o/rasa wybierz &8- &7Wybierasz rase ktora chcesz grac" send "&c&o/rasa sprawdz &8- &7Sprawdza jaka rase posiadasz" send "&c&o/acamp [rasa] &8- &7Ustawia campa rasy" send "&c&o/camp &8- &7Teleportacja na campa rasy" send "&4&o/zewnatrz &8- &7Teleportacja wilkolaka na gore" send "&c&o/wilkwyjscie &8- &7Ustawienie miejsca tp pod /zewnatrz" send "&e&m-----------------------------------------------------" else: send "&e&m-----------------------------------------------------" send "&c&o/rasa list &8- &7Spis wszystki ras dostepnych na serwerze" send "&c&o/rasa version &8- &7Wersja skriptu" send "&c&o/rasa wybierz &8- &7Wybierasz rase ktora chcesz grac" send "&c&o/rasa sprawdz &8- &7Sprawdza jaka rase posiadasz" send "&c&o/camp &8- &7Teleportacja na campa rasy" send "&4&o/zewnatrz &8- &7Teleportacja wilkolaka na gore" send "&e&m-----------------------------------------------------" if arg 1 is "list": if arg 2 is not set: open chest with 3 rows named "&cDostepne Rasy" to player wait 1 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 9 of player with 1 of oak sapling named "&8» &aElfy" with lore "&8» &cInfo &8- &7/rasa info||&8» &cWybor &8- &7/rasa wybierz||&8» &cZmiana &8- &7/rasa zmien" to close format slot 11 of player with 1 of diamond axe named "&8» &2Ork" with lore "&8» &cInfo &8- &7/rasa info||&8» &cWybor &8- &7/rasa wybierz||&8» &cZmiana &8- &7/rasa zmien" to close format slot 13 of player with 1 of zombie head named "&8» &eWilkolak" with lore "&8» &cInfo &8- &7/rasa info||&8» &cWybor &8- &7/rasa wybierz||&8» &cZmiana &8- &7/rasa zmien" to close format slot 15 of player with 1 of redstone named "&8» &4Wampir" with lore "&8» &cInfo &8- &7/rasa info||&8» &cWybor &8- &7/rasa wybierz||&8» &cZmiana &8- &7/rasa zmien" to close format slot 17 of player with 1 of iron pickaxe named "&8» &3Krasnolud" with lore "&8» &cInfo &8- &7/rasa info||&8» &cWybor &8- &7/rasa wybierz||&8» &cZmiana &8- &7/rasa zmien" to close if arg 1 is "wybierz": if arg 2 is not set: open chest with 3 rows named "&cWybor Rasy" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 9 of player with 1 of oak sapling named "&8» &aElfy" with lore "&8» &cNiewielkie ludziki|| &cktorych domem jest las|| &cW nocy widza w ciemnosci|| &cnatomiast w dzien zuskuja jump boosta." to close then run [execute player command "/fsgrhiuodfghiudfghiodfgsji elf"] format slot 11 of player with 1 of diamond axe named "&8» &2Ork" with lore "&8» &cOgromne Zielone potwory|| &cMaja ogromna sile. Uwazaj na nich!" to close then run [execute player command "/fsgrhiuodfghiudfghiodfgsji ork"] format slot 13 of player with 1 of zombie head named "&8» &eWilkolak" with lore "&8» &cWlochaty stwor ktory|| &cw nocy zaczyna widziec w ciemnosci|| &coraz dostaje speeda II az do rana." to close then run [execute player command "/fsgrhiuodfghiudfghiodfgsji wilkolak"] format slot 15 of player with 1 of redstone named "&8» &4Wampir" with lore "&8» &cW nocy dostaje speeda oraz sile" to close then run [execute player command "/fsgrhiuodfghiudfghiodfgsji wampir"] format slot 17 of player with 1 of iron pickaxe named "&8» &3Krasnolud" with lore "&8» &cNiewielkie stworzenia zamieszkujace las|| &cW dzien staja sie szybsze|| &ca w nocy dostaja pospiech." to close then run [execute player command "/fsgrhiuodfghiudfghiodfgsji krasnolud"] if arg 1 is "sprawdz": if arg 2 is not set: if {rasa::%player%} is 1: send "&e&m-----------------------------------------------------" send " &cRasa&8: &aElf" send "&e&m-----------------------------------------------------" if {rasa::%player%} is 2: send "&e&m-----------------------------------------------------" send " &cRasa&8: &2Ork" send "&e&m-----------------------------------------------------" if {rasa::%player%} is 3: send "&e&m-----------------------------------------------------" send " &cRasa&8: &eWilkolak" send "&e&m-----------------------------------------------------" if {rasa::%player%} is 4: send "&e&m-----------------------------------------------------" send " &cRasa&8: &4Wampir" send "&e&m-----------------------------------------------------" if {rasa::%player%} is 5: send "&e&m-----------------------------------------------------" send " &cRasa&8: &3Krasnolud" send "&e&m-----------------------------------------------------" if arg 1 is "version": if arg 2 is not set: send "&7&m----------------------" send "&7Nazwa: &cBreeds" send "&7versja: &cBETA v1.0.0" send "&7Autor: &cSworip" send "&7&m----------------------" command /admin rasa: permission: rasa.* trigger: clear {rasa::%player%} clear {plec::%player%} clear {chat.prefix..%player%} clear {chat.rasa.%player%} send "{@tag} &4Prawidlowo" command /fsgrhiuodfghiudfghiodfgsji []: trigger: if arg 1 is "elf": if {rasa::%player%} is not set: send "{@tag} &6Prosze czekac..." wait 3 second execute player command "/rasedw elf" else: send "{@tag} &cPosiadasz juz rase, nie mozesz jej wybrac drugi raz!" if arg 1 is "ork": if {rasa::%player%} is not set: send "{@tag} &6Prosze czekac..." wait 3 second execute player command "/rasedw ork" else: send "{@tag} Posiadasz juz rase, nie mozesz jej wybrac drugi raz!" if arg 1 is "wilkolak": if {rasa::%player%} is not set: send "{@tag} &6Prosze czekac..." wait 3 second execute player command "/rasedw wilkolak" else: send "{@tag} Posiadasz juz rase, nie mozesz jej wybrac drugi raz!" if arg 1 is "wampir": if {rasa::%player%} is not set: send "{@tag} &6Prosze czekac..." wait 3 second execute player command "/rasedw wampir" else: send "{@tag} Posiadasz juz rase, nie mozesz jej wybrac drugi raz!" if arg 1 is "krasnolud": if {rasa::%player%} is not set: send "{@tag} &6Prosze czekac..." wait 3 second execute player command "/rasedw krasnolud" else: send "{@tag} Posiadasz juz rase, nie mozesz jej wybrac drugi raz!" command /rasedw []: trigger: if arg 1 is "elf": open chest with 3 rows named "&cWybor Plci" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 11 of player with 1 of blue wool to close then run [execute player command "/arfrdtgtr elfm"] format slot 15 of player with 1 of red wool to close then run [execute player command "/arfrdtgtr elfk"] if arg 1 is "ork": open chest with 3 rows named "&cWybor Plci" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 11 of player with 1 of blue wool to close then run [execute player command "/arfrdtgtr orkm"] format slot 15 of player with 1 of red wool to close then run [execute player command "/arfrdtgtr orkk"] if arg 1 is "wilkolak": open chest with 3 rows named "&cWybor Plci" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 11 of player with 1 of blue wool to close then run [execute player command "/arfrdtgtr wilkolakm"] format slot 15 of player with 1 of red wool to close then run [execute player command "/arfrdtgtr wilkolakk"] if arg 1 is "wampir": open chest with 3 rows named "&cWybor Plci" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 11 of player with 1 of blue wool to close then run [execute player command "/arfrdtgtr wampirm"] format slot 15 of player with 1 of red wool to close then run [execute player command "/arfrdtgtr wampirk"] if arg 1 is "krasnolud": open chest with 3 rows named "&cWybor Plci" to player wait 3 ticks format slot 0 of player with 1 of black glass to close loop 26 times: format slot loop-number of player with 1 of black glass to close format slot 11 of player with 1 of blue wool to close then run [execute player command "/arfrdtgtr krasnoludm"] format slot 15 of player with 1 of red wool to close then run [execute player command "/arfrdtgtr krasnoludk"] on chat: cancel event broadcast "&8[%{chat.prefix.%player%}%&8] &8[%{chat.rasa.%player%}%&8] %{plec::%player%}%%player%: &f%message%" on join: if {chat.prefix.%player%} is not set: set {chat.prefix.%player%} to "&9Gracz" if {plec::%player%} is not set: set {plec::%player%} to "&8" if {rasa::%player%} is not set: set {chat.rasa.%player%} to "&7Brak" command /setprefix [] []: permission: {@uprawnienia} permission message: &cNie masz dostepu dotej komendy! usage: &7/setprefix trigger: if arg-2 is "gracz": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&9Gracz" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "vip": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&bVIP" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "pomocnik": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&6Pomocnik" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "yt": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&cYou&fTube" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "admin": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&cAdministrator" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "mod": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&5Moderator" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop if arg-2 is "wlasciciel": if player has permission "chat.owner": set {chat.prefix.%arg-1%} to "&4Wlasciciel" message "&aZmieniono range gracza &e%arg-1% &ana &c%arg-2%" stop command /arfrdtgtr []: trigger: if arg 1 is "elfk": set {rasa::%player%} to 1 set {plec::%player%} to "&d" set {chat.rasa.%player%} to "&aElf" remove strength from player remove haste from player remove speed from player remove resistance from player execute console command "/sr set %player% Shely" teleport player to {elf.kampa} if arg 1 is "elfm": set {rasa::%player%} to 1 set {plec::%player%} to "&3" set {chat.rasa.%player%} to "&aElf" remove strength from player remove haste from player remove speed from player remove resistance from player execute console command "/sr set %player% KILL3RCR4FTER" teleport player to {elf.kampa} if arg 1 is "orkk": set {rasa::%player%} to 2 set {plec::%player%} to "&d" set {chat.rasa.%player%} to "&2Ork" remove strength from player remove haste from player remove speed from player remove jump boost from player remove night vision from player execute console command "/sr set %player% Repli" teleport player to {ork.kampa} if arg 1 is "orkm": set {rasa::%player%} to 2 set {plec::%player%} to "&3" set {chat.rasa.%player%} to "&2Ork" remove strength from player remove haste from player remove speed from player remove jump boost from player remove night vision from player execute console command "/sr set %player% Tubagirl" teleport player to {ork.kampa} if arg 1 is "wilkolakk": set {rasa::%player%} to 3 set {plec::%player%} to "&d" set {chat.rasa.%player%} to "&eWilkolak" remove strength from player remove haste from player remove jump boost from player remove resistance from player execute console command "/sr set %player% Cecililla" teleport player to {wilkolak.kampa} if arg 1 is "wilkolakm": set {rasa::%player%} to 3 set {plec::%player%} to "&3" set {chat.rasa.%player%} to "&eWilkolak" remove strength from player remove haste from player remove jump boost from player remove resistance from player execute console command "/sr set %player% PenPenciI" teleport player to {wilkolak.kampa} if arg 1 is "wampirk": set {rasa::%player%} to 4 set {plec::%player%} to "&d" set {chat.rasa.%player%} to "&cWampir" remove night vision from player remove haste from player remove jump boost from player remove resistance from player execute console command "/sr set %player% xItsChara" teleport player to {wampir.kampa} if arg 1 is "wampirm": set {rasa::%player%} to 4 set {chat.rasa.%player%} to "&cWampir" set {plec::%player%} to "&3" remove night vision from player remove haste from player remove jump boost from player remove resistance from player execute console command "/sr set %player% theKillerPlayer" teleport player to {wampir.kampa} if arg 1 is "krasnoludk": set {rasa::%player%} to 5 set {plec::%player%} to "&d" set {chat.rasa.%player%} to "&3Krasnolud" remove night vision from player remove strength from player remove jump boost from player remove resistance from player execute console command "/sr set %player% LiliLeaves" teleport player to {krasnolud.kampa} if arg 1 is "krasnoludm": set {rasa::%player%} to 5 set {plec::%player%} to "&3" set {chat.rasa.%player%} to "&3Krasnolud" remove night vision from player remove strength from player remove jump boost from player remove resistance from player execute console command "/sr set %player% Prodkid" teleport player to {krasnolud.kampa} on damage: if attacker is player: if victim is player: if {rasa::%attacker%} is 1: if {rasa::%victim%} is 1: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 2: if {rasa::%victim%} is 2: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 3: if {rasa::%victim%} is 3: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 4: if {rasa::%victim%} is 4: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 5: if {rasa::%victim%} is 5: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if attacker is player: if victim is player: if projectile is an arrow: if {rasa::%attacker%} is 1: if {rasa::%victim%} is 1: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 2: if {rasa::%victim%} is 2: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 3: if {rasa::%victim%} is 3: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 4: if {rasa::%victim%} is 4: cancel event send "{@tag} &cTen gracz jest twojej rasy!" if {rasa::%attacker%} is 5: if {rasa::%victim%} is 5: cancel event send "{@tag} &cTen gracz jest twojej rasy!" command /wilkwyjscie: trigger: if player has permission "{@uprawnienia}": set {wilk.wyjscie} to location of player send "{@tag} &cUstawiono wyjscie." else: send "{@tag} {@pex}" command /acampa []: trigger: if player has permission "{@uprawnienia}": if arg 1 is "wilkolak": set {wilk.kampa} to location of player send "{@tag} &cUstawiono kampa wilkolaka." else: send "{@tag} nie ma takiej rasy!" if arg 1 is "elf": set {elf.kampa} to location of player send "{@tag} &cUstawiono kampa elfa." else: send "{@tag} nie ma takiej rasy!" if arg 1 is "ork": set {ork.kampa} to location of player send "{@tag} &cUstawiono kampa orka." else: send "{@tag} nie ma takiej rasy!" if arg 1 is "wampir": set {wampir.kampa} to location of player send "{@tag} &cUstawiono kampa wampira." else: send "{@tag} nie ma takiej rasy!" if arg 1 is "krasnolud": set {krasnolud.kampa} to location of player send "{@tag} &cUstawiono kampa krasnoluda." else: send "{@tag} nie ma takiej rasy!" else: send "{@tag} {@pex}" command /zewnatrz: trigger: if {rasa::%player%} is 3: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {wilk.wyjscie} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!" command /camp: trigger: if {rasa::%player%} is 3: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {wilk.kampa} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!" if {rasa::%player%} is 1: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {elf.kampa} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!" if {rasa::%player%} is 2: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {ork.kampa} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!" if {rasa::%player%} is 4: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {wampir.kampa} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!" if {rasa::%player%} is 5: set {_loc} to "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" send "&8» &eTeleportacja &7nastopi za &e7 sekund. &7Nie ruszaj sie!" wait 7 real seconds if "%x-coordinate of player%, %y-coordinate of player%, %z-coordinate of player%" is {_loc}: teleport player to {krasnolud.kampa} send "&8» &7Teleportacja &epomyslna!" else: send "&8» &eRuszyles sie! &7Teleportacja anulowana!"