Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {chatoff} = false
- command /chat [<text>] [<text>] [<text>] [<text>]:
- aliases: /chat
- permission: chat.admin
- permission message: &cNie masz uprawnien do uzycia tej komendy!
- trigger:
- if arg 1 is not set:
- send "&8--====&8[&c&lMY&3&lFEJM&8]====--"
- send "&6/chat off &7- Wylacza chat"
- send "&6/chat on &7- Wlacza chat"
- send "&6/chat cc &7- Czysci chat"
- if arg 1 is "off":
- if {chatoff} is false:
- set {chatoff} to true
- broadcast " &8--====&8[&6&lMY&3&lFEJM&8]====--"
- broadcast " &6Chat zostal: &cWylaczony"
- broadcast " &6Przez administratora: &2%player%"
- else:
- send "&c>> &6Chat jest juz wylaczony!"
- if arg 1 is "on":
- if {chatoff} is true:
- set {chatoff} to false
- broadcast " &8--====&8[&6&lMY&3&lFEJM&8]====--"
- broadcast " &6Chat zostal: &aWlaczony"
- broadcast " &6Przez administratora: &2%player%"
- else:
- send "&c>> &6Chat jest juz wlaczony!"
- if arg 1 is "cc" or "wyczysc":
- loop 100 times:
- broadcast ""
- loop 1 times:
- broadcast " &8--====&8&6&lMY&3&lFEJM&8]====--"
- broadcast " &6Chat zostal: &aWyczyszczony"
- broadcast " &6Przez administratora: &2%player%"
- on chat:
- if {chatoff} is true:
- player doesn't have permissions "VIP.Chat":
- cancel event
- send "&9>> &7Chat jest aktualnie wylaczony!"
- on chat:
- replace all "chuj" in message with "***"
- on chat:
- replace all "kurwa" in message with "***"
- on chat:
- replace all "pierdole" in message with "***"
- on chat:
- replace all "pierdol sie" in message with "***"
- on chat:
- replace all "sex" in message with "***"
- on chat:
- replace all "k.u.r.w.a" in message with "***"
- on chat:
- replace all "craft" in message with "*"
- on chat:
- replace all "hostmc" in message with "*"
- on chat:
- replace all "csrv" in message with "*"
- on chat:
- replace all "skkf" in message with "*"
- on chat:
- replace all "cubix" in message with "*"
- on chat:
- replace all "mcraft" in message with "*"
- on chat:
- replace all "com" in message with "*"
- on chat:
- replace all "pl" in message with "*"
- on chat:
- replace all "easyhard" in message with "*"
- on chat:
- replace all "xfast" in message with "*"
- on chat:
- replace all "stonecraft" in message with "*"
- on chat:
- replace all "maxc" in message with "*"
- on chat:
- replace all "maxcraft" in message with "*"
- on chat:
- replace all "mc" in message with "*"
- on chat:
- replace all "net" in message with "*"
- on chat:
- replace all "skyen" in message with "*"
- on chat:
- replace all "mchc" in message with "*"
- on chat:
- replace all "enderchest" in message with "*"
- on chat:
- replace all "fhmc" in message with "*"
- on chat:
- replace all "yfun" in message with "*"
- on chat:
- replace all "jakub0301" in message with "*"
- on chat:
- replace all "muma" in message with "*"
- on chat:
- replace all "xmuma" in message with "*"
- on chat:
- replace all "mckox" in message with "*"
- on chat:
- replace all "ENCH" in message with "*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement