Welcome to Strength & Honor
 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
{S&H} SERVER DONATIONS
Photobucket
Code of Conduct
Photobucket
Latest topics
» Hey Y'all, Its Phingies
Wed Feb 22, 2017 11:10 pm by STEELHED

» World of War Ships member footage
Fri Jan 27, 2017 8:43 am by Shootist75

» A little history into the BF series..
Wed Nov 30, 2016 7:30 pm by The MAD Doctor

» My BF1 beta impressions...
Wed Oct 26, 2016 8:29 am by STEELHED

» Good Price
Wed Oct 12, 2016 3:52 pm by STEELHED

» Long Time No See
Fri Oct 07, 2016 9:27 am by Travis32

» Battlefield One open beta available to everyone Aug 31st
Tue Aug 30, 2016 4:59 am by STEELHED

» Battlefield One Beta Discussion..
Wed Aug 24, 2016 8:47 pm by lurkin727

» Anyone still alive?
Wed Aug 24, 2016 8:21 pm by lurkin727

Ban Appeals
Photobucket
Geo-Locator
BF4 Stats
Photobucket
BF3 Stats
Photobucket
TS3 66.150.214.9:8640

Share | 
 

 Chat filter Plugin

View previous topic View next topic Go down 
AuthorMessage
Ironman

avatar

Posts : 1165
Join date : 2010-07-18
Age : 51
Location : LA Lower Arkansas

PostSubject: Chat filter Plugin   Mon Nov 14, 2011 12:30 pm

Found a plugin that will auto ban/kick/warn players for offensive words, as defined by us. Ill be poking around with this the next few days and see if it works.


Chat Filter BF3 - 1.0.0.1
Author: DFC-NightMare[NL], Based on Brazin's V1.3.3.3


Description
This plugin is designed to check all messages sent by players in your server for words flagged by the administrator. There are three categories for bad words: ban words, bad language and hack whining. Ban words will be followed by an immediate ban of the offender. For bad language and hacker whining, you are given a number of options. You may choose what actions are made for flagged words from say warnings up to kicking and banning. You can also choose how many times players are flagged before actions are taken, and there is also a repeat offender banning option that will ban players who have been kicked too many times for bad language or whining.

Thanks to MonkeyFiend of sneakymonkeys.com for making the original Profanity Filter plugin. I have borrowed some of his code and utilized it within this plugin and I mean the highest respects for him.

This plugin also incorporates a method very similar to HeliMagnet's banning of repeat offenders, and it draws inspiration from other authors as well. Many thanks to Zaeed for helping me develop the mute feature, as I used his Player Muter plugin as a reference. Being a novice at developing plugins myself I have only been able to learn from observation. I would not have been able to write this plugin without help (both direct and indirect) from this great community and certainly not without Phogue. Thanks guys!

Fields

All Warning Messages
You can use %warnings% and %warningstotal% in say and yell warnings to represent the number of current warnings and the number of total warnings respectively. They are calculated based on the number of infractions required to earn the respective warning and the number of infractions required for the plugin to take a final action (kick or ban). These two strings will only be replaced by their respective numbers if the Final Action taken is not set to None.

All Temporary Ban Messages
You can use %bt% to represent the number of hours a player will be banned in their temp ban message.

Announcements
Announcements are handled for ban, kick and mute events. These announcements will be triggered in the event that somebody is kicked/banned/muted on your server by this plugin depending on the settings you provide. The messages and and settings are fairly straightforward to enable and set. You will have the option to set announcements for temp bans and perm bans as well as messages regarding users of bad language for every type of punishment. %pn% is used to indicate the offender's name and %bt% will represent the ban time where appropriate.

Global Options
This section contains options for protected names and clan tags, as well as the option to protect admins from this plugin's actions. The plugin will not check messages from any of these players.

Protected Names
A list of names of players that will not have their messages checked on your server. These names much match the names of the players you want to protect letter for letter, but they are not case sensitive.
Protected Clan Tags
A list of clan tags that are protected from this plugin. Anybody with clantags that exactly match those on this list will have their messages ignored by this plugin. Not case sensitive
Protect Account Holders?
This option determines whether the plugin will ignore messages from account holders on your PRoCon Client
Bannable Offense
This section handles words that will ban players on the spot for using certain words for a specified number of hours or even permanently. Remember that these words are taken literally, which means you must provide all permutations of the word within the list (plural, past tense, etc.). This is done in order to prevent players from accidentally being banned and also negates the need for a whitelist

Ban Words
Words that will get players banned
Ban Type
Choose Ban Type
Temporary
Temporary Ban: Time Units
Establishes the units of time that the Ban Time will be based off of
Temporary Ban: Ban Time
How long a player will be banned if temp banned
Temporary Ban: Ban Message
The message the player will receive when he is temp banned
Permanent
Ban Message
The message the player will receive when he is temp banned
Word Warnings
This section handles normal bad words. If these words are detected, offenders will accumulate infractions. All actions are based off of the number of infractions a player has, but you can set the infraction thresholds yourself.

Bad Words
Words that players will be warned for saying. Any variation of these words will be detected as long as the characters in the bad word are contained within the message sent by the player
Bad Words (Literal)
These bad words will be treated literally, like the ban words, and will accumulate infractions just like normal Bad Words do.
Drop Infractions When Leaving?
This setting determines whether a player's accumulated bad language infractions will be reset to 0 whenever they leave the server.
Infraction Clear Command
An admin command that can be used to manually clear a player's existing infractions. Uses all admin command prefixes , and requires players to be present in the server to function properly(ex. @clearinfractions Brazin)
Say Warning: Enable?
Enables say warnings for bad word infractions
Say Warning: Infractions Before Say
The number of infractions before the player will be warned through a say command.
Say Warning: Say Message
The message that will be sent to the warned player
Yell Warning: Enable?
Enables yell warnings for bad word infractions
Bad Word Final Action
Choose between None, Kick or Ban. If None is selected, the plugin will not take any final action towards offenders.
Kick
Kicking: Infractions Before Kick
The number of infractions before the player will be kicked
Kicking: Kick Message
The message the kicked player will receive
Kicking: Drop Infractions When Kicked?
This setting determines whether a player's infractions will be set to 0 whenever they are kicked from the server by the plugin for bad language.
Repeat Offender: Enable?
Enable banning of repeat offenders
Repeat Offender: Kicks Before Ban
The number of offender kicks required before a player is banned.
Repear Offender: Ban Method
Choose your preference of ban method. You can ban players by Name, EA GUID or PB GUID
Repeat Offender: Ban Type
Temporary
Repeat Offender: Temporary Ban: Time Units
Establishes the units of time that the Ban Time will be based off of
Repeat Offender: Temporary Ban: Ban Time
How long a player will be banned if temp banned
Repeat Offender: Temporary Ban: Ban Message
The message the player will receive when he is temp banned
Permanent
Repeat Offender: Ban Message
The message the player will receive when he is temp banned
Ban
Bannings: Infractions Before Ban
The number of detected infractions before a player is banned.
Bannings: Ban Type
Temporary
Bannings: Temporary Ban: Time Units
Establishes the units of time that the Ban Time will be based off of
Bannings: Temporary Ban: Ban Time
How long a player will be banned if temp banned
Bannings: Temporary Ban: Ban Message
The message the player will receive when he is temp banned
Permanent
Bannings: Ban Message
The message the player will receive when he is permanently banned
Hack Whiners
This section handles whiners. If these words are detected, offenders will accumulate whines. All actions are based off of the number of whines a player has, but you can set the whine thresholds yourself. You could also use this section as a custom list for different words you don't want to hear in your server. It doesn't just have to be reserved for hacker whining. I just originally intended it as a sepparate list handler for people who don't stop whining about hackers.

