Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #========================================================================================================#
- # LICENCJA #
- #========================================================================================================#
- # ZAKAZ: #
- # * Modyfikowania treści skryptu (Jedynie opcje!) #
- # * Przywłaszczania sobie autorstwa skryptu #
- # * Zarabiania na skrypcie #
- # * Udostepniania skryptu w swoich paczkach serwerowych #
- # * Usuwania tresci zawierajacych informacje o autorze #
- # * Podszywania sie pod autora #
- # * Udostepniania skryptu w paczkach plikow serwerowch itp #
- # * Usuwania tresci zawierajacych autora #
- # * Dopisywania wszelkich dodatków typu strona www #
- #========================================================================================================#
- # POZWOLENIA: #
- # * Modyfikowanie wiadomości skryptu na wlasne potrzeby #
- # * Dopisywanie fragmentow na wlasne potrzeby #
- #========================================================================================================#
- # Mylnie odczytana licencja nie zwalnia z przestrzegania jej. #
- #========================================================================================================#
- variables:
- {chat} = true
- {chat.%player%} = true
- {spam.%player%} = true
- {cenzura} = true
- {slowmode} = true
- {emotikony} = true
- options:
- # Wiadomosc przy czyszczeniu chatu.
- messageclear: &9Chat zostal wyczyszczony przez &7%player%
- # Wiadomosc przy wylaczeniu chatu.
- messageoff: &9Chat zostal wylaczony przez &7%player%
- # Wiadomosc przy wlaczeniu chatu.
- messageon: &9Chat zostal wlaczony przez &7%player%
- # Wiadomosc wysylana do gracza podczas kiedy gracz pisze na wylaczonym chacie.
- messageoffplayer: &cChat jest aktualnie wylaczony!
- # Wiadomosc przy zablokowaniu gracza.
- messagelock: &9Gracz &7%player-arg% &9Zostal zablokowany przez &7%player% &9Z powodu: &7%arg 2%
- # Wiadomosc przy odblokowaniu gracza.
- messageunlock: &9Gracz &7%player-arg% &9Zostal odblokowany przez &7%player%
- # Wiadomosc wysylana do gracza podczas kiedy jest zablokowany.
- messagelockplayer: &9Jestes zablokowany
- # Czas slowmode'a w sekundach
- slowmodetime: 3
- # Wiadomosc przy wylaczeniu slowmode'a.
- messageslowmodeoff: &9Slowmode zostal wylaczony !!
- # Wiadomosc przy wlaczeniu slowmode'a.
- messageslowmodeon: &9Slowmode zostal wlaczony !!
- # Zmiana tekstu kiedy gracz napisze jakąś cenzure.
- cenzura: ***
- # Wiadomosc przy wylaczeniu cenzury.
- Censormessageoff: &9Cenzura zostala wylaczona !!
- # Wiadomosc przy wlaczeniu cenzury.
- Censormessageon: &9Cenzura zostala wlaczona !!
- # Wiadomosc przy wlaczeniu emotikon.
- messagebuzkion: &9Emotikony zostal wlaczone !!
- # Wiadomosc przy wylaczeniu emotikon.
- messagebuzkioff: &9Emotikony zostaly wylaczone !!
- command /chat [<text>] [<text>] [<player>]:
- permission: chat.admin
- permission message: &cNie masz uprawnien do tej komendy!
- trigger:
- if arg 1 is not set:
- send "&6Dostepne komendy:"
- send "&9/chat wyczysc &7- Czysci chat."
- send "&9/chat wylacz &7- Wylacza chat."
- send "&9/chat wlacz &7- Wlacza chat."
- send "&9/chat zablokuj <powod> <nick> &7- Blokuje gracza."
- send "&9/chat odblokuj potwierdzam <nick> &7- Odblokowuje gracza gracza."
- send "&9/chat slowmode wlacz &7- Wlacza slowmode'a."
- send "&9/chat slowmode wylacz &7- Wylacza slowmode'a."
- send "&9/chat info &7- Informacje o skripcie."
- send "&9/chat spam <infomacja/spam> &7- Spamuje u wszyskich graczy ta sama wiadomoscia."
- send "&9/chat emotikony wlacz &7- Wlacza emotikony."
- send "&9/chat emotikony wylacz &7- Wylacza emotikony."
- send "&9/cenzura wlacz &7- Wlacza cenzure."
- send "&9/cenzura wylacz &7- Wylacza cenzure."
- send "&9/cenzura dodaj <cenzura> &7- Dodaje cenzure."
- send "&9/cenzura usun <cenzura> &7- Usun z spisu cenzur cenzure."
- send "&9/cenzura spis &7- Pokazuje spis cenzur."
- stop
- if arg 1 is "wyczysc" or "clear":
- loop 100 times:
- broadcast " "
- broadcast "{@messageclear}"
- stop
- if arg 1 is "info":
- send "&7Informacje:"
- send "&7Wersja: &91.0"
- send "&7Autor: &9Flotek"
- send "&7Link: &9http://youtube.com/user/MinecraftFlotek"
- stop
- if arg 1 is "wylacz" or "off":
- if {chat} is true:
- set {chat} to false
- broadcast "{@messageoff}"
- else:
- send "&9Chat jest juz wylaczony!"
- stop
- if arg 1 is "wlacz" or "on":
- if {chat} is false:
- set {chat} to true
- broadcast "{@messageon}"
- else:
- send "&9Chat jest juz wlaczony!"
- stop
- if arg 1 is "zablokuj" or "lock":
- if arg 2 is set:
- if arg 3 is set:
- if {chat.%player-arg%} is true:
- set {chat.%player-arg%} to false
- broadcast "{@messagelock}"
- else:
- send "&9Ten gracz jest juz zablokowany!"
- else:
- send "&9Podaj nick gracza!"
- else:
- send "&9Podaj powod!"
- stop
- if arg 1 is "odblokuj" or "unlock":
- if arg 2 is "potwierdzam" or "confirm":
- if arg 3 is set:
- if {chat.%player-arg%} is false:
- set {chat.%player-arg%} to true
- broadcast "{@messageunlock}"
- else:
- send "&9Ten gracz nie jest zablokowany!"
- else:
- send "&9Podaj nick gracza!"
- stop
- if arg 1 is "slowmode":
- if arg 2 is "wylacz" or "off":
- if {slowmode} is true:
- set {slowmode} to false
- broadcast "{@messageslowmodeoff}"
- else:
- send "&9Slowmode jest wylaczony!"
- stop
- if arg 2 is "wlacz" or "on":
- if {slowmode} is false:
- set {slowmode} to true
- broadcast "{@messageslowmodeon}"
- else:
- send "&9Slowmode jest wlaczony!"
- stop
- if arg 1 is "emotikony":
- if arg 2 is "wlacz" or "on":
- if {emotikony} is false:
- set {emotikony} to true
- broadcast "{@messagebuzkion}"
- else:
- send "&9Emotikony sa juz wlaczone!"
- stop
- if arg 2 is "wylacz" or "off":
- if {emotikony} is true:
- set {emotikony} to false
- broadcast "{@messagebuzkioff}"
- else:
- send "&9Emotikony sa juz wylaczone!"
- stop
- if arg 1 is "spam":
- if arg 2 is set:
- loop 20 times:
- broadcast "%colored arg 2%"
- broadcast ""
- stop
- command /cenzura [<text>] [<text>]:
- permission: chat.admin
- permission message: &cNie masz uprawnien do tej komendy!
- trigger:
- if arg 1 is "wlacz" or "on":
- if {cenzura} is false:
- set {cenzura} to true
- broadcast "{@Censormessageon}"
- else:
- send "&9Cenzura jest juz wlaczona"
- stop
- if arg 1 is "wylacz" or "off":
- if {cenzura} is true:
- set {cenzura} to false
- broadcast "{@Censormessageoff}"
- else:
- send "&9Cenzura jest juz wlaczona"
- stop
- if arg 1 is "dodaj" or "add":
- if arg 2 is set:
- if {cenzura.%arg 2%} is not set:
- add "%arg 2%" to {censor::*}
- set {cenzura.%arg 2%} to "%arg 2%"
- send "&9Do cenzury dodales slowo: &7%arg 2%"
- else:
- send "&9W spisie cenzur juz jest taka cenzura."
- else:
- send "&9Podaj cenzure!"
- stop
- if arg 1 is "usun" or "remove" or "delete":
- if arg 2 is set:
- if {cenzura.%arg 2%} is set:
- remove "%arg 2%" from {censor::*}
- set {cenzura.%arg 2%} to ""
- send "&9Z cenzury usunales slowo: &7%arg 2%"
- else:
- send "&9W spisie cenzur nie ma takiej cenzury."
- else:
- send "&9Podaj cenzure!"
- stop
- if arg 1 is "lista" or "list" or "spis":
- if {censor::*} is not set:
- send "&cSpis cenzur: &7Brak cenzur."
- else:
- send "&cSpis cenzur: &7%{censor::*}%"
- stop
- on chat:
- if {chat} is false:
- if player don't have permission "chat.admin":
- cancel event
- send "{@messageoffplayer}"
- stop
- on chat:
- if {chat.%player%} is false:
- cancel event
- send "{@messagelockplayer}"
- stop
- on chat:
- if {slowmode} is true:
- if player don't have permission "chat.admin":
- if {spam.%player%} is true:
- cancel event
- send "&9Zaczekaj &7{@slowmodetime} &9 Za nim znow napiszesz wiadomosc"
- set {spam.%player%} to true
- wait {@slowmodetime} seconds
- set {spam.%player%} to false
- stop
- on chat:
- if {cenzura} is true:
- replace all {censor::*} with "{@cenzura}" in the message
- stop
- on chat:
- if {emotikony} is true:
- if player has permission "chat.admin" or "chat.admin" or "chat.gracz":
- replace all ":)" and "(:" in message with "☺"
- replace all "):" and ":(" in message with "☹"
- replace all "-_*" in message with "ツ"
- replace all "<3" in message with "❤"
- replace all "*mail" in message with "✉"
- replace all "*music" in message with "♪♫♫♪"
- replace all "*sun" in message with "☼"
- replace all "*fm" in message with "♀"
- replace all "*m" in message with "♂"
- replace all "*3" in message with "ω"
- replace all "*airplane" in message with "✈"
- replace all "*phone" in message with "☎"
- replace all "*radioactive" in message with "☢"
- replace all "*bio" in message with "☣"
- replace all "*?" in message with "�"
- replace all "*scizz" in message with "✂"
- replace all "*arrow" in message with "➳"
- replace all "*8" in message with "☃"
- replace all "*flower" in message with "✿"
- replace all "*o" in message with "•"
- replace all "*hospital" and "*+" in message with "✚"
- replace all "*v" in message with "✔"
- replace all "*x" in message with "✘"
- replace all "*[]" in message with "☐"
- replace all "*[v]" and "[v]" in message with "☑"
- replace all "*[x]" and "[x]" in message with "☒"
- replace all "*c" in message with "©"
- replace all "*r" in message with "®"
- replace all "->" and "*->" in message with "→"
- replace all "<-" and "*<-" in message with "←"
- replace all "\/" and "*\/" in message with "↓"
- replace all "/\" and "*/\" in message with "↑"
- replace all ">>" and "*>>" in message with "»"
- replace all "<<" and "*<<" in message with "«"
- replace all "*<" in message with "◄"
- replace all "*>" in message with "►"
- replace all "[]" in message with "█"
- stop
Advertisement
Add Comment
Please, Sign In to add comment