ClearChat
200 Downloads In 72 Hours! Ty Guys!
A ClearChat Plugin!
Things To Come:
- Suggest?
Commands:
/Cca } ClearChat Anonymously | Format: [ClearChat] A Anonymous User Has Cleared Chat | Permission Node: ClearChat.Anonymous
/Cc } ClearChat With Your User Stated | Format: [ClearChat] {PLAYER} Has Cleared Chat | Permission Node: ClearChat.Use
/Ccr } Reload the plugin file, not the whole server! | Permission Node: ClearChat.Reload
Bugs:
0 Found, Put Below
Suggestions:
You Make 'Em ;)
Summary:
I created this plugin because I have been looking for a fully customizable ClearChat Plugin, and none have came. The /help description is: 'ClearChat With A Simple Command!' If you have a better description idea, please leave below. I will edit it if I like it. :)!
Features
Config.yml File
Custom ClearChat Message
Custom ClearChatAnonymous Message
./CC | Clear Chat
./CCR | Reload The Plugin
./CCA | Clear Chat Anonymously
ClearChat.Use | CC Permission node
ClearChat.Anonymous | CCA Permission Node
ClearChat.Reload | CCR Permission Node
My Other Work
Sneak: http://dev.bukkit.org/bukkit-plugins/sneak/
GlobalMute: http://dev.bukkit.org/bukkit-plugins/global-mute/
ChatManager: - http://dev.bukkit.org/bukkit-plugins/chat-manager-bysergeant/
Chat Color: http://dev.bukkit.org/bukkit-plugins/chat-color-plugin/
i download it and i get a .java how do i get that to where i can put it into eclipse mars to where i can edit it and stuff
@SergeantBud
Did you fix the clearchat error?
I am getting this error when running /cc
2.06 18:01:18 [Server] INFO ... 14 more 12.06 18:01:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at me.SergeantBud.ClearChat.onCommand(ClearChat.java:54) [?:?] 12.06 18:01:18 [Server] INFO Caused by: java.lang.ClassCastException: java.util.Collections$UnmodifiableRandomAccessList cannot be cast to org.bukkit.entity.Player 12.06 18:01:18 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_45] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45] 12.06 18:01:18 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_45] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-550ebac-7019900] 12.06 18:01:18 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'cc' in plugin ClearChat v1.0 12.06 18:01:18 [Server] ERROR null
@SergeantBud
To fix the /cc twice thing you need to make return false to return true.
You got a small mistake in /cc it says Chat twice when executing /cc