SafeChat

SafeChat

V 1.2

Newest Version:

What am I working on?

Admin Immunity Permission [In Progress]

Warning Clearing [In Progress]

Update Checker

Usage:

Automatically warns players that swear and also censors the message. After a set amount of warnings it auto-kicks the player every time they swear. Can also ban the player after a set amount of warnings.

Installation:

Download the jar file and put it in your plugins folder. See Config below.

Config

#SafeChat Config#Plugin made by Icelaunche# What words are banned? (please do not use any caps)bannedwords:-word1-word2-word3alert:Pleasedonotusethatlanguagewarningstokick:3ban:truewarningstoban:5broadcast:trueOpOverride:truewarnings:

alert: What do you want sent to the player when they swear?

warningstokick: how many warnings until they are kicked?

warningstoban: how many warnings till a ban?

ban: Enable the ban feature (true/false)

broadcast: Do you want warnings to be broadcasted? (true/false)

OpOverride: Do you want ops to be immune? (true/false)

warnings: auto updates warnings for the players

Commands and Permissions

/safechatversion : Displays current plugin version

ToDo:

Add Admin/OP immunity (they can't get kicked)

OP Immunity Disable

A Command to clear warnings

Bans players after a number of warnings

Feature to announce warnings

Update Checker

Changelog:

Version 1.1:

Added Immunity for OPs (There is not a permission yet) - I will add a feature to disable this in the next version

Added a feature to announce when a player swears and is warned (can be disabled in config)

Added command /safechatversion which displays the version of the plugin

I don't think I can make it client side only. I could make a command but that would mess with he warning system because then people could disable the plugin and spam swears and not get kicked or warned.

Thanks for the suggestions I will add the bans in the next update. With URLs and IPs, I will try to add something to stop those it I can't promise it because have a feeling it might just end up banning all numbers from server chat.

Excelent plugin! I have some ideas though:
1) We could chose the punishment, for example, 5 swears -> 1 kick; 3 kicks -> ban !
2) Detect URLs and IPs as some kind of swear words! The SPAM is disgusting!