Spam Kick Fix
Your server hit a lag spike, a couple of players typed two quick lines in chat, and suddenly someone got the dreaded "Kicked for spamming" message. If that sounds familiar, you have run into a long-standing vanilla bug tracked as MC-276819. Spam Kick Fix for Minecraft exists for exactly one reason: to make sure normal chatting never gets anyone kicked just because the server was struggling to keep up.
Why the Vanilla Spam Kick Happens
Every chat message and every command adds to an internal spam counter, and that counter goes down by one step per server tick. At a healthy 20 ticks per second, that works out to roughly one message per second, which feels fine in normal play. The problem starts when the server lags and runs fewer ticks. The counter barely goes down, so ordinary conversation stacks up and the server decides the player is spamming. Nobody is actually spamming, but the kick still lands.
How Spam Kick Fix Solves It
With this mod installed, the counter goes down based on real time that has passed, as if the server had never fallen behind. On a server running at full speed, nothing changes at all. The fix only matters when ticks are being lost, which is precisely when false kicks used to happen.
Separate Chat and Command Limits
Minecraft 26.2 counts commands separately from chat and lets you adjust both limits in server.properties. This mod brings that same behavior to 1.21.1 and 1.21.11, so typing a few commands no longer eats into your chat allowance. The limits live in config/spam_kick_fix.properties:
- chat-spam-threshold-seconds=10 — how many messages a player can send in one burst, refilling at one per second. Set it to 0 and chat never gets anyone kicked.
- command-spam-threshold-seconds=10 — the same setting for commands.
- real-time-cooldown=true — the lag fix described above.
The two limit names match vanilla 26.2's server.properties settings, which is why they are measured in seconds. On 26.2 and newer, those limits already exist in server.properties under the same names, so the config file only carries the lag fix there.
If you would rather skip manual file juggling, the foxygame.net launcher offers a one-click install path that drops Spam Kick Fix into your server setup without touching configs by hand.
Supported Versions and Loaders
The mod is built for Fabric and NeoForge and targets Minecraft 1.21.1, 1.21.11, 26.2 and 26.3. Testing is done with game tests across those versions on both loaders. Each test checks the lag fix, the separate command limit and a limit of 0, and every test has a twin that runs without the mod to confirm vanilla still kicks when it should. That pairing is a solid guarantee the mod is not silently disabling spam protection.
How to Install
Only the server needs the mod, or your own game in singleplayer. Players joining a server do not need it installed to connect.
- Install Fabric or NeoForge for your Minecraft version.
- Place the mod file in the server's mods folder.
- Start the server once to generate
config/spam_kick_fix.properties. - Adjust the thresholds to taste and restart.
That is the whole process for how to install it. No dependencies, no extra libraries. If you also run Long-Standing Bug Fixes, that is fine: it fixes the lag portion too, and when both mods are present only one of them handles it.
Frequently Asked Questions
Are ops affected?
Ops are never kicked for spam, with or without this mod.
Can I use it in a modpack?
Yes, no need to ask. The project is MIT licensed and developed with AI assistance.
Where do I download Spam Kick Fix?
Grab it from the project's source repository and release pages, then follow the install steps above. If you want everything in one place, the foxygame.net launcher keeps Spam Kick Fix updated automatically so version compatibility stays handled for you.
Final Thoughts
A false spam kick during a lag spike is one of those small frustrations that quietly ruins a session, especially on busy servers where chat moves fast. Spam Kick Fix is a narrow, focused solution: it corrects the counter timing, separates command and chat limits on older versions, and leaves vanilla behavior untouched when the server is healthy. Download Spam Kick Fix, drop it on your server, and let your players talk without fear of the kick screen.