ModsJava
AntiCommandSpam — Configurable Command Cooldown
Java mod listed for Minecraft 1.19–1.21. Download on the author's site.
⬇ Download on SpigotAntiCommandSpam
Stop command spamming with configurable cooldowns
Lightweight · Configurable · PlaceholderAPI support
⚡ What does it do?
AntiCommandSpam enforces a configurable cooldown between command executions. Players who try to spam commands get blocked, while critical commands like /msg and /tpa can be whitelisted to always work.
Simple, lightweight, and solves a problem every server has.
✨ Features
- Global cooldown — Configurable in milliseconds (default: 1000ms). One cooldown per player across all commands.
- Command whitelist — Exempt specific commands (e.g. /msg, /tpa, /r) so they always work instantly.
- Player exemptions — Exempt specific players by name, or grant the bypass permission.
- Live configuration — Add/remove exempt players and change cooldown via commands, no restart needed.
- Fully customizable messages — Every message supports & color codes.
- Statistics — Track commands blocked/executed per player. Leaderboard support. PlaceholderAPI integration.
Commands
- /acs reload — Reload config
- /acs add <player> — Add player to exempt list
- /acs remove <player> — Remove player from exempt list
- /acs setcooldown <ms> — Set cooldown in milliseconds
- /acs stats — View your stats
- /acs stats <player> — View another player's stats
- /acs stats top — Leaderboard
Permissions
- anticommandspam.admin — Reload, add/remove, set cooldown (default: op)
- anticommandspam.bypass — Skip cooldown entirely (default: op)
- anticommandspam.stats — View own stats (default: everyone)
- anticommandspam.stats.others — View others' stats (default: op)
⚙️ Default Config
Code (YAML):
# Cooldown in milliseconds (1000 = 1 second)
cooldown : 1000
# Commands exempt from cooldown
allowed-commands :
- "/msg"
- "/tpa"
- "/r"
- "/reply"
# Players always exempt (case-insensitive)
exempted-players : [ ]
Requirements
- Paper/Spigot/Bukkit 1.19+
- Java 17+
- VersionAdapter (required)
- PlaceholderAPI (optional — for placeholders)
- Vault (optional — for economy placeholders)
Links
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.19, 1.20, 1.20.6
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
AntiCommandSpam — Configurable Command Cooldown is a free Minecraft Java mod. Compatible with Minecraft 1.19, 1.20, 1.20.6, 1.21. Downloaded 17 times (via Spigot). Download it and open it directly in the game.