ClearChat
ClearChat
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!
Great plugin, works great on my bungee network. Also works on 1.8! Thanks :D
@Slime_Wolf_99
Dont have the source code on this pc, but im pretty sure you can use it in command blocks or the console.
Can it be used in command blocks?
@Patrick15a
There is a config where you can edit all the messages.....
Pls use another color D:
@dazrk
Sorry for my very late response, I checked it but it doesn't clear the chat when I leave with op on my test server, maybe something with your server?
So the plugin is only about clearing chat, right?
Hello,
Is it possible you can change it so that it WILL NOT clear the chat every time I (or a staff member) disconnects? It gets annoying, but we love this plugin.
Warm Regards, Dan
This happens when I boot up my server with ClearChat: [13:56:00 ERROR]: Could not load 'plugins/ClearChat.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/Hendrik/ClearChat/main : Unsupported major.minor version 51.0 ^ That. Why? Thanks for the help :)
@tobster78
Please read the description before asking questions, it says under Permissions: "clearchat.ignore (when a player has this permission he wont see the /c or /clearchat clear message) v1.2 and up"
So i guess your op and you have the clearchat.ignore permission thats why it wont clear your chat, but for players without that permission it will clear there chat.
@tobster78
it is possible you need to actually stop and start the server to get the plugin to work.
as you haven't provided any other information. (such as your minecraft version) i will just say, if you are using version 1.8.X it is possible the plugin has broken as it was intended for 1.7.X
If you are using 1.7.X you might want to test again after you stop and start your server, then leave another comment for the author.
it says it has cleared the chat but it hasn't http://prntscr.com/5yfzzt
@Red_Jay:
added faction chat support in version 1.3 MAKE SURE ITS VERSION 1.3 or 1.3+!!!!!
@Hendrik_the_best
One request: Can you make it so locking the chat only locks global chat? I have a factions server and I still want people to be able to speak in faction chat or alliance chat.
@Red_Jay
thanks :)
Excellent Plugin. This is exactly what I was looking for.
No problem. Also, nice plugin :)
@datmc
done ty :)
@Florinmohican
idk yet maybe :p
Please edit /c (a fast way to clear the pubic chat) before more people start to comment on it... I got your back, lol