Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {logoutt.%player%} = 0
- {sprawdzany.%player%} = 0
- {walka.%player%} = false
- {ban.%player%} = false
- {wejscia.graczy} = 0
- {wejscia.ogol} = 0
- {pst.%player%} = 100
- {zabst.%player%} = 0
- {smst.%player%} = 0
- {smhc.%player%} = 0
- {zabhc.%player%} = 0
- {phc.%player%} = 100
- {zabpt.%player%} = 0
- {smpt.%player%} = 0
- {ppt.%player%} = 100
- {chat.off} = 0
- on death of player:
- attacker is a player
- victim is a player
- if {tryb.%player%} is 0:
- set {_p} to random integer between 10 and 100
- add {_p} to {pst.%attacker%}
- broadcast "&7&l[&c&lSTANDARD&7&l] &c%victim% &7zostal zabity przez &c%attacker% &7(&a%{_p}%&7) &c(%health of attacker% ❤)"
- execute console command "god %attacker% on"
- execute console command "god %victtim% on"
- add 1 to {zabst.%attacker%}
- add 1 to {smst.%victim%}
- if {tryb.%player%} is 1:
- set {_p} to random integer between 10 and 100
- add {_p} to {ppt.%attacker%}
- broadcast "&7&l[&c&lPOTION&7&l] &c%victim% &7zostal zabity przez &c%attacker% &7(&e%{_p}%&7)"
- add 1 to {zabpt.%attacker%}
- add 1 to {smpt.%victim%}
- if {tryb.%player%} is 2:
- set {_p} to random integer between 10 and 100
- add {_p} to {phc.%attacker%}
- broadcast "&7&l[&c&lHARDCORE&7&l] &c%victim% &7zostal zabity przez &c%attacker% &7(&6%{_p}%&7)"
- add 1 to {zabhc.%attacker%}
- add 1 to {smhc.%victim%}
- command /rank [<player>] [<text>]:
- aliases: ranking, top,
- trigger:
- if arg 1 is set:
- if arg 2 is "hardcore":
- send "&aRanking gracza %arg 1% w trybie %arg 2%:"
- send "&2Zabicia: %{zabhc.%arg 1%}%"
- send "&2Smierci: %{smhc.%arg 1%}%"
- send "&2Punkty: %{phc.%arg 1%}%"
- if arg 2 is "standard":
- send "&aRanking gracza %arg 1% w trybie %arg 2%:"
- send "&2Zabicia: %{zabst.%arg 1%}%"
- send "&2Smierci: %{smst.%arg 1%}%"
- send "&2Punkty: %{pst.%arg 1%}%"
- if arg 2 is "potion":
- send "&aRanking gracza %arg 1% w trybie %arg 2%:"
- send "&2Zabicia: %{zabpt.%arg 1%}%"
- send "&2Smierci: %{smpt.%arg 1%}%"
- send "&2Punkty: %{ppt.%arg 1%}%"
- else:
- send "&a/ranking [nick] [tryb]"
- on rightclick holding a diamond sword on player:
- if {tryb.%player%} is 0:
- execute player command "rank %clicked player% standard"
- if {tryb.%player%} is 1:
- execute player command "rank %clicked player% potion"
- if {tryb.%Player%} is 2:
- execute player command "rank %clicked player% hardcore"
- on death of player:
- victim is a player
- attacker is a player
- add 1 to {sm.%victim%}
- set {_p} to random integer between 10 and 50
- remove {_p} from {p.%victim%}
- command /resetuj [<text>]:
- trigger:
- if player has permissions "rank.resetuj":
- if arg 1 is set:
- set {_} to arg 1 parsed as player
- send "&aZresetowales ranking gracza %arg 1%!"
- set {zab.%arg 1%} to 0
- set {sm.%arg 1%} to 0
- set {p.%arg 1%} to 1000
- else:
- loop all players:
- send "&aZresetowales ranking wszystkich graczy!"
- set {zabst.%loop-player%} to 0
- set {smst.%loop-player%} to 0
- set {pst.%loop-player%} to 100
- set {zabhc.%loop-player%} to 0
- set {smhc.%loop-player%} to 0
- set {phc.%loop-player%} to 100
- set {zabpt.%loop-player%} to 0
- set {smpt.%loop-player%} to 0
- set {ppt.%loop-player%} to 100
- else:
- send "&cNie jestes administratorem!"
- on death
- victim is a player:
- damage was caused by lava:
- set death message to "&7&l[&b&lHARDCORE&7&l] &7Gracz &c%player% &7utonal w lawie."
- damage was caused by fall:
- set death message to "&7&l[&b&lHARDCORE&7&l] &7Gracz &c%player% &7spadl z wysokosci."
- on damage of player:
- if {walka.%victim%} is false:
- set {walka.%victim%} to true
- create timed bar with text "&c&lANTY-LOGOUT" to victim for 20 seconds
- wait 20 seconds
- set {walka.%victim%} to false
- stop
- on quit:
- if {walka.%player%} is true:
- if player don't have permission "loganie.hehe":
- kill player
- set {walka.%player%} to false
- clear the player's inventory
- set quit message to "&7&lGracz &4&l%player% &7&lwylogowal sie podczas walki! Standardowo ban na &a&l1 godzine&7&l."
- stop
- if {sprawdzany.%player%} is 1:
- if player don't have permission "loganie.hehe":
- set quit message to "&6&l%player% &9&lwylogowal sie podczas sprawdzania!
- execute console command "ban %player% Wylogowanie sie podczas sprawdzania."
- command /sprawdz [<player>]:
- trigger:
- if player has permission "sprawdz.gracz":
- broadcast "&6&l%arg 1%&9&l, zapraszamy do sprawdzenia. &c&lLOGOUT = PERM."
- broadcast "&9&lJezeli w ciagu 1 minuty nie zglosisz sie do administratora, &c&lPERM!"
- teleport arg 1 to {sprawdzanie.miejsce}
- set {sprawdzany.%arg 1%} to 1
- else:
- send "&cNie jestes administratorem."
- command /sprawdzanie:
- trigger:
- send "&c/spr-ustaw &a&l- Ustawianie miejsca do sprawdzania."
- send "&c/sprawdz [gracz] &a&l- Sprawdzanie gracza."
- send "&c/czysty [gracz] &a&l- Jezeli gracz jest czysty."
- command /czysty [<player>]:
- trigger:
- if player has permission "czysty.gracz":
- broadcast "&6&l%arg 1% &9&ljest czysty!"
- set {sprawdzany.arg 1} to 0
- else:
- send "&cNie jestes administratorem."
- command /spr-ustaw:
- trigger:
- if player has permission "spr.ustaw":
- set {sprawdzanie.miejsce} to location of player
- send "&cUstawiles miejsce do sprawdzania."
- else:
- send "&cNie jestes administratorem."
- on rightclick with a red wool on player:
- send "&9Zaprosiles do walki gracza &6%clicked player%&9." to player
- send "&9Czekaj, az odbierze zaproszenie!" to player
- send "&9Zostales zaproszony do walki przez &6%player%&9." to clicked player
- send "&9Aby zaakceptowac, kliknij na niego PPM &bszklem&9." to clicked player
- execute console command "pex user %clicked player% add akceptuj.pvp"
- wait 2 seconds
- execute console command "pex user %clicked player% remove akceptuj.pvp"
- on rightclick with a red wool:
- send "&9Kliknij tym blokiem PPM na gracza, ktorego chcesz zaprosic do walki."
- command /akceptuj [<player>]:
- trigger:
- if player has permission "akceptuj.pvp":
- send "&9Za chwile rozpoczniesz walke z &4%clicked player%&9." to player
- send "&9Za chwile rozpoczniesz walke z &4%player%&9." to clicked player
- send "&9(&43&9)" to player
- send "&9(&43&9)" to clicked player
- wait 1 second
- send " &9(&42&9)" to player
- send " &9(&42&9)" to clicked player
- wait 1 second
- send " &9(&41&9)" to player
- send " &9(&41&9)" to clicked player
- wait 1 second
- execute console command "god %player% off"
- execute console command "god %arg 1% off"
- loop 15 times:
- send ""
- send "&a&l\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ "
- send "&9Wystartowala walka z &4%player%&9!" to clicked player
- send "&9Wystartowala walka z &4%clicked player%&9!" to player
- send "&a&l/////////////////////////////////////// "
- send ""
- send ""
- else:
- send "&9Nie dostales zaproszenia do walki!"
- command /arena [<text>] [<text>]:
- trigger:
- if arg 1 is "pomoc":
- if player has permission "admin.arenpomoc":
- send "&7Poprawne uzycie komendy &c/arena&7:"
- send "&6/arena standard ustaw"
- send "&6/arena hardcore ustaw"
- send "&6/arena potion ustaw"
- send "&6/arena standard tp"
- send "&6/arena hardcore tp"
- send "&6/arena potion tp"
- if arg 1 is "standard":
- if arg 2 is "tp":
- clear the player's inventory
- execute console command "god %player% on"
- set player's helmet to diamond helmet of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's chestplate to diamond chestplate of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's leggings to diamond leggings of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's boots to diamond boots of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- give player 1 diamond sword of sharpness 5 named "&4&lKLEPING!"
- give 64 steak named "&e&lGLODNY? ZJEDZ SNICKERSA!"
- execute console command "god %player% on"
- give player 1 glass of power 10 named "&a&lZAAKCEPTUJ WYZWANIE!"
- give player 1 red wool of power 10 named "&b&lWYZWIJ DO WALKI!"
- teleport player to {arena.standard}
- set {tryb.%player%} to 0
- loop 10 times:
- send ""
- wait 0.5 second
- if arg 2 is "ustaw":
- if player has permission "standard.ustaw":
- set {arena.standard} to location of player
- send "&7&lUstawiles teleport na arene &c&lSTANDARD&7&l."
- else:
- send "&cNie jestes administratorem."
- if arg 1 is "potion":
- if arg 2 is "tp":
- clear the player's inventory
- execute console command "god %player% off"
- set player's helmet to diamond helmet of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's chestplate to diamond chestplate of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's leggins to diamond leggins of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's boots to diamond boots of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- give 1 diamond sword of sharpness 5 and fire aspect 2 named "&4&lKLEPING!
- give 1 enchanted golden apple named "&6&lORAAAM!"
- give 64 steak named "&a&lSNICKERS"
- add 5 373:16421 named "&e&lUMIEM CZAROWAC." to player's inventory
- give 4 ender pearl named "&7&lHAHA. SIEMA!"
- add 27 373:16421 named "&e&lUMIEM CZAROWAC." to player's inventory
- teleport player to {arena.standard}
- set {tryb.%player%} to 1
- send "&7&lPrzeteleportowano Cie na arene &c&lPOTION&7&l!"
- loop 10 times:
- send ""
- wait 0.5 second
- if arg 2 is "ustaw":
- if player has permission "potion.ustaw":
- set {arena.standard} to location of player
- send "&7&lUstawiles teleport na arene &c&lPOTION&7&l."
- else:
- send "&cNie jestes administratorem."
- if arg 1 is "hardcore":
- if arg 2 is "tp":
- clear the player's inventory
- execute console command "god %player% off"
- set player's helmet to diamond helmet of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's chestplate to diamond chestplate of protection 4 and unbreaking 3 named "&c&lFIGHT
- set player's leggings to diamond leggings of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- set player's boots to diamond boots of protection 4 and unbreaking 3 named "&c&lFIGHT!"
- give 1 diamond sword of sharpness 5 and fire aspect 2 named "&4&lKLEPING!" to the player
- give 3 enchanted golden apple named "&a&lNIE POLIZE!" to the player
- give 10 golden apple named "&4&lPOWOLI SYPAM!" to the player
- give 1 diamond sword of knockback 2 named "&2&lLECISZ!" to the player
- give 64 steak named "&e&lGLODNY? ZJEDZ SNICKERSA!" to the player
- give 1 bow of unbreaking 3 and punch 2 and infinity 1 named "&b&lNO TO JA LECE!" to the player
- give 1 arrow named "&3&lSZCZALA" to the player
- teleport player to {arena.standard}
- set {tryb.%player%} to 2
- send "&7&lPrzeteleportowano Cie na arene &c&lHARDCORE&7&l!"
- loop 10 times:
- send ""
- wait 0.5 second
- if arg 2 is "ustaw":
- if player has permission "hc.ustaw":
- set {arena.standard} to location of player
- send "&7&lUstawiles teleport na arene &c&lHARDCORE&7&l."
- else:
- send "&cNie jestes administratorem."
- else:
- send "&cNie jestes administratorem."
- on rightclick with a glass on player:
- execute player command "akceptuj %clicked player%"
- on rightclick with a glass:
- send "&9Kliknij tym blokiem PPM na gracza, ktorego zaproszenie do walki chcesz zaakceptowac."
- on join:
- add 1 to {wejscia.ogol}
- execute console command "god %player% on"
- execute console command "fly %player% off"
- execute console ocmmand "vanish %player% off"
- loop 100 times:
- send ""
- send "&4&lNa naszym serwerze bylo &e&l%{wejscia.graczy}% &4&lgraczy."
- send "&3&lOgolnie wejsc bylo &a&l%{wejscia.ogol}%&3&l."
- send "&7Witaj na serwerze &4&lPVP u Realza&7&l!
- send "&7&lZapewne jestes na arenie, lub nie. Wpisz /lobby!"
- send "&6&lJezeli posiadasz &c&lkonto premium&6&l, nie musisz sie logowac."
- send "&a&lNatomiast jezeli nie masz premium, wpisz &6&l/login twojeHaslo &a&l!"
- send "&1&lSponsor serwera: enderchest.pl - profesjonalny hosting!"
- send "&5&lKup VIP: /vip"
- on first join:
- set {pst.%player%} to 100
- set {zabst.%player%} to 0
- set {smst.%player%} to 0
- set {smhc.%player%} to 0
- set {zabhc.%player%} to 0
- set {phc.%player%} to 100
- set {zabpt.%player%} to 0
- set {smpt.%player%} to 0
- set {ppt.%player%} to 100
- add 1 to {wejscia.graczy}
- add 1 to {wejscia.ogol}
- execute console command "god %player% on"
- loop 100 times:
- send ""
- send "&4&lNa naszym serwerze bylo &e&l%{wejscia.graczy}% &4&lgraczy."
- send "&3&lOgolnie wejsc bylo &a&l%{wejscia.ogol}%&3&l."
- send "&7Witaj na serwerze &4&lPVP u Realza&7&l!
- send "&6&lJezeli posiadasz &c&lkonto premium&6&l, nie musisz sie rejestrowac."
- send "&a&lNatomiast jezeli nie masz premium, wpisz &6&l/register twojeHaslo powtorzHaslo &a&l!"
- send "&1&lSponsor serwera: enderchest.pl - profesjonalny hosting!"
- send "&5&lKup VIP: /vip"
- command /spectate [<text>]:
- trigger:
- if player has permission "spectate.vip":
- if arg 1 is "hc":
- execute console command "vanish %player%"
- execute console command "god %player% on"
- execute console command "fly %player% on"
- loop 7 times:
- send ""
- send "&a&lObserwujesz arene &c&lHARDCORE&a&l."
- teleport player to {arena.hc}
- if arg 1 is "standard":
- execute console command "vanish %player%"
- execute console command "god %player% on"
- execute console command "fly %player% on"
- loop 7 times:
- send ""
- send "&a&lObserwujesz arene &c&lSTANDARD&a&l."
- teleport player to {arena.standard}
- if arg 1 is "potion":
- execute console command "vanish %player%"
- execute console command "god %player% on"
- execute console command "fly %player% on"
- loop 7 times:
- send ""
- send "&a&lObserwujesz arene &c&lPOTION&a&l."
- teleport player to {arena.potion}
- else:
- send "&6Nie jestes VIPem."
- command /setlobby:
- trigger:
- if player has permission "admin.setlobby":
- send "&9&lUstawiles lobby serwera."
- set {lobby.serwer} to location of player
- else:
- send "&cNie jestes administratorem!"
- command /vlobby:
- trigger:
- if player has permission "vip.lobby":
- execute console command "speed walk 0 %player%"
- send "&1Jako VIP czekasz 1 sekunde na teleport!"
- execute console command "fly %player% off"
- execute console ocmmand "vanish %player% off"
- wait 1 second
- teleport player to {lobby.serwer}
- send ""
- execute console command "speed walk 1 %player%"
- loop 7 times:
- send ""
- send "&e&lWitaj na &6&lLOBBY&e&l!"
- else:
- send "&6Nie jestes VIPem!"
- command /lobby:
- trigger:
- execute console command "speed walk 0 %player%"
- send "&1Jako VIP czekasz 1 sekunde na teleport!"
- execute console command "fly %player% off"
- execute console ocmmand "vanish %player% off"
- wait 1 second
- teleport player to {lobby.serwer}
- send ""
- execute console command "speed walk 1 %player%"
- loop 7 times:
- send ""
- send "&e&lWitaj na &6&lLOBBY&e&l!"
- send ""
- send ""
- command /helpop [<text>]:
- trigger:
- if arg 1 is set:
- loop all players:
- if loop-player has permission "helpop.odb":
- send "&4&l[HELPOP] &c%arg 1%" to loop-player
- send "&a&lWyslales prosbe o pomoc!" to player
- command /broadcast [<text>]:
- aliases: bc
- trigger:
- if player has permission "admin.bc":
- broadcast "&6&lUWAGA: &c%arg 1%"
- else:
- send "&cNie jestes administratorem!"
- every 300 seconds:
- broadcast "&c&l[Nope..] &a&lDowiedz sie o randze VIP! &b&l(/VIP)"
- wait 30 seconds
- broadcast "&c&l[Nope..] &b&lZapros znajomych!"
- wait 30 seconds
- broadcast "&c&l[Nope..] &e&lNasz serwer stoi na AUTORSKICH pluginach!"
- wait 30 seconds
- broadcast "&c&l[Nope..] &d&lH@: &c&lhttp://www.youtube.com/realzuu"
- wait 30 seconds
- broadcast "&c&l[Nope..] &4&lNie wiesz czy administracja jest online? Wpisz &a&l/admin&4&l!"
- command /admin:
- aliases: administracja
- trigger:
- loop all players:
- if loop-player has permission "jestem.adminem":
- add player to {_}
- if {_} is set:
- send "&cAdministratorzy online:"
- send "&a%{_admini}%"
- else:
- send "&cBrak administratorow! A moze... sa na vanishu :)?"
- command /vbc [<text>]:
- trigger:
- if player has permission "vip.bc":
- if arg 1 is set:
- broadcast "&6&l(VIP BROADCAST) &e&l%arg 1% &c&l(%player%)"
- else:
- send "&6Nie podales tresci."
- else:
- send "&6Nie jestes VIPem!"
- command /help:
- trigger:
- send "-> /pomoc"
- on command:
- if contains "bukkit:" or "?":
- cancel event
- send "Nie ma takiej komendy!"
- stop
- on chat:
- if {chat.off} is 1:
- if player don't have permission "chat.vip":
- cancel event
- send "&cChat zostal wylaczony! &6&lChcesz moc pisac? Kup VIP! (/vip)"
- command /chat-off:
- trigger:
- if player has permission "admin.chatoff":
- set {chat.off} to 1
- broadcast "&cChat zostal &4wylaczony &cprzez administratora %player%"
- else:
- send "&cNie jestes administratorem!"
- command /chat-on:
- trigger:
- if player has permission "admin.chaton":
- set {chat.off} to 0
- broadcast "&cChat zostal &awlaczony &cprzez administratora %player%"
- else:
- send "&cNie jestes administratorem!"
- command /cc:
- trigger:
- if player has permission "admin.chatcc":
- loop 100 times:
- send "" to all players
- broadcast "&cChat zostal &9wyczyszczony &cprzez administratora %player%"
- else:
- send "&cNie jestes administratorem!"
- command /poke [<text>]:
- trigger:
- if player has permission "vip.poke":
- if arg is set:
- send "&6Wyslales wiadomosc o tresci &a%arg 1%&6!"
- send "&2Twoja wiadomosc zniknie za 5 sekund."
- execute console command "ne prefix %player% %arg 1%"
- wait 5 seconds
- execute console command "ne prefix %player% &f"
- send "&2Twoja wiadomosc znikla!"
- else:
- send "&6Nie podales tresci."
- else:
- send "&6Nie jestes VIPem!"
- command /msg [<player>] [<text>]:
- aliases: pw, m, tell, t
- trigger:
- if arg 1 is set:
- if arg 2 is set:
- arg 1 is a player
- send "&2Wiadomosc o tresci &6%arg 2% &2zostala wyslana do &9%arg 1%&2!" to player
- send "&cWiadomosc od &6%player%&c: &a%arg 2%" to arg 1
- else:
- send "&6Nie podales tresci wiadomosci!"
- else:
- send "&aNie podales gracza!"
- command /nazwa [<text>]:
- trigger:
- if player has permission "vip.nazwa":
- if arg is set:
- execute console command "nick %player% %arg 1%"
- wait 0.1 second
- loop 3 times:
- send ""
- send "&a&l//////////////"
- send "&9Zmieniles swoj nick na %arg 1%"
- send "&a&l//////////////"
- else:
- send "&6Nie podales nazwy!"
- else:
- send "&6Nie jestes VIPem!"
- command /pomoc:
- trigger:
- send "&2&l///////////////////////"
- send "&a/lobby &7(DLA GRACZA)"
- send "&a/setlobby &c(DLA ADMINA)"
- send "&a/vlobby &6(DLA VIPA)"
- send "&a/resetuj &c(DLA ADMINA)"
- send "&a/ranking &7(DLA GRACZA)
- send "&a/nazwa &6(DLA VIPA)"
- send "&a/sprawdz &c(DLA ADMINA)"
- send "&a/czysty &c(DLA ADMINA)"
- send "&a/spr-ustaw &c(DLA ADMINA)"
- send "&a/vip &6(INFO O VIP)"
- send "&a/arena pomoc &c(DLA ADMINA)"
- send "&a/msg lub pw &7(DLA GRACZA)"
- send "&a/admin &7(DLA GRACZA)"
- send "&a/poke &6(DLA VIPA)"
- send "&2&l//////////////////////"
- command /vip:
- trigger:
- send "&4&l////////////////////////"
- send "&aFormat chatu VIP:"
- send "&6NICK: &awiadomosc"
- send "&aMozliwosc zmiany nicku:"
- send "&c/nazwa [nowy nick]"
- send "&aMozliwosc obserwowania aren:"
- send "&c// teleporty do obserw. są na spawn \\"
- send "&aSzybszy teleport na lobby:"
- send "&c/vlobby"
- send "&aMoze pisac podczas wylaczonego chatu"
- send "&aVIP'owski broadcast:"
- send "&c/vbc [tekst]"
- send "&aWysylanie wiadomosci pojawiajacych sie nad glowa gracza:"
- send "&c/poke [tekst]"
- send "&3Koszt: 6,15zl"
- send "&eKupisz tutaj! "
- send "&4&l///////////////////////"
- on walking:
- if block under player is anvil:
- execute player command "arena potion tp"
- if block under player is red wool:
- execute player command "arena hardore tp"
- if block under player is glass:
- execute player command "spectate standard"
- if block under player is pink wool:
- execute player command "spectate hardcore"
- if block under player is black wool:
- execute player command "spectate potion"
- on portal:
- execute player command "arena standard tp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement