Mineuniverse
Log in Register
Plugins

SpamHammer

Lay down the law on spammers!
by dumptruckman
Download Claim this project
28,141 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools Anti-Griefing Tools Chat Related

SpamHammer v3.0

SpamHammer

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.

Commands

  spam:
    description: Base command for SpamHammer.
    usage: |
           /<command> unmute
           /<command> reset
           /<command> reload
  spamunmute:
    description: Unmutes a player banned by SpamHammer.
    usage: |
           /<command> <playername>
           /<command> dumptruckman - unmutes dumptruckman if he was muted by SpamHammer.
    permission: spamhammer.cmd.unmute
  spamreset:
    description: Resets a player's history with SpamHammer
    usage: |
           /<command> <playername>
           /<command> dumptruckman - Makes it like dumptruckman never spammed in the first place.
    permission: spamhammer.cmd.reset
  spamreload:
    description: Reloads the SpamHammer config.yml
    usage: |
           /<command>
    permission: spamhammer.cmd.reload

Permissions

  spamhammer.*:
    description: Allows full access to SpamHammer
    children:
      spamhammer.bypass.*: true
      spamhammer.cmd.*: true
    default: op
  spamhammer.bypass.*:
    description: Allows to bypass ban punishments
    children:
      spamhammer.bypass.repeat: true
      spamhammer.bypass.punish.*: true
    default: false
  spamhammer.bypass.punish.*:
    description: Allows to bypass ban punishments
    children:
      spamhammer.bypass.punish.ban: true
      spamhammer.bypass.punish.kick: true
      spamhammer.bypass.punish.mute: true
    default: false
  spamhammer.bypass.repeat:
    description: Allows to bypass repeat message limit
    default: false
  spamhammer.bypass.punish.ban:
    description: Allows to bypass ban punishments
    default: false
  spamhammer.bypass.punish.kick:
    description: Allows to bypass kick punishments
    default: false
  spamhammer.bypass.punish.mute:
    description: Allows to bypass mute punishments
    default: false
  spamhammer.cmd.*:
    description: Allows use of all commands
    children:
      spamhammer.cmd.unmute: true
      spamhammer.cmd.reset: true
      spamhammer.cmd.reload: true
    default: false
  spamhammer.cmd.unmute:
    description: Allows use of the unmute command
    default: false
  spamhammer.cmd.reset:
    description: Allows use of the reset command
    default: false
  spamhammer.cmd.reload:
    description: Allows use of the reload command
    default: false

More

Check out the info page for more details.

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, I hope I do not disappoint ppl by rewriting everything. But I feel that the PluginBase hook is something that bloats the plugin in an unnecessary way, the file size fell from 100+KB to 30KB ;)

Source

GitHub

SpamHammer v3.0.2.1
MC 1.7.2, 1.9, 1.16, 1.11, 1.7.4, 1.14, 1.8.3, 1.8.1, 1.13, 1.8, 1.12, 1.10, 1.15
Release 2020-08-19 Get
SpamHammer v3.0.1.17
MC CB 1.7.2-R0.2, CB 1.6.4-R2.0, CB 1.7.2-R0.1
Release 2014-01-27 Get
SpamHammer v3.0.1.16
MC CB 1.6.4-R1.0, CB 1.6.4-R2.0
Release 2013-12-14 Get
SpamHammer v3.0.1.15
MC 1.6.2, CB 1.5.2-R1.0, CB 1.4.7-R1.0
Release 2013-07-20 Get
SpamHammer v3.0.0.14
MC CB 1.5.1-R0.2, CB 1.5.2-R0.1, CB 1.5.1-R0.1
Release 2013-05-15 Get
SpamHammer v3.0.0.12
MC CB 1.4.7-R1.0, CB 1.4.7-R0.1, CB 1.4.6-R0.3
Release 2013-02-23 Get
SpamHammer v3.0.0.9
MC CB 1.4.7-R1.0, CB 1.4.7-R0.1, CB 1.4.6-R0.3
Release 2013-02-01 Get
SpamHammer 3.0 BETA - b5
MC CB 1.4.6-R0.3
Beta 2013-01-28 Get
SpamHammer 3.0 ALPHA - b4
MC CB 1.4.6-R0.3
Alpha 2013-01-24 Get
SpamHammer 3.0 ALPHA - b3
MC CB 1.4.6-R0.3
Alpha 2013-01-22 Get
SpamHammer 3.0 ALPHA
MC CB 1.4.6-R0.3
Alpha 2013-01-20 Get
2.0-SNAPSHOT-b15
MC CB 1.2.5-R1.0
Alpha 2012-04-19 Get
2.0-SNAPSHOT-b6
MC CB 1.2.4-R1.0
Alpha 2012-04-04 Get
2.0-SNAPSHOT-b5
MC CB 1.2.3-R0.1
Alpha 2012-03-06 Get
SpamHammer Version 1.7b
MC
Release 2011-08-28 Get

More from dumptruckman

Multiverse-NetherPortals
874,119
ChestRestock
73,054
Multiverse-Core
6,901,054
buscript
6,358
Multiverse-SignPortals
426,823
Multiverse-Portals
3,019,019

You Might Also Like

WorldGuard
WorldGuard
9,807,705
Residence
Residence
992,603
SWatchdog
SWatchdog is ultralightweight blocklogger, similar to bigbrother. Also allows to rollback griefs in specified area
93,216
Limited Creative
Separated inventories for diffrent GameModes. No Diamand Armor
86,801
Account
Account
9,918
ChunkAutoClaimer
A 100 % automatic Anti-Grief plugin. Claims chunks wherever you build.
9,810