Overview
NoSpam is a newly made plugin that stops players (that do not have the ignore permission) from spamming text and commands. As well as this, with NoSpam, you can also clear the whole chat from a simple in-game command. Furthermore, you can lock the chat so that nobody (unless they have the ignore permission) can talk until you unlock it. More features coming soon
Dependencies
Soft Dependency (Only needed if you are using non-Bukkit permissions):
Vault
Commands
/NoSpam - Brings up plugin help
/NoSpam Reload - Reloads the config.yml file
/NoSpam Chat Clear - Clears the whole chat
/NoSpam Chat Lock - Stops people from talking in the chat until you do the command again
Test Servers
If your server uses this plugin and you want to be on this list, private message me or Skype me: rioboo96
Permissions
nospam.admin:
Access to the command /NoSpam
nospam.admin.*:
Access to all /NoSpam commands, and all sub-commands
nospam.admin.reload:
Access to /NoSpam Reload
nospam.admin.chat:
Access to /NoSpam Chat
nospam.ignore.*:
NoSpam filter ignore permission
nospam.ignore.chat.lock:
Will let the user bypass the chat lock
nospam.ignore.chat.spam:
Will let the user bypass the anti-spam feature
nospam.ignore.anticaps:
Will let the user bypass the maximum capital letters feature
nospam.ignore.command.spam:
Will let the user bypass the command-spam feature
Configs
config.yml:
messages.properties:# NotifyUser - This will notify the user when they trigger a flag in the plugin.
# NotifyAdmin - Will notify administrators when a user triggers a flag in the plugin.
Options:
NotifyUser: false
NotifyAdmin: true
# AntiCaps will require a percentage of text to lowercase. By default, 49% must be lowercased.
# AntiChatSpam will limit the amount of messages, requiring a waiting period (by default, 451ms).
# AntiCommandSpam will limit the amount of commands performed, requiring a waiting period (by default, 451ms).
Toggle:
AntiCaps: true
AntiChatSpam: true
AntiCommandSpam: true
# AllowedCapitalsPercent - This is the maximum percentage of capital letters allowed in a message.
AntiCaps:
AllowedCapitalsPercent: 50
# BanForSpam - Will ban the user for spamming chat. if false, it will kick the user.
# MillisecondsAllowedBetweenMessages - This is the maximum amount of miliseconds allowed between users messages.
# AllowedSpamInfractions - The amount of infractions a user is allowed to have before kicked/banned for spamming chat.
AntiChatSpam:
BanForSpam: false
MillisecondsAllowedBetweenMessages: 451
AllowedSpamInfractions: 3
# BanForSpam - Will ban the user for spamming commands. if false, it will kick the user. == Recommended to be turned off.
# MillisecondsAllowedBetweenCommands - This is the maximum amount of miliseconds allowed between user commands.
# AllowedSpamInfractions - The amount of infractions a user is allowed to have before they are kicked/banned for spamming commands.
AntiCommandSpam:
BanForSpam: false
MillisecondsAllowedBetweenCommands: 451
AllowedSpamInfractions: 3
server.prefix=&8[&bNoSpam&8]&f
server.chat.lock=All chat messages has been locked by &c{0}&f!
server.chat.unlock=The chat lock was purged by &c{0}&f!
server.chat.clear=All chat messages were cleared by &c{0}&f!
admin.spam.chat=&c{0} &fhas been warned for spamming chat &8[&c{1}&ems&8]
admin.spam.command=&c{0} &fhas been warned for spamming commands &8[&c{1}&ems&8]
spam.ban.chat=&c{0} &fhas been banned for spamming chat!
spam.ban.command=&c{0} &fhas been banned for spamming commands!
spam.kick.chat=&c{0} &fhas been kicked for spamming chat!
spam.kick.command=&c{0} &fhas been kicked for spamming commands!
user.repeated.message=Do not repeat yourself, it is annoying.
user.spam.chat=Do not spam the chat &ewarnings&8(&c{0}&f/&c{1}&f&8)
user.spam.command=Do not spam commands &ewarnings&8(&c{0}&f/&c{1}&f&8)
user.caps=&eYour message has been forced to &clowercase&e!
user.ban.chat=Your IP address was permanently banned for spamming chat!
user.ban.command=Your IP address was permanently banned for spamming commands!
user.kick.chat=You have been kicked for spamming chat!
user.kick.command=You have been kicked for spamming commands!
user.chat.locked=&eThe chat is locked, you may not send chat messages!

NoSpam 1.0
Stops people from spamming and manages chat!