Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- cm: &5[&9Chat&aManager&5]&b
- s: &5✔&d
- command /cm [<text>] [<player>] [<text>]:
- Permission: cm.admin
- aliases: ChatManager , cm
- Permission Message: {@cm} &cYou don't have permission to use this command.
- Trigger:
- if arg 1 is not set:
- message "&f&l||&c---&f&l||| {@cm} &f&l||&c---&f&l|||"
- message "{@s} /cm help &c- &fShow this panel."
- message "{@s} /cm clearchat &c- &fClear your chat."
- message "{@s} /cm clearpc &c- &fClear public chat. &6[ADMIN ONLY]"
- message "{@s} /cm control &c- &fClear public chat. &6[ADMIN ONLY]"
- message "{@s} /cm lockchat &c- &fLock Chat. &6[ADMIN ONLY]"
- message "{@s} /cm alaymode &c- &f4l4y mode chat. &6[ADMIN ONLY]"
- message "{@s} /cm reload &c- &fReload this Plugin &6[ADMIN ONLY]"
- message "&5A&duthor &c> &3&lO&bxy&6&lI&ece"
- message "&f&l||&c---&f&l||| {@cm} &f&l||&c---&f&L|||"
- if arg 1 is "clearchat" or "cc":
- execute console command "sudo %player% cc"
- if arg 1 is "clearpc" or "cpc":
- execute console command "sudo %player% cpc"
- if arg 1 is "lockchat" or "lc":
- execute console command "sudo %player% lc
- if arg 1 is "unlockchat" or "uc":
- execute console command "sudo %player% uc"
- if arg 1 is "alaymode" or "am":
- execute console command "sudo %player% am"
- if arg 1 is "control" or "c":
- execute console command "sudo %arg 2% c:%arg 3%"
- if arg 1 is "reload":
- message "&aChatManager Is Reloading..."
- wait 10 tick
- message "&aSuccess Reloading Chatmanager!"
- execute console command "sk reload ChatManager"
- command /am:
- Permission: chat.admin
- Permission Message: {@cm} &c&cYou don't have permission to use this command.
- trigger:
- {am} is true:
- broadcast "&cAlayChatMode Is False !"
- set {am} to false
- else:
- broadcast "&cAlayChatMode Is True !"
- set {am} to true
- Command /cl:
- Permission: cm.admin
- Permission Message: {@cm} &cYou don't have permission to use this command
- Trigger:
- broadcast "{@cm} &bChat Is Lock By &f%player%."
- set {chatlock} to true
- stop
- Command /cu:
- Permission: cm.admin
- Permission Message: {@cm} &cYou don't have permission to use this command
- Trigger:
- broadcast "{@cm} &bChat Is Unlocked By &f%player%."
- delete {chatlock}
- stop
- on chat:
- player don't have permission "cm.admin":
- {chatlock} is true:
- send "{@cm} &cChat is Locked!"
- cancel event
- on chat:
- {am} is true:
- replace all "A" and "a" with "4" in the message
- replace all "I" and "i" with "1" in the message
- replace all "E" and "e" with "3" in the message
- replace all "O" and "o" with "0" in the message
- replace all "G" and "g" with "9" in the message
- on chat:
- player don't have permission "chat.cooldown.access":
- set {_chat} to difference between {chat.%player%.cooldown} and now
- if {_chat} is less than 2 seconds:
- message "&cPlease Wait &4%difference between 2 seconds and {_chat}% &cFor Chat Again!"
- cancel event
- set {chat.%player%.cooldown} to now
- stop
- Command /cpc:
- Permission: cm.admin
- Permission Message: {@cm} &cYou don't have permission to use this command
- Trigger:
- loop 100 times:
- broadcast ""
- broadcast "{@cm} &bChat Has Been Cleared By &f%player%"
- stop
- Command /cc:
- Permission: chat.player
- Permission Message: {@cm} &cYou don't have permission to use this command
- Trigger:
- loop 100 times:
- message ""
- message "{@cm} &bYou Chat Has Been Cleared"
- stop
Advertisement
Add Comment
Please, Sign In to add comment