Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #---------------------------------------------------------------------------------------#
- # #
- # Heros of Legend #
- # #
- #---------------------------------------------------------------------------------------#
- # By MrKammanY. ## Version ## Version #
- # Heros Of Legend ## 0.2 ## Alfa #
- #-----------------##-----------##------------------#
- # =============== Changelog ==============
- # -------- Version 0.1 ----------- (Alfa)
- # System pieniedzy
- # System Zabic i Zgonow
- # Podstawowe komedy
- # Szkielet
- # -------- Version 0.5 -----------
- # System komed
- # Własny system chatu
- # Komenda Administracyjna
- # Usuniecie wielu bledow
- # System Aren
- # Kupowanie rang poprzez tabliczki
- # -------- Version 1.0 ------------
- # Usprawnienie aren
- # Dodane permisie Administratora ( hol.admin )
- # Usprawnienie druzyn
- # Dodanie AntyLogaut
- # Dodane : /bug, /zgloszenia - W folderze LegendOfHeros
- options:
- tag: &f&l[&6HerosOfLegends&f&l]
- on first join:
- set {PostacCywil.%player%} to true
- set {PostacHades.%player%} to false
- set {PostacAhilles.%player%} to false
- set {PostacZeus.%player%} to false
- set {PostacGod.%player%} to false
- on join:
- if {kasa::%player%} is not set:
- set {kasa::%player%} to 0
- on join:
- if {smierci::%player%} is not set:
- set {smierci::%player%} to 0
- on join:
- if {zabicia::%player%} is not set:
- set {zabicia::%player%} to 0
- on join:
- teleport player to {spawn}
- set {hol.cywil.%player%} to true
- set {hol.hades.%player%} to false
- set {hol.ahilles.%player%} to false
- set {hol.zeus.%player%} to false
- set {hol.god.%player%} to false
- set {blue.%player%} to false
- set {red.%player%} to false
- variables:
- {czat} = true
- {odstepcheater.%player%} = true
- command /lol:
- aliases: help, pomoc, plugins, craftbukkit, me, pl, plugins, bukkit:pl, craftbukkit
- trigger:
- message "{@tag} "
- message "&7/dolacz <red/blue> - &aDolacz Do Areny i druzyny"
- message "&7/postac - &aInformacje o Postaciach"
- message "&7/wybierz <Postac>- &aWybierasz"
- message "&7/money - &aIlosc pieniedzy"
- message "&7/bug <tresc> - &aZglaszasz buga"
- message "&7/zglos <Gracz> <powod> - &aZglaszasz gracza"
- message "&7/ks <gracz> - &a Statystyki gracza (Musi byc online)"
- message "&7/spawn - &aTeleportacja na spawn"
- message "&7/admintools - &aKomedy Admina"
- message "&7/autor - &aInformacje o Autorze"
- command /admintools:
- permission: hol.admin
- trigger:
- message "{@tag} "
- message "&7/daj <gracz> - &&a Daje graczowi 1000 pieniedzy"
- message "&7/acreate <red/blue> - &a Tworzysz spawn dla niebieskiej lub czerwonej grupy"
- message "&7/dodaj - &a Dodaje ci 1000 kasy"
- message "&7/chat - &a Komendy dotyczace chatu"
- message "&7/at <zablokuj/odblokuj> <gracz> - &a Restartuje postacie graczowi, aby sprawdzic czy dziala sklep :)"
- message "&7/setspawn - &a Ustaw spawn"
- command /acreate [<text>]:
- permission: "hol.admin"
- trigger:
- if arg 1 is "blue":
- set {spawn.blue} to location of player
- message "&d[&8H&ao&6L&d] &aUstawiles spawn niebieskich "
- if arg 1 is "red":
- set {spawn.red} to location of player
- message "&d[&8H&ao&6L&d] &aUstawiles spawn czerwonych "
- command /dolacz [<text>]:
- trigger:
- if arg 1 is "red":
- if {red.%player%} is false:
- if {antylog.%player%} is false:
- if {hol.cywil.%player%} is true:
- set {red.%player%} to true
- execute console command "/clear %player%"
- set {blue.%player%} to false
- give leather boots of protection 2 named "&aGumowe Buty" to player
- give wooden sword named "&7Zardzewialy Miecz" to player
- teleport player to {spawn.red}
- stop
- if {hol.hades.%player%} is true:
- set {red.%player%} to true
- execute console command "/clear %player%"
- set {blue.%player%} to false
- give Iron Sword named "&7Potezny Zelazny Miecz" to player
- give 2 Healing Potion named "&cmikstura leczenia" to player
- teleport player to {spawn.red}
- if {hol.ahilles.%player%} is true:
- set {red.%player%} to true
- execute console command "/clear %player%"
- set {blue.%player%} to false
- give Stone Axe named "&8Stary Topor" to player
- give Diamond Chestplate of protection 10 named "&aDiamentowe Uzbrojenie" to player
- give Diamond Boots named "&aDiamentowe Uzbrojenie" to player
- teleport player to {spawn.red}
- stop
- if {hol.zeus.%player%} is true:
- set {red.%player%} to true
- execute console command "/clear %player%"
- set {blue.%player%} to false
- give Bow of power 5 named "&5Luk Zeus'a" to the player
- give 64 Arrow named "&6Piorun" to player
- give Golden Helmet of protection 10 named "&eKorona" to player
- teleport player to {spawn.red}
- stop
- if {hol.god.%player%} is true:
- set {red.%player%} to true
- execute console command "/clear %player%"
- set {blue.%player%} to false
- equip player with all diamond armor of protection 5
- give 10 Healing Potion named "&cmikstura leczenia" to player
- teleport player to {spawn.red}
- stop
- else:
- message "&cNiemozesz uzyc tej komedy podczas walki"
- else:
- message "&cJestes juz w tej druzynie"
- if arg 1 is "blue":
- if {blue.%player%} is false:
- if {hol.cywil.%player%} is true:
- set {red.%player%} to false
- execute console command "/clear %player%"
- set {blue.%player%} to true
- give leather boots of protection 2 named "&aGumowe Buty" to player
- give wooden sword named "&7Zardzewialy Miecz" to player
- teleport player to {spawn.blue}
- stop
- if {hol.hades.%player%} is true:
- set {red.%player%} to false
- execute console command "/clear %player%"
- set {blue.%player%} to true
- give Iron Sword named "&7Potezny Zelazny Miecz" to player
- give 2 Healing Potion named "&cmikstura leczenia" to player
- teleport player to {spawn.blue}
- if {hol.ahilles.%player%} is true:
- set {red.%player%} to false
- execute console command "/clear %player%"
- set {blue.%player%} to true
- give Stone Axe named "&8Stary Topor" to player
- give Diamond Chestplate of protection 10 named "&aDiamentowe Uzbrojenie" to player
- give Diamond Boots named "&aDiamentowe Uzbrojenie" to player
- teleport player to {spawn.blue}
- stop
- if {hol.zeus.%player%} is true:
- set {red.%player%} to false
- execute console command "/clear %player%"
- set {blue.%player%} to true
- give Bow of power 5 named "&5Luk Zeus'a" to the player
- give 64 Arrow named "&6Piorun" to player
- give Golden Helmet of protection 10 named "&eKorona" to player
- teleport player to {spawn.blue}
- stop
- if {hol.god.%player%} is true:
- set {red.%player%} to false
- execute console command "/clear %player%"
- set {blue.%player%} to true
- equip player with all diamond armor of protection 5
- give 10 Healing Potion named "&cmikstura leczenia" to player
- teleport player to {spawn.blue}
- stop
- else:
- message "&cJestes juz w tej druzynie"
- command /autor:
- trigger:
- message "&b --- {@tag} &b---"
- message "&cSkript: {@tag} &bv 1.0"
- message "&cBy: &6&lMrKammanY"
- command /rangi [<text>]:
- aliases: postac, bohater, champion
- trigger:
- if arg 1 is not set:
- message ""
- message "&f^------- &aHeros Of Legends &f-------^"
- message "&7/rangi cywil &6- Informacje o cywilu"
- message "&7/rangi Hades &6- Informacje o Hadesie"
- message "&7/rangi Ahilles &6- Informacje o Ahillesie"
- message "&7/rangi Zeus &6- Informacje o Zeusie"
- message "&7/rangi God &6- Informacje o Godzie"
- if arg 1 is "cywil":
- message "&f------&7[Cywil]&f------"
- message ""
- message "Jest to ranga podstawowa"
- message "Masz ja dostepna na poczatku gry"
- message "Nieposiada zbyt duzych umiejetnosci"
- message ""
- message "Dostajesz &7Zardzewialy Miecz"
- message "i &bGumowe Buty"
- if arg 1 is "Hades":
- message "&f------&4[Hades]&f------"
- message ""
- message "Jest to bohater ciemnosci"
- message "Ten ciemny wojownik potrafi zabic wiele istnien"
- message "Sluzy glownie do walki z bliskiej odleglosci"
- message ""
- message "Dostajesz &8Potezny Zelazny miecz"
- message "i &c2 mikstury leczenia"
- if arg 1 is "Ahilles":
- message "&f------&6[Ahilles]&f-------"
- message ""
- message "Jest to potezny Heros"
- message "Jest to potezny tank ktorego trudno zabic"
- message "Wali starym toporem ktory zdobil zabijajac Lwa"
- message ""
- message "Dostajesz &6Stary Topor"
- message "i &aDiamentowe buty oraz Zbroje"
- if arg 1 is "Zeus":
- message "&f------&5[Zeus]&f------"
- message ""
- message "Krol bogow ktory wali strzalami"
- message "Jest to potezny Archer"
- message "Jego Bron strzela Poteznymi Piorunami"
- message ""
- message "Dostajesz &4Bron Zeus'a"
- message "i &6Korone"
- if arg 1 is "god":
- message "&f------&a[God]&f------"
- message ""
- message "Bog czyli jednym slowem super tank"
- message "Jest go zabic najtrudniej w grze"
- message "Lecz jego minusem jest to ze prawie nic nie bije"
- message ""
- message "Dostajesz &1Diamentowe Itemy Boga"
- message "i &cmikstury leczenia"
- command /money:
- trigger:
- message "&f- - - - - - {@tag} &f- - - - - -"
- message " &aStan Konta: &c&l%{kasa::%player%}%"
- command /at [<text>][<player>]:
- executable by: console and player
- permission: hol.admin
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- if arg 1 is "odblokuj":
- set {PostacHades.%arg 2%} to true
- set {PostacAhilles.%arg 2%} to true
- set {PostacZeus.%arg 2%} to true
- set {PostacGod.%arg 2%} to true
- message "&7Dales Postacje graczowi &6%arg 1%" to player
- message "&7Dostales postacje od Administratora" to arg 2
- if arg 1 is "zablokuj":
- set {PostacHades.%arg 2%} to false
- set {PostacAhilles.%arg 2%} to false
- set {PostacZeus.%arg 2%} to false
- set {PostacGod.%arg 2%} to false
- message "&7Odebrales Postacje graczowi &6%arg 1%" to player
- message "&7Twoje postacje zostaly odebrane przez Administratora" to arg 2
- else:
- message "&c/at <zablokuj/odblokuj> <gracz>"
- else:
- message "&c/at <zablokuj/odblokuj> <gracz>"
- command /daj [<player>] [<text>]:
- executable by: console and player
- permission: hol.admin
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- set {kasa::%arg 1%} to arg 2
- message "&6>> &aDostales &5%arg 2% &a pieniedzy" to arg 1
- message "&6>> &aDales &5%arg 2% &apieniedzy graczowi &c%arg 1%"
- else:
- message "&c /daj - <gracz> <kwota>"
- else:
- message "&c /daj - <gracz> <kwota>"
- command /wybierz [<text>]:
- trigger:
- if arg 1 is not set:
- message "/wybierz <nazwa_bohatera>"
- if arg 1 is "Cywil":
- if {PostacCywil.%player%} is true:
- set {hol.hades.%player%} to false
- set {hol.cywil.%player%} to true
- set {hol.ahilles.%player%} to false
- set {hol.zeus.%player%} to false
- set {hol.god.%player%} to false
- message "{@tag} &aZmieniono Bohatera"
- stop
- else:
- message "{@tag}&c Wpierw musisz zakupic ta postac na spawnie!"
- if arg 1 is "Hades":
- if {PostacHades.%player%} is true:
- set {hol.hades.%player%} to true
- set {hol.cywil.%player%} to false
- set {hol.ahilles.%player%} to false
- set {hol.zeus.%player%} to false
- set {hol.god.%player%} to false
- message "{@tag} &aZmieniono Bohatera"
- stop
- else:
- message "{@tag}&c Wpierw musisz zakupic ta postac na spawnie!"
- if arg 1 is "ahilles":
- if {PostacAhilles.%player%} is true:
- set {hol.hades.%player%} to false
- set {hol.cywil.%player%} to false
- set {hol.ahilles.%player%} to true
- set {hol.zeus.%player%} to false
- set {hol.god.%player%} to false
- message "{@tag} &aZmieniono Bohatera"
- stop
- else:
- message "{@tag}&c Wpierw musisz zakupic ta postac na spawnie!"
- if arg 1 is "zeus":
- if {PostacZeus.%player%} is true:
- set {hol.hades.%player%} to false
- set {hol.cywil.%player%} to false
- set {hol.ahilles.%player%} to false
- set {hol.zeus.%player%} to true
- set {hol.god.%player%} to false
- message "{@tag} &aZmieniono Bohatera"
- stop
- else:
- message "{@tag}&c Wpierw musisz zakupic ta postac na spawnie!"
- stop
- if arg 1 is "god":
- if {PostacGod.%player%} is true:
- set {hol.hades.%player%} to false
- set {hol.cywil.%player%} to false
- set {hol.ahilles.%player%} to false
- set {hol.zeus.%player%} to false
- set {hol.god.%player%} to true
- message "{@tag} &aZmieniono Bohatera"
- stop
- else:
- message "{@tag}&c Wpierw musisz zakupic ta postac na spawnie!"
- stop
- command /chat [<text>] [<player>] [<text>]:
- permission: hol.root
- permission message: &cBrak uprawnien.
- aliases: czat, c
- trigger:
- if arg 1 is not set:
- if player has permission "kamman.admin" or "kamman.mod":
- message "&9 Epic chat by Kamman Chat &cv 1.2 "
- message "&6/chat on -&a wlacza czat "
- message "&6/chat off -&a wylacza czat "
- message "&6/chat clean -&a wyczyszcza czat "
- message "&6/autor -&a informacje o autorze "
- stop
- if arg 1 is "clean" or "c":
- if player has permission "hol.admin" or "hol.mod":
- loop 100 times:
- message " " to all players
- broadcast " {@tag} &7Czat wyczyszczony przez &c%player%"
- if arg 1 is "on" or "wlacz":
- if player has permission "hol.admin" or "hol.mod":
- set {czat} to true
- broadcast " {@tag} &7Czat wlaczony przez &c%player%"
- if arg 1 is "off" or "wylacz":
- if player has permission "hol.admin" or "hol.mod":
- set {czat} to false
- broadcast " {@tag} &7Czat wylaczony przez &c%player%"
- command /setspawn:
- permission: hol.root
- trigger:
- set {spawn} to location of player
- message "&d[&8H&ao&6L&d] &aUstawiles spawn "
- command /spawn:
- trigger:
- if {antylog.%player%} is false:
- message "&cTeleportacja za 10 sekund"
- apply confusion to the player for 12 seconds
- wait 10 second
- teleport player to {spawn}
- else:
- message "&cNiemozesz uzyc tej komedy podczas walki"
- command /ks [<offlineplayer>]:
- aliases: player, gracz, statystyki, balance, bal, baltop, balancetop
- trigger:
- if arg 1 is not set:
- message "&l^-------------^"
- message "&cTablica Wynikow"
- message "Gracz:&a Ty"
- message "-----------------"
- message "Kille:&a %{zabicia::%player%}%"
- message "Dedy:&c %{zabicia::%player%}%"
- message "Kasa:&5 %{kasa::%player%}%"
- else:
- message "&l^-------------^"
- message "&cTablica Wynikow"
- message "Gracz:&a %arg 1%"
- message "----------------"
- message "Kille:&a %{zabicia::%arg 1%}%"
- message "Dedy:&c %{zabicia::%arg 1%}%"
- message "Kasa:&5 %{kasa::%arg 1%}%"
- on sign change:
- if line 1 is "Postac":
- player has permission "hol.root":
- set line 1 to "&6[Postac]"
- else:
- message "&cBrak Permisi"
- set event-block to air
- drop sign
- stop
- if line 1 is "&6[Postac]":
- line 2 is empty:
- message "Nazwa Rangi"
- set event-block to air
- drop sign
- stop
- line 4 is empty:
- message "Koszt"
- set event-block to air
- drop sign
- stop
- on rightclick on sign:
- if line 1 is "&6[Postac]":
- if line 4 is set:
- wait 1 second
- if line 2 is "hades":
- if {PostacHades.%player%} is false:
- set {_int9} to line 4
- if {kasa::%player%} is higher than {_int9}:
- set {PostacHades.%player%} to true
- remove {_int9} from {kasa::%player%}
- send "&aZakupiles postac &4Hades"
- send "&bZa 5 sekund pojawi się o tym wiadomosc na chacie"
- wait 5 seconds
- broadcast "&bGracz &a%player% &bodblokowal postac &9<&4Hades&9>"
- stop
- else:
- message "&cNie masz tyle pieniedzy"
- else:
- message "&aMasz juz ta postac"
- if line 2 is "Ahilles":
- if {PostacAhilles.%player%} is false:
- set {_int8} to line 4
- if {kasa::%player%} is higher than {_int8}:
- set {PostacAhilles.%player%} to true
- remove {_int8} from {kasa::%player%}
- send "&aZakupiles postac &6Ahilles"
- send "&bZa 5 sekund pojawi się o tym wiadomosc na chacie"
- wait 5 seconds
- broadcast "&bGracz &a%player% &bodblokowal postac &9<&6Ahilles&9>"
- stop
- else:
- message "&cNie masz tyle pieniedzy"
- else:
- message "&aMasz juz ta postac"
- if line 2 is "zeus":
- if {PostacZeus.%player%} is false:
- set {_int7} to line 4
- if {kasa::%player%} is higher than {_int7}:
- set {PostacZeus.%player%} to true
- remove {_int7} from {kasa::%player%}
- send "&aZakupiles postac &5Zeus"
- send "&bZa 5 sekund pojawi się o tym wiadomosc na chacie"
- wait 5 seconds
- broadcast "&bGracz &a%player% &bodblokowal postac &9<&5Zeus&9>"
- stop
- else:
- message "&cNie masz tyle pieniedzy"
- else:
- message "&aMasz juz ta postac"
- if line 2 is "god":
- if {PostacGod.%player%} is false:
- set {_int6} to line 4
- if {kasa::%player%} is higher than {_int6}:
- set {PostacGod.%player%} to true
- remove {_int6} from {kasa::%player%}
- send "&aZakupiles postac &aGod"
- send "&bZa 5 sekund pojawi się o tym wiadomosc na chacie"
- wait 5 seconds
- broadcast "&bGracz &a%player% &bodblokowal postac &9<&aGod&9>"
- stop
- else:
- send "&cNie masz tyle pieniedzy"
- else:
- send "&aMasz juz ta postac"
- on chat:
- if {czat} is false:
- player has permission "OP":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- else:
- if player has permission "hol.admin":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if player has permission "hol.mod":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- else:
- cancel event
- message "{@tag} &cChat wylaczony dla graczy"
- else:
- player has permission "OP":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&6&oWlasciciel&9] &f%player% &f> %message%"
- stop
- else:
- if player has permission "hol.admin":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&cAdmin&9] &f%player% &f> %message%"
- stop
- if player has permission "hol.mod":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&aMOD&9] &f%player% &f> %message%"
- stop
- if player has permission "hol.vip":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&6VIP&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&6VIP&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&6VIP&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&6VIP&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&6VIP&9] &f%player% &f> %message%"
- stop
- if player has permission "hol.gracz":
- if {hol.cywil.%player%} is true:
- cancel event
- broadcast "&d(&8Cywil&d) &9[&7G&9] &f%player% &f> %message%"
- stop
- if {hol.hades.%player%} is true:
- cancel event
- broadcast "&d(&cHades&d) &9[&7G&9] &f%player% &f> %message%"
- stop
- if {hol.ahilles.%player%} is true:
- cancel event
- broadcast "&d(&6Ahilles&d) &9[&7G&9] &f%player% &f> %message%"
- stop
- if {hol.zeus.%player%} is true:
- cancel event
- broadcast "&6(&5Zeus&6) &9[&7G&9] &f%player% &f> %message%"
- stop
- if {hol.god.%player%} is true:
- cancel event
- broadcast "&d(&aGod&d) &9[&7G&9] &f%player% &f> %message%"
- stop
- on damage:
- if {red.%name of victim%} is true:
- if {red.%name of attacker%} is true:
- cancel event
- message "{@tag} &cNie atakuj swoich !!" to attacker
- stop
- if {blue.%name of victim%} is true:
- if {blue.%name of attacker%} is true:
- cancel event
- send "{@tag} &cNie atakuj swoich !!" to attacker
- stop
- if {red.%attacker%} is false:
- set {antylog.%attacker%} to true
- message "&cJestes w walce niemozesz sie wylogowac"
- wait 20 second
- set {antylog.%attacker%} to false
- message "&aWalka zakonczona mozesz sie wylogowac"
- if {red.%victim%} is false:
- set {antylog.%victim%} to true
- message "&cJestes w walce niemozesz sie wylogowac" to victim
- wait 20 second
- set {antylog.%victim%} to false
- message "&aWalka zakonczona mozesz sie wylogowac" to victim
- on death:
- attacker is player
- set {money} to 10
- add {money} to {kasa::%attacker%}
- set the death message to "&6%victim% &czostal zabity przez &6%attacker% &6(+10)"
Advertisement
Add Comment
Please, Sign In to add comment