Sueta
SP

SpamHammer

V3.0.2.1

Hammer those spammers!

·Plugin

SpamHammer detects people sending too many messages in short amounts of time (and optionally repeated messages). Mutes, kicks, and then bans players that spam the same message in that order. Server OPs and people with appropriate permissions are unaffected.

Philosophy

This plugin might not be the fanciest one, but it has been thoroughly tested and has been untouched in two years, and never broke, until a little dependency purge in Spigot 1.12 - this is why I am uploading the fix for it here.

You will love it, because it simply works, and it will continue to work. If not, please post a ticket on github and we will sort it out!

Configuration

See the - commented - config.yml on GitHub

Commands

  • /spam - Base command for SpamHammer.
    usage:
    /spam unmute- see below (spamunmute)
    /spam reset- see below (spamreset)
    /spam reload- see below (spamreload)
  • /spamunmute - Unmutes a player banned by SpamHammer.
    usage:
    /spamunmute dumptruckman - unmutes dumptruckman if he was muted by SpamHammer
  • /spamreset - Resets a player's history with SpamHammer
    usage:
    /spamreset dumptruckman - Makes it like dumptruckman never spammed in the first place
  • /spamreload - Reloads the SpamHammer config.yml
    usage:
    /spamreload

Permissions

See the plugin.yml on GitHub

Phoning home
Yes, SpamHammer phones home. The plugin calls my server, www.slipcor.net and saves the following to the database:

  • the plugin name
  • the plugin version
  • the server IP
  • the port

The IP and port are never shown, they just are used to differentiate servers from each other. I would like you to keep the plugin doing this, so I have an idea how many servers are using which version, that's basically it. To turn it off, change the config yml setting settings.callhome to false

Credits
Thanks a lot to dumptruckman for creating this plugin, the sturdy code base really has paid off, sold work means solid results.

Donations are greatly appreciated <3

Similar projects

Plugin →