Raised This Month: $12 Target: $400
 3% 

Advanced Clean Chat (1.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 03-29-2014 , 06:13   Advanced Clean Chat (1.0.1)
Reply With Quote #1

Advanced Clean Chat
[ version 1.0.1 ]






Description :

With this plugin , you can clean up the chat ! (if you are admin only )


Command :


  • /clean


Cvars:

  • cc_task <<1/0>> (1=Enable task for auto clean up/0=Disable)
  • cc_task_time <<120.0>> ( 120 = 2 minutes )
  • cc_enable <<1/0>> ( [1]Enable / [0]Disable plugin )


ChangeLog
:
  • 1.0.0 - first launch
  • 1.0.1 - code optimization
Attached Files
File Type: txt cc.txt (380 Bytes, 487 views)
File Type: sma Get Plugin or Get Source (cc.sma - 1104 views - 1.6 KB)

Last edited by swapped; 03-29-2014 at 07:56.
swapped is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-29-2014 , 06:39   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #2

Quote:
Originally Posted by swapped View Post
With this plugin, you can clean up the chat ! (if you are admin only )

to clean what ?
__________________
ANTICHRISTUS is offline
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 03-29-2014 , 06:40   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #3

Quote:
Originally Posted by ANTICHRISTUS View Post
to clean what ?
CHAT
swapped is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-29-2014 , 06:42   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #4

Useless and horribly coded.
__________________
Kia is offline
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 03-29-2014 , 06:43   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #5

Quote:
Originally Posted by Kia View Post
Useless and horribly coded.
Is useful when a player come and make spam/publicity to other server, about the code tell me what to update, everything is working well
swapped is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 03-29-2014 , 06:48   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #6

  1. Do not use "return 0" etc. use the provided values like PLUGIN_HANDLED
  2. task_clean_chat() is an infinite loop.
  3. Instead of going through each player, simply use 0 as parameter for the player.
  4. You can still see what was written in the console. Therefore it is impossible to really "clean" the chat.
  5. You can use Anti-Spam Plugins to prevent Spam / Advertisment to be written very well.
__________________
Kia is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 03-29-2014 , 07:15   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #7

I don't actually think that it is useless, but the truth is that it's poorly coded.
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 03-29-2014 , 07:57   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #8

please someone unnaprove it !

Last edited by swapped; 03-29-2014 at 08:09.
swapped is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 03-29-2014 , 08:17   Re: Advanced Clean Chat (1.0.0)
Reply With Quote #9

Quote:
Originally Posted by swapped View Post
please someone unnaprove it !
Quote:
Originally Posted by ANTICHRISTUS View Post
sometimes we need to think about to post something (or not).
__________________
ANTICHRISTUS is offline
wEight
BANNED
Join Date: Jan 2015
Old 04-19-2015 , 17:11   Re: Advanced Clean Chat (1.0.1)
Reply With Quote #10

This is a good idea against advertisers (Saw something like this in minecraft).
But it is poorly coded and totally worthless, the players can still see advertisements in their consoles..
Spam?, there is already a server cvar for time between each messages which is totally more useful than this...

I totally need something like this, too bad this is useless..

Last edited by wEight; 04-19-2015 at 17:15.
wEight is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode