Badwords Judge

by Undef.de

System

XASECO2

Description

Punish a player (pay Planets) for using badwords
With this Plugin you are able to punish a Player (pay Planets) 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 Planets
- Player used the third time a badword: Penalty Player, Player have to pay a amount of Planets
- Player used the fourth time a badword: Penalty Player, Player have to pay a amount of Planets
- Player used the fifth time a badword: Penalty Player, Player have to pay a amount of Planets
- Player used the sixth time a badword: Ban Player

Installation

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

Settings

Configure the plugin in badwords_judge.xml.

Notes

- This Plugin works only with XAseco/1.03
- This Plugin works only with TM2

Changes in v0.9.9

Changes:
- This Plugin require XAseco2/1.03+!
- 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 all "Copper" to "Planet"
- 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)
- Changed all "Copper" to "Planet" (thanks sbone)

Link(s)

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

Download(s)

File Version Date Size Downloads
badwords_judge2(0.9.9).zip 0.9.9 2013-11-26 17.33 KB 1214
badwords_judge2(0.9.8).zip 0.9.8 2012-11-11 17.74 KB 1266
badwords_judge2(0.9.7).zip 0.9.7 2012-02-05 17.37 KB 1360
badwords_judge2(0.9.6).zip 0.9.6 2012-01-29 16.91 KB 1286