Badwords Judge

by Undef.de

System

XASECO

Description

Punish a player (pay Coppers) for using badwords
With this Plugin you are able to punish a Player (pay Coppers) who uses a badword, to keep the chat clean.

If a Player use a badword, then the Badwords Judge take the following actions:

- Player used the first time a badword: Warn Player
- Player used the second time a badword: Penalty Player, Player have to pay a amount of Coppers
- Player used the third time a badword: Penalty Player, Player have to pay a amount of Coppers
- Player used the fourth time a badword: Penalty Player, Player have to pay a amount of Coppers
- Player used the fifth time a badword: Penalty Player, Player have to pay a amount of Coppers
- Player used the sixth time a badword: Ban Player

Installation

1. unzip the script to xaseco base directory
2. edit xaseco's plugins.xml and include the following line:
Code:
<plugin>plugin.badwords_judge.php</plugin>
3. restart xaseco

Settings

Configure the plugin in badwords_judge.xml.

Notes

- This Plugin works only with XAseco/1.16
- This Plugin works only with TMUF

Changes in v0.9.9

Changes:
- This Plugin require XAseco/1.16+!
- Added command "/bwj reload" to reload the config file

Changes in the badwords_judge.xml:
- Added <ignore>* (thanks BaBiDi)

Bugfix:
- Matching of bad words did not match all situations (thanks whiler)

Changes in v0.9.8

Changes:
- Optimized the matcher for forbidden words, now it match also on "Shiiit" as "Shit" and "f.u.c.k" as "fuck"

Changes in the badwords_judge.xml:
- Added new Badwords:
- English: crap, fucking, fucked
- German: kacke, pisse

Bugfix:
- none

Changes in v0.9.7

Changes:
- Changed the "Nickname" of this Plugin
- Include a check for length of <messages><badword_punish_note>

Changes in the badwords_judge.xml:
- Changed <messages>*

Bugfix:
- Transaction failure when a Player want to Pay the punish, was related upon the length of the Label for 'SendBill' (thanks weasel for notice)

Link(s)

Forum: https://www.tm-forum.com/viewtopic.php?t=29298
Homepage: https://www.undef.name/XAseco1/Badwords-Judge.php

Download(s)

File Version Date Size Downloads
badwords_judge(0.9.9).zip 0.9.9 2013-11-26 17.43 KB 1252
badwords_judge(0.9.8).zip 0.9.8 2012-11-11 17.82 KB 1236
badwords_judge(0.9.7).zip 0.9.7 2012-02-18 17.42 KB 1437
badwords_judge(0.9.6).zip 0.9.6 2012-01-29 16.98 KB 1389