Source: https://dev.bukkit.org/projects/fastclearchat
Commands
- /clearchat clear (clears the public chat)
- /c (a fast way to clear the public chat)
- /cc (clears your own chat)
- /clock (locks the chat) v1.2 and up
- /clearchat version (the version of the plugin)
- /clearchat reload (reload the config)
Permissions
- /clearchat clear or /c โclearchat.clearโ
- /cc โclearchat.ccโ
- /clock โclearchat.lockโ (give a player โclearchat.lock.chatโ if you want them to be able to chat when the chat is locked) v1.2 and up
- /clearchat reload โchatclear.reloadโ
- โclearchat.ignoreโ (when a player has this permission he wont see the /c or /clearchat clear message) v1.2 and up
Config
- use %Name in the config to show the name from the one who cleared the chat (this can be used in /clearchat clear, /c and /cc)
how your config should look
clear-message: โ&1[&bClearChat&1] &bChat has been cleared by&d %Name&b.โ
cc: โ&1[&bClearChat&1] &3%Name&b You have cleared your own chatโ
no-permission: โ&4[&cClearChat&4] &cyou dont have permission to this commandโ
Reload: โ&1[&bClearChat&1] &bConfig reloaded.โ
lock-msg: โ&1[&bClearChat&1] &3the chat is locked!โ
lock: โ&1[&bClearChat&1] &b%Name&3 has locked the chat!โ
unlock: โ&1[&bClearChat&1] &b%Name &3has unlocked the chat!โ
Other plugins made by me
- AntiAdv (http://dev.bukkit.org/bukkit-plugins/antiadv/) a Anti Advertise plugin with alot of features
- NoHitDelay (http://dev.bukkit.org/bukkit-plugins/nohitdelay/) A plugin that lets you manage the delay between 2 hits in pvp.
- AutoWelcome (http://dev.bukkit.org/bukkit-plugins/awelcome/) A Plugin that lets players with a permission say welcome to new players!