Download the jar to your plugin folder and start your server.
Change the default settings if you want:
Message Limit is how many messages within the Message Period (seconds) before action is taken against the player. The default is 3 messages within 1 second.
*NEW* Add commands to
commandlist:possiblespam:
that you might consider to be spam. By default /g, /general and /yell are added as examples.
Choose whether to use each action type. (Mute/Kick/Ban)
Configure the messages as you like them. Mute has a mute time to keep the player muted for. Use %t in the message to replace with the mute time.
Set a "cool-off" time for when to reset the action level of a player.
Note: all times are in seconds
Note: actions will always happen in order unless they are disabled. Mute, kick, then ban.
After the config is set to your liking, restart or reload the server.
You can now choose to disable all punishments and instead have SpamHammer simple rate limit messages.
Commands:
spamunmute - unmutes a player muted by SpamHammer
spamunban - unbans a player banned by SpamHammer
spamreset - resets the punishment level of a player.
Superperms nodes:
spamhammer.unban - allows access to /spamunban
spamhammer.unmute - allows access to /spamunmute
spamhammer.reset - allows access to /spamreset
spamhammer.ignore - makes player unaffected by SpamHammer
spamhammer.* - grants all above permissions
Comments
To post a comment, please login or register a new account.
Comments