xAntiSpam - Powerful AntiSpam Plugin
➔ Overview
xAntiSpam is a powerful and customizable Minecraft plugin designed to
prevent spam, excessive caps, URLs, and inappropriate words in chat. It also includes command
cooldowns,
flood protection, and configurable
punishments.
➔ Features:
Chat spam prevention (
cooldowns, length limits, caps detection, URL/IP filtering)
Command spam prevention (
cooldowns, blocked commands)
Swear word filtering with customizable word lists
Flood protection to limit excessive messages
Configurable punishment system (
warnings, mute, kick)
Customizable messages with hex colors and gradients
Minecraft Version: Compatible with
1.16
-
1.21.4
➔
Configuration Guide
The plugin's settings are defined in
config.yml.
➤
Chat Spam Prevention
yaml
chat:
messagecooldown: 2 # Cooldown in seconds between messages
similarmessagecooldown: 10 # Cooldown for repeating similar messages
maxmessagelength: 100 # Maximum length of a message
capslimit:
enabled: true
percentage: 70 # Maximum percentage of capital letters
minmessagelength: 5 # Minimum length to check for caps
urlfilter:
enabled: true # Blocks messages containing URLs
ipfilter:
enabled: true # Blocks messages containing IP addresses
➤
Command Spam Prevention
yaml
commands:
cooldown: 2 # Cooldown between command usage in seconds
blockedcommands:
"pl"
"plugins"
"ver"
"version"
➤
Swear Filter
yaml
swearfilter:
enabled: true
bypasswithpermission: true # Players with permission can bypass filter
words:
"badword1"
"badword2"
➤
Flood Protection
yaml
floodprotection:
enabled: true
messagethreshold: 5 # Number of messages triggering flood detection
timewindowseconds: 10 # Time window for flood detection
➤
Punishments
yaml
punishments:
enabled: true
warningsbeforemute: 3 # Number of warnings before mute
mutedurationseconds: 60 # Duration of mute in seconds
enablekick: false # Enable/disable kicking for excessive spam
warningsbeforekick: 5 # Number of warnings before kicking
➤
Messages & Customization
yaml
messages:
prefix: "#FF0000xAntiSpam &8» &r"
custom:
nopermission: "&cYou don't have permission to use this command!"
configreloaded: "&aConfiguration has been reloaded successfully!"
plugintoggle: "&aPlugin has been %status%!"
cooldown: "&cPlease wait &e%time%s &cbefore sending another message!"
repeatmessage: "&cYou cannot repeat the same message for &e%time%s&c!"
➤
Permissions
Permission
Description
antispam.bypass.swear Bypass the swear filter
antispam.bypass.cooldown Bypass chat cooldown
antispam.bypass.commands Bypass command cooldown
antispam.reload Allows reloading the plugin configuration
➤
Commands
Command Description
/antispam reload Reloads the plugin configuration
/antispam toggle Enables or disables the plugin
➤
Installation & Usage
1. Download the
xAntiSpam.jar file.
2. Place it in your plugins folder.
3. Restart/Reload your Minecraft server.
4. Modify the
config.yml as needed.
5. Use
/antispam reload to apply changes.
➤ Credits:
Author: GodXPro
Discord ID - godxpro.exe
Thank you for using xAntiSpam!