AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Simple Chat Filter (https://forums.alliedmods.net/showthread.php?t=167822)

Antithasys 09-20-2011 14:02

Simple Chat Filter
 
1 Attachment(s)
Simple Chat Filter

Description:
Uses RegEx to filter chat messages.
Console Variables:
scf_filtermsg - Turn ON/OFF the display of the filter message telling the player they said a banned word.
Commands:
sm_reloadscf - Reloads bad words from the config file
Installation:
Place the simple-chatfilter.smx in the /sourcemod/plugins dir.
Place the simple-chatfilter.cfg in the /sourcemod/configs dir.
Changelog:

Quote:

1.0.0
Release
Notes:

This plugin uses the Simple Chat Processor to manipulate chat.

SVN (or Beta Links)

If you want the latest version on the SVN you can use the links below. The release version of the plugin is attached.

Source | Plugin | Config | No Phrases

Enjoy!

Antithasys 09-20-2011 14:02

Re: Simple Chat Filter
 
Reserved. (Config file instructions coming soon!)

GoRRageBoy 09-23-2011 01:49

Re: Simple Chat Filter
 
Would it be possible to use/recode this to block players from saying IP addresses, namely IP's of other servers?

I keep getting idiots coming in my server and advertising their server which leads to nearly everyone leaving my server.

It's a huge piss-off for me.

Antithasys 09-23-2011 14:27

Re: Simple Chat Filter
 
Quote:

Originally Posted by GoRRageBoy (Post 1561253)
Would it be possible to use/recode this to block players from saying IP addresses, namely IP's of other servers?

I keep getting idiots coming in my server and advertising their server which leads to nearly everyone leaving my server.

It's a huge piss-off for me.

It doesn't need to be recoded. It can do that now. Look here for example Regex filters.

http://www.regular-expressions.info/examples.html

Extreme_One 09-24-2011 04:05

Re: Simple Chat Filter
 
Quote:

Originally Posted by Antithasys (Post 1561594)
It doesn't need to be recoded. It can do that now. Look here for example Regex filters.

http://www.regular-expressions.info/examples.html


When I use the above to try and block an IP I get the following message


Code:

Load Errors:
        Simple Chat Filter: Could not find file addons/sourcemod/configs/simple-chatfiler.cfg

Notice the mis-spelling of the file-name of the config file. :shock:

Antithasys 09-24-2011 11:57

Re: Simple Chat Filter
 
lolz. Was never good at spelling. Will fix it later this weekend.

EDIT:

Fixed on SVN.

Cockroach 11-18-2011 05:31

Re: Simple Chat Filter
 
nice plugin.
I got it because I want to ban the word paypal on my trade server.

it works in the normal chat but not in the trade chat(Trade Chat" (1.4) by Luki)

any suggestions or a possible plugin update to get around this?

Antithasys 11-18-2011 16:16

Re: Simple Chat Filter
 
This actually works off of translation strings that are processed by the chat processor. If it (the processor) finds the proper translation string then it sends the forward. So this plugin itself would require no updates to work. What would have to happen is the translation string would have to be added to the list, and that is easy to do. The problem is that after reviewing the trade plugin... they use translation strings for everything except the actual message sent to the server. If they updated line 228 in that plugin to use a translation string, then it would all work perfectly.

mickael002 12-10-2011 09:58

Re: Simple Chat Filter
 
Hello,

I really hard to understand your system.

How does one made ​​to ban the words:

Quote:

FDP
Batard
Please

thank you

davidov 01-27-2012 11:09

Re: Simple Chat Filter
 
Great!
Any future support for punishement and logging?


All times are GMT -4. The time now is 14:06.

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