By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Auto kick/ban, and on-the-fly configuration
version 1.4.1
Approved
Direct Download How to install?
Switch version
933 Downloads / 2742 Total
Plugin Description §

General

Antispam plugin with configurable delay, profanity filter (block swear words), automatic actions (kick, ban) and commands to change settings on the fly in console or in game.

Also detects command spam.

Commands

/asp - display the current AntiSpamPro settings

/asp kick - kick spammers

/asp ban - ban spammers

/asp banip - banip and ban spammers

/asp bancid - ban, banip and bancid spammers (if available)

asp set {1, 2 or 3} - change the allowed delay between chat to 1, 2 or 3 seconds

Permissions

You need the permission asp to use any of the commands. There is no spam bypass permission. The delay setting in config.yml can be set freely.

API

To configure other plugins to use the AntiSpamPro profanity filter, use this is onEnable():

$this->antispampro = $this>getServer()->getPluginManager()->getPlugin("AntiSpamPro");
  if (!$this->antispampro) {
     $this->getLogger()->info("Unable to find AntiSpamPro");
}

then use this to check for swear words:

if ($this->antispampro && $this->antispampro->getProfanityFilter()->hasProfanity($wordtocheck)) {...Do THIS....}

Credits

Kudos and thanks to:

https://github.com/mofodojodino/ProfanityFilter

and

https://github.com/fastwebmedia/Profanity-Filter

What's new §
  • Added check for closed Player in PlayerChatEvent
  • Updated for PMMP PocketMine 3.0.0
  • API version bump, untested
  • Bumped version
  • Updated for 3.0.0-ALPHA11, version bump
  • API version Bump
  • Bumped version
  • Update README, added poggit shield
  • Version bump for 3.0.0-ALPHA9
  • tested with 3.0.0-ALPHA8
  • Merge pull request #4 from samalero/master
    • Some improvements...
  • Update AntiSpamPro.php
  • Update config.yml
  • Updated for API version 3.0.0-ALPHA7. Breaks BC
  • Updated version
Bumped API, version
Added rude IGN check with config option
Fixed onCommand return types
Bumped version
Catch command spam
Moved swearwords into separate yml file

Catches command spam

Moved swearwords into separate yml file

Supported API versions
3.0.0
->
3.4.1
License §
Categories:
Chat-Related
General
Admin Tools
Permissions
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...