Enable Hack Whine Filter
Enables the hack whine filtering feature
Words
Similar to Bad Words, but detects words for actions against whiners like hack, hax and aimbot
Whitelist
These whitelisted words will not apply infractions to the whining player if they are detected. For instance, I don't consider it whining if they are trying to let an admin know about the problem, so I have admin as a whitelisted word. If admin is detected within the player's message at the same time as a flagged word, then that player will not accumulate offenses.
Enable Report Command immunity?
This enables a second whitelist that will actually make players immune to punishment for the rest of the round. This is useful if you have commands players can use to report hackers to admins and don't want to punish players that use these commands.
Clear Whines on Report Command?
If set to 'Yes' this option will clear a players accumulated whines whenever a Report Command is used
Report Commands
These are where you may place commands or keywords that will give players immunity for the remainder of the round when spoken. It is advisable that you not allow players to become aware of this feature in order to avoid having it abused
Drop Whines When Leaving?
This setting determines whether a player's accumulated hack whines will be reset to 0 whenever they leave the server.
Whine Clear Command
An admin command that can be used to manually clear a player's existing whines. Uses all admin command prefixes, and requires players to be present in the server to function properly (ex. @clearwhines Brazin)
Say Warnings: Enable?
Enables the say warnings for whiners
Say Warnings: Whines Before Say
The number of detected whines before say messages will be sent to the whiner
Say Warnings: Say Message
The say message that will be sent to the whiner.
Whine Final Action
Choose between None, Kick or Ban. If None is selected, the plugin will not take any final action towards whiners.
Kick
Kicking: Whines Before Kick
The number of detected whines before the player will be kicked for whining.
Kicking: Message
The message the whiner will receive when kicked.
Kicking: Drop Whines When Kicked?
This setting determines whether a player's whines will be set to 0 whenever they are kicked from the server by the plugin for whining.
Repeat Offenders: Enable?
Enable banning of repeat offenders
Repeat Offenders: Kicks Before Ban
The number of whine kicks required before a player is banned.
Repear Offenders: Ban Method
Choose your preference of ban method. You can ban players by Name, EA GUID or PB GUID
Repeat Offenders: Ban Type
Temporary
Repeat Offenders: Temporary Ban: Time Units
Establishes the units of time that the Ban Time will be based off of
Repeat Offenders: Temporary Ban: Ban Time
How long a player will be banned if temp banned
Repeat Offenders: Temporary Ban: Ban Message
The message the player will receive when he is temp banned
Permanent
Repeat Offenders: Ban Message
The message the player will receive when he is perm banned
Ban
Banning: Whines Before Ban
The number of detected whines before a player is banned.
Banning: Ban Type
Temporary
Banning: Temporary Ban: Time Units
Establishes the units of time that the Ban Time will be based off of
Banning: Temporary Ban: Ban Time
How long a player will be banned in if temp banned
Banning: Temporary Ban: Ban Message
The message the player will receive when he is temp banned
Permanent
Banning: Ban Message
The message the player will receive when he is perm banned

_________________
Back to top Go down
View user profile
Yonni

avatar

Posts : 352
Join date : 2010-01-18
Age : 72
Location : Utah

PostSubject: Re: Chat filter Plugin   Mon Nov 14, 2011 4:40 pm

woot woot

_________________
Back to top Go down
View user profile
Tx_SkyRaider



Posts : 4
Join date : 2011-03-24
Age : 67
Location : White Oak,Texas

PostSubject: Re: Chat filter Plugin   Sat Jan 21, 2012 4:22 pm

Great to hear that!!!! affraid
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Chat filter Plugin   

Back to top Go down
 
Chat filter Plugin
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Specific parameter by car to replace in the leoFFB plugin.in
» Round 6 - Laguna Seca - Pre Race Chat
» Grand Fantasia Chat
» Random Chat #105
» chit chit chat chat

Permissions in this forum:You cannot reply to topics in this forum
 :: General Discussion :: Battlefield Series :: BF3-
Jump to: