Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -------+=| TEAMER © |=+--------- #
- # Autor >> Przewoz20011 / WujcioCreeper #
- # Wersja >> Beta 0.1 #
- # Stworzone Na Prosbe : S0L1D3R #
- # Stworzone Dla : www.mpcforum.pl #
- # Zezwalam na : #
- # 1. Zmianę Wyglądu TAG'u #
- # 2. Zmianę Wyglądu TAG'u na TABLIST #
- # 3. Zmianę Formatu Chatu #
- # -+-+-+-+-+-+-+-
- # Nie Zezwalam Na :
- # 1. Zmianę Danych Autora
- # 2. Zmianę Tytułu Skryptu
- # 3. Kopiowanie i wykorzystywanie kodu skryptu bez zgody autora
- # 4. Podszywanie się pod autora
- # 5. Zmianę Czegokolwiek NIE WYMIENIONEGO W 'Zezwalam Na:' !
- #
- # Nie zapoznanie się z regulaminem dot. Skryptu nie zwalnia
- # Z Jego Przestrzegania
- #
- # © - Copyrights 2014 for WujcioCreeper
- # Ta Część jest chroniona Polskim Prawem !
- #
- options:
- # Możez Zmieniać Wygląd Od Tego Momentu -
- Teamer.tag: &7[&3Team&cer&7]
- Teamer.TablistTag.Red: &0|&c&lRed&0|
- Teamer.TablistTag.Blue: &0|&3&lBlue&0|
- Teamer.TablistTag.LiderBlue: &0|&b&lL&3&lBlue&0|
- Teamer.TablistTag.LiderRed: &0|&b&1L&c&lRed&0|
- Teamer.Chatformat: &0|&c=>&6%name of player% &5&l>> &7%message%
- # - Do Momentu wyżej
- Teamer.author: &fPrzewoz20011&8/&fWujcioCreeper
- Teamer.version: &aBeta 0.1
- Teamer.command: teamer
- Teamer.alias: tr
- variables:
- # \/ Zmieniając tą funkcję na 'False' wyłączysz wyświetlanie się Tagu pod TAB'em
- {Teamer.Tablist.On} = true
- # \/ Zmieniając tą funkcję na 'False' wyłączysz Format Chatu na Serwerze [Z Tego Skryptu]
- {Teamer.Chatformat.On} = true
- # \/ Zmieniając tą funkcję na 'False' wyłączysz możliwość ustawiania spawnu drużyn
- {Teamer.Spawngroup} = true
- # \/ Zmieniajac tą funkcję na 'False' wyłączysz zapisywanie danych "Kto użył jakiej komendy z tego skryptu"
- {Teamer.LogCommands} = true
- # \/ NIE ZMIENIAJ FUNKCJI NIŻEJ
- {Teamer.Join.One.%player%} = true
- # #
- # KOD SKRYPTU - NIE POTRAFISZ TUTAJ KONFIGUROWAĆ #
- # NIE RUSZAJ SIĘ NAWET, NIE BĘDE ODPOWIADAŁ ZA #
- # ŹLE SKONFIGUROWANY SKRYPT ORAZ ŹLE ZOPTYMALI- #
- # -ZOWANY SERWER #
- # #
- on skript start:
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to the console
- send "&b&l|-----|&aSkrypt Uruchomiony&b&l|-----|" to the console
- if {Teamer.Tablist.On} is true:
- send "&b&l|-----|&3Tag na TAB'ie &5- &aUruchomiony&b&l|-----|" to the console
- else:
- send "&b&l|-----|&3Tag na TAB'ie &5- &cWylaczony&b&l|-----|" to the console
- if {Teamer.Tablist.On} is true:
- send "&b&l|-----|&3Format Chatu &5- &aUruchomiony&b&l|-----|" to the console
- else:
- send "&b&l|-----|&3Format Chatu &5- &cWylaczony&b&l|-----|" to the console
- if {Teamer.Spawngroup} is true:
- send "&b&l|-----|&3Ustawianie spawnu Druzyn &5- &aUruchomiony&b&l|-----|" to the console
- else:
- send "&b&l|-----|&3Ustawianie Spawnu Druzyn &5- &cWylaczony&b&l|-----|" to the console
- send "&b&l|-----|&2Autor &5- {@Teamer.author}&b&l|-----|" to the console
- send "&b&l|-----|&2Wersja &5- {@Teamer.version}&b&l|-----|" to the console
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to the console
- stop
- on skript stop:
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to the console
- send "&b&l|-----|&cSkrypt Wylaczony&b&l|-----|" to the console
- send "&b&l|-----|&3Tag na TAB'ie &5- &cWylaczony&b&l|-----|" to the console
- send "&b&l|-----|&3Format Chatu &5- &cWylaczony&b&l|-----|" to the console
- send "&b&l|-----|&3Ustawianie Spawnu Druzyn &5- &cWylaczony&b&l|-----|" to the console
- send "&b&l|-----|&2Autor &5- {@Teamer.author}&b&l|-----|" to the console
- send "&b&l|-----|&2Wersja &5- {@Teamer.version}&b&l|-----|" to the console
- send "&b&l|-----{@Teamer.tag}&b&l-----|" to the console
- stop
- every 5 seconds:
- loop all players:
- if loop-player has permission "teamer.default.red":
- add loop-player to {teamer.red::*}
- stop
- if loop-player has permission "teamer.default.blue":
- add loop-player to {teamer.blue::*}
- stop
- if loop-player has permission "teamer.lider.red":
- add loop-player to {teamer.liderred::*}
- stop
- if loop-player has permission "teamer.lider.blue":
- add loop-player to {teamer.liderblue::*}
- stop
- on chat:
- message contains "<none>" or "none":
- replace all "<none>" or "none" with "&4Nieobecny" in the message
- if {Teamer.ChatFormat.On} is true:
- player has permission "teamer.default.red":
- cancel event
- broadcast "&0|&cR{@Teamer.Chatformat}"
- stop
- player has permission "teamer.default.blue":
- cancel event
- broadcast "&0|&3B{@Teamer.Chatformat}"
- stop
- player has permission "teamer.lider.red":
- cancel event
- broadcast "&0|&6L&cR{@Teamer.Chatformat}"
- stop
- player has permission "teamer.lider.blue":
- cancel event
- broadcast "&0|&6L&3B{@Teamer.Chatformat}"
- stop
- on damage:
- if attacker is player:
- attacker has permission "teamer.default.blue" or "teamer.lider.blue":
- victim has permission "teamer.default.blue" or "teamer.lider.blue":
- cancel event
- send "{@Teamer.tag} &5> &7Nie mozesz atakowac swojej druzyny!" to attacker
- stop
- if attacker is player:
- attacker has permission "teamer.default.red" or "teamer.lider.red":
- victim has permission "teamer.default.red" or "teamer.lider.red":
- cancel event
- send "{@Teamer.tag} &5 &7Nie mozesz atakowac swojej druzyny!" to attacker
- stop
- command /{@Teamer.command} [<text>]:
- aliases: {@Teamer.alias}
- trigger:
- if arg 1 is not set:
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to player
- send "&b&l|-----|&6Pomoc&b&l|-----|" to player
- wait 0.2 second
- send "&5/teamer pomoc &6- &7Wyswietla Pomoc" to player
- wait 0.2 second
- send "&5/teamer red &6- &7Wyswietla Liste Druzyny &cRED" to player
- wait 0.2 second
- send "&5/teamer blue &6- &7Wyswietla Liste Druzyny &3BLUE" to player
- wait 0.2 second
- send "&5/teamer spawn &6- &7Wyswietla Informacje jak zakladac/uzywac Spawnow Druzyn" to player
- loop 2 times:
- send "" to player
- stop
- if arg 1 is "pomoc":
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to player
- send "&b&l|-----|&6Pomoc&b&l|-----|" to player
- wait 0.2 second
- send "&5/teamer pomoc &6- &7Wyswietla Pomoc" to player
- wait 0.2 second
- send "&5/teamer red &6- &7Wyswietla Liste Druzyny &cRED" to player
- wait 0.2 second
- send "&5/teamer blue &6- &7Wyswietla Liste Druzyny &3BLUE" to player
- wait 0.2 second
- send "&5/teamer spawn &6- &7Wyswietla Informacje jak zakladac/uzywac Spawnow Druzyn" to player
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /teamer pomoc" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/teamer pomoc &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- if arg 1 is "red":
- loop all players:
- if loop-player has permission "teamer.default.red":
- add loop-player to {_teamer.red::*}
- if loop-player has permission "teamer.default.blue":
- add loop-player to {_teamer.blue::*}
- if loop-player has permission "teamer.lider.red":
- add loop-player to {_teamer.liderred::*}
- if loop-player has permission "teamer.lider.blue":
- add loop-player to {_teamer.liderblue::*}
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to player
- wait 0.2 second
- send "&8----|&6Lider &cRED&8|----" to player
- wait 0.2 second
- send "&2%{_teamer.liderred::*}%" to player
- wait 0.2 second
- send "&0-=-=-=-=-=-=-=-=-=-=-=-=" to player
- wait 0.2 second
- send "&8----|&6Czlonkowie &cRED&7|----" to player
- wait 0.2 second
- send "&2%{_teamer.red::*}%" to player
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /teamer red" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/teamer red &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- if arg 1 is "blue":
- loop all players:
- if loop-player has permission "teamer.default.red":
- add loop-player to {_teamer.red::*}
- if loop-player has permission "teamer.default.blue":
- add loop-player to {_teamer.blue::*}
- if loop-player has permission "teamer.lider.red":
- add loop-player to {_teamer.liderred::*}
- if loop-player has permission "teamer.lider.blue":
- add loop-player to {_teamer.liderblue::*}
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to player
- wait 0.2 second
- send "&8----|&6Lider &3BLUE&8|----" to player
- wait 0.2 second
- send "&2%{_teamer.liderblue::*}%" to player
- wait 0.2 second
- send "&0-=-=-=-=-=-=-=-=-=-=-=-=" to player
- wait 0.2 second
- send "&8----|&6Czlonkowie &3BLUE&7|----" to player
- wait 0.2 second
- send "&2%{_teamer.blue::*}%" to player
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /teamer blue" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/teamer blue &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- if arg 1 is "spawn":
- player is an op:
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|"
- send "&b&l----|&6Pomoc dot. Spawnu Druzyn&b&l|----"
- wait 0.2 second
- send "&5/ustaw red &6- &bUstawiasz Spawn Druzyny &cRED"
- wait 0.2 second
- send "&5/ustaw blue &6- &bUstawiasz Spawn Druzyny &3BLUE"
- wait 0.2 second
- send "&5/ustaw globalspawn &6- &bUstawiasz Spawn Globalny"
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /teamer spawn" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/teamer spawn &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- command /ustaw [<text>]:
- trigger:
- if arg 1 is not set:
- execute player command "/teamer spawn"
- stop
- if arg 1 is "red":
- player is an op:
- set {punktred} to location of player
- wait 0.2 second
- send "{@Teamer.tag} &5> &bUstawiles spawn dla druzyny &cRED" to player
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /ustaw red" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/ustaw red &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- else:
- send "{@Teamer.tag} &5> &4Nie Masz Uprawnien." to player
- stop
- if arg 1 is "blue":
- player is an op:
- set {punktblue} to location of player
- wait 0.2 second
- send "{@Teamer.tag} &5> &bUstawiles spawn dla druzyny &3BLUE" to player
- if {Teamer.LogCommands} is true:
- log "Gracz %player% uzyl Komendy /ustaw blue" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/ustaw blue &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- else:
- send "{@Teamer.tag} &5 &4Nie Masz Uprawnien." to player
- stop
- if arg 1 is "globalspawn":
- player is an op:
- set {punktglobalny} to location of player
- wait 0.2 second
- send "{@Teamer.tag} &5> &bUstawiles spawn Globalny" to player
- if {Teamer.LogCommand} is true:
- log "Gracz %player% uzyl Komendy /ustaw globalspawn" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/ustaw globalspawn &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- on rightclick on sign:
- if line 1 is "Teamer Red":
- player is an op:
- set line 1 to "{@Teamer.tag}"
- set line 2 to "&6Teleport"
- set line 3 to "&7-|&cRED&7|-"
- wait 0.2 second
- send "{@Teamer.tag} &5> &bPomyslnie stworzono tabliczke z teleportem do druzyny czerwonej !" to player
- stop
- if line 1 is "Teamer Blue":
- player is an op:
- set line 1 to "{@Teamer.tag}"
- set line 2 to "&6Teleport"
- set line 3 to "&7-|&3BLUE&7|-"
- wait 0.2 second
- send "{@Teamer.tag} &5> &bPomyslnie stworzono tabliczke z teleportem do druzyny niebieskiej !" to player
- stop
- if line 3 is "&7-|&3BLUE&7|-":
- line 2 is "&6Teleport":
- player has permission "teamer.default.blue" or "teamer.lider.blue":
- send "{@Teamer.tag}&3Zostaniesz Przeteleportowany za 3 Sekundy" to player
- wait 3 seconds
- if {punktblue} is set:
- teleport player to {punktblue}
- stop
- if {punktblue} is not set:
- send "{@Teamer.tag} &5> &4Nie ustawiono SpawnPointu druzyny &3BLUE!" to player
- stop
- else:
- send "{@Teamer.tag} &5> &cNie Masz Uprawnien." to player
- stop
- if line 3 is "&7-|&cRED&7|-":
- line 2 is "&6Teleport":
- player has permission "teamer.default.red" or "teamer.lider.red":
- send "{@Teamer.tag}&3Zostaniesz Przeteleportowany za 3 Sekundy" to player
- wait 3 seconds
- if {punktred} is not set:
- send "{@Teamer.tag} &5> &4Nie ustawiono SpawnPointu druzyny &cRED" to player
- stop
- if {punktred} is set:
- teleport player to {punktred}
- stop
- stop
- else:
- send "{@Teamer.tag} &5> &cNie Masz Uprawnien." to player
- stop
- command /spawn:
- trigger:
- send "{@Teamer.tag} &5>&6Za 3 sekundy zostaniesz przeteleportowany" to player
- wait 3 seconds
- if {punktglobalny} is not set:
- send "{@Teamer.tag} &5> &4Nie zostal ustawiony Spawn Globalny!" to player
- stop
- if {punktglobalny} is set:
- teleport player to {punktglobalny}
- stop
- command /dolacz [<text>]:
- trigger:
- if arg 1 is not set:
- send "&b&l|-----|{@Teamer.tag}&b&l|-----|" to player
- send "&5/dolacz red &6- &7 Dolaczasz do druzyny &cRED" to player
- send "&5/dolacz blue &6- &7Dolaczasz do druzyny &3BLUE" to player
- if {Teamer.LogCommand} is true:
- log "Gracz %player% uzyl Komendy /teamer blue" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/teamer blue &7!!" to the console
- loop 2 times:
- send "" to player
- stop
- if arg 1 is "red":
- if {Teamer.Join.One.%player%} is true:
- send "{@Teamer.tag} &5> &7Za &c5 &7sekund dolaczysz do druzyny &cRED" to player
- wait 5 seconds
- execute console command "/pex user %name of player% add teamer.default.red"
- wait 0.2 second
- send "{@Teamer.tag} &5> &7Dolaczyles do druzyny &cRED" to player
- set {Teamer.Join.One.%player%} to false
- if {Teamer.LogCommand} is true:
- log "Gracz %player% uzyl Komendy /dolacz red" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/dolacz red &7!!" to the console
- stop
- else:
- send "{@Teamer.tag} &5> &7JESTES JUZ W JAKIEJS DRUZYNIE" to player
- stop
- if arg 1 is "blue":
- if {Teamer.Join.One.%player%} is true:
- send "{@Teamer.tag} &5> &7Za &c5 &7sekund dolaczysz do druzyny &3BLUE"
- wait 5 seconds
- execute console command "/pex user %name of player% add teamer.default.blue"
- wait 0.2 second
- send "{@Teamer.tag} &5> &7Dolaczyles do druzyny &3BLUE" to player
- set {Teamer.Join.One.%player%} to false
- if {Teamer.LogCommand} is true:
- log "Gracz %player% uzyl Komendy /dolacz blue" to "teamer-uzyte-komendy.txt"
- send "{@Teamer.tag} &5> &7Gracz &6%player% &7uzyl komendy &5/dolacz blue &7!!" to the console
- stop
- else:
- send "{@Teamer.tag} &5> &7JESTES JUZ W JAKIEJS DRUZYNIE" to player
- stop
- # #
- # KONIEC SKRYPTU #
- # © - Copyrights 2014 for WujcioCreeper #
- # #
Advertisement
Add Comment
Please, Sign In to add comment