- 4,158 views, 5 today
- 254 downloads, 0 today
105
If you have any problems or questions regarding the plugin add me on skype: sleepydog935
Description
Okay, I know many people have attempted to upload simple versions of clearchat that will just spam the chat with 100's of 'blank' messages when you run the command '/clearchat'
Description
Okay, I know many people have attempted to upload simple versions of clearchat that will just spam the chat with 100's of 'blank' messages when you run the command '/clearchat'
So i will take this to the next level...
When using other plugins that clear the chat i noticed a few problems. The first was if you wanted to remember the name of an advertiser or someone using profanity you have a choice, you ether clear the chat or you investagate. Problem fixed! With clear chat you can run the simple command '/acc' this stands for 'Admin Clear Chat'. You use this command when you need to quickly clear the chat from anything you dont want the players to see. The unique thing about this command is that any ops, mods, admins you give the permission 'clearchat.bypass' will not have their chat cleared. This way all the people with permission can investagate the problem without risking players leaving to advertised IPs or children seeing profanity.
Secondaly there is another problem, some servers have had the moment when votiflyer goes crazy and broadcasts your IP when you vote, or someone links a photo of you in 'real life' and you dont want anyone to see it. This is why i have kept the simple '/clearchat' command aswell, this is for when you want to clear everyones chat, including the console. You would use this after using the command above th clear the entire systems chat.
Thirdly, people must have always been in a server and someone posted something annoying... however the admins are not online or they don't want to clear the chat because it only effects you. Well here today I provide a fix! Players can simply run the command '/clearmychat' and instantly jave their own chat wiped from their screen. As this only effects the player's screen and provides no unfair gameplay there is no permission for this command.
Lastly, did a friend or a foe be online and someone posted a link you dont want them to see? Here is the answer. With the simple command '/cpc <Player>' (Stands for Clear Players Chat), you can choose who gets their chat removed!
Command List
Command: /acc
Description: Clears all chats except people with the permission 'clearchat.bypass'
Permission: OP
Command: /cc
Description: Clears the systems chat (players, admins, console)
Permission: OP
Command: /cpc <player>
Description: Will clear the selceted players chat
Permission: OP
Command: /clearchat
Description: Will download the DevFolder and check for updates.
Permission: OP
Command: /clearmychat
Description: Clears your personal chat.
Permission: none
Config
# default config.yml
clearMessage: "§a[ClearChat] §fThe chat has been cleared by a moderator."
noPermissionMessage: "§a[ClearChat] §fYou do not have permission to do this."
personalClearMessage: "§a[ClearChat] §fYour chat has been cleared."
accAdminMessage: "§a[ClearChat] §fAn admin has cleared everyones chat."
cpcUsage: "Usage:/cpc <Player>"
playerNotOnline: "§a[ClearChat] §fPlayer not found."
Plugin YML
name: ClearChatPlus
main: me.sleepydog935.clearchat.ClearChat
version: 2.0
commands:
cc:
description: Removes all messages from the screen.
usage: /<command>
ClearMyChat:
description: Clears your own chat.
usage: /<command>
acc:
description: Clears everyones chat accept admins.
usage: /<command>
cpc:
description: Clears a players chat.
usage: /<command>
ClearChat:
description: Displays plugin info.
usage: /<command>
Update Log
-Added MCStats
-Swapped '/cc' and '/clearchat'
-Fixed MCStats Error
-Added 'Version Installed' in the /cc menu
-Changed the name of the plugin to ClearChatPlus
-Uploaded Plugin [28/10/2014]
To-Do List
-Add permissions to each command.
-Add a command to clear selected groups chat.
Like the plugin?
Diamond, heart, comment, subscribe!
Credit | Thankyou to be bukkit forums community for helping me develop the DevFile command and teaching me how to code java plugins! |
Progress | 100% complete |
Game Version | Minecraft 1.8.1 |
Tags |
7 Update Logs
Version 2.2 : by SleepyDog 04/13/2016 8:20:15 pmApr 13th, 2016
I have decided to update the plugin and fox some errors. I have also took some steps to lighten up the plugin and make it more 'clean'.
Changed:
- removed MCStats. I have no interest in tracking you.
* Fixed error with the dev file. This is a feature that allows me to send you updates and a message when you run /clearchat.
* Fixed the version error that made the plugin think it was out of date when it wasn't.
This is a fairly minor update and it just fixes some major issues with the plugin while I continue to update it.
To do:
Allow /cmc to be used alongside /clearmychat.
Fix the colour issues which have been created by an update.
Allow you to remove all messages from just one player.
Changed:
- removed MCStats. I have no interest in tracking you.
* Fixed error with the dev file. This is a feature that allows me to send you updates and a message when you run /clearchat.
* Fixed the version error that made the plugin think it was out of date when it wasn't.
This is a fairly minor update and it just fixes some major issues with the plugin while I continue to update it.
To do:
Allow /cmc to be used alongside /clearmychat.
Fix the colour issues which have been created by an update.
Allow you to remove all messages from just one player.
LOAD MORE LOGS
tools/tracking
3125543
7
clearchat-3125543
Create an account or sign in to comment.
A simple for loop does this.
Again, this is justme posting my work and sharing my progress.