Minecraft Mods

ClearChat+ [Bukkit Plugin] [Version: 2.2]

  • 4,158 views, 5 today
  • 254 downloads, 0 today
  • 16
  • 3
  • 28
SleepyDog's Avatar SleepyDog
Level 37 : Artisan Button Pusher
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'

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!

CreditThankyou to be bukkit forums community for helping me develop the DevFile command and teaching me how to code java plugins!
Progress100% complete
Game VersionMinecraft 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.
LOAD MORE LOGS

Create an account or sign in to comment.

1
10/11/2017 10:01 pm
Level 1 : New Miner
JustExecuted
JustExecuted's Avatar
Can you make me a banner
1
04/14/2016 9:03 am
Level 53 : Grandmaster Fox
Hatch_
Hatch_'s Avatar
Problem: Players can scroll up and see the chat how it was before the clear
1
04/14/2016 12:38 pm
Level 37 : Artisan Button Pusher
SleepyDog
SleepyDog's Avatar
This still removes the chat from view. I will look into whether Minecraft made it so you can view more messages. I thought the default was 75. I will see what I can do. However, if you keep launcher open you can see infinite messages anyway. However this still makes it a lot more difficult to access pass messages.
1
02/04/2015 10:07 pm
Level 23 : Expert Modder
MineStein
MineStein's Avatar
Not really that complex.

A simple for loop does this.
1
04/22/2015 12:15 pm
Level 37 : Artisan Button Pusher
SleepyDog
SleepyDog's Avatar
Thanks for all of the comments. This isn't really meant to be a 'unique' plugin that is great for everyone. This is simply me sharing my progress with PMC. Also, there is also more then a loop to this plugin. If you type /clearchat it downloads a file from my dropbox to check for updates and get a message from me.

Again, this is justme posting my work and sharing my progress.
1
11/02/2014 7:39 pm
Level 74 : Legendary Engineer
Military Minecraft
Military Minecraft's Avatar
oooo
1
11/02/2014 7:44 pm
Level 37 : Artisan Button Pusher
SleepyDog
SleepyDog's Avatar
It's you! Your logo is still blocked my my adblock! aha.
1
11/02/2014 8:19 pm
Level 74 : Legendary Engineer
Military Minecraft
Military Minecraft's Avatar
;(
1
11/02/2014 8:22 pm
Level 37 : Artisan Button Pusher
SleepyDog
SleepyDog's Avatar
It's what you get for unsubscribing from me. XD
1
11/01/2014 4:40 am
Level 65 : High Grandmaster Programmer
fillpant
fillpant's Avatar
Really nice plugin, very usefull but a bit of problem, it takes quite some time to clear da chat, have you used a loop in it or not?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome