CommandKick
by zzakdim
CommandKick is a server-side Fabric mod that kicks players who run commands listed in a config file, while the command tree stays intact.
What it does
When a player runs a blocked command, the server disconnects that player with a configurable message instead of executing the command. The command tree is not removed, so blocked commands still appear in tab-complete. Only executions by players are intercepted: commands typed in the server console, run by datapack functions, or sent over RCON run normally. Each kick is recorded in the server log together with the command that was run.
The blocked list lives in a JSON file that is edited by hand, and a server restart or rebuild is needed before changes take effect. An entry can block a command and its subcommands, so a single line can cover a whole group such as the tick command with its listing, freeze, rate and on subcommands. Because the mod depends on LuckPerms and Fabric Language Kotlin on top of Fabric Loader and Fabric API, the server has to carry all of them, while clients need nothing extra.
The mod is released under the MIT License and is not open source. Its files cover 1.21.1 – 1.21.11, with 1.0.1 for 1.21.11 as the latest Fabric build, published 2026-06-28.
Key features
Kick on blocked command
A player who runs a blocked command is disconnected, and the message shown on the kick screen can be set in the config.
Command tree left intact
Blocked commands stay visible to tab-complete, so the mod changes only what happens on execution.
Player-only interception
Only commands typed by players are caught, while console, datapack and RCON commands keep working as usual.
Kick logging
Each kick is written to the server log along with the player name and the command they ran.
Subcommand blocking
A single entry can block a command together with all of its subcommands, for example the whole tick command group.
Gallery
Compatibility
Latest build for each game version and loader.
1.21.x11 of 11 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Command Dumper is client-side only, open source under the MIT License, and built for Fabric and Quilt across 1.21 – 1.21.4, so it works on a player's own client rather than on a server. Command on Interval is server-side only, open source under the Mozilla Public License 2.0, and covers 1.21 – 1.21.1. WhiteCommand is server-side only, released under the MIT License without being open source, and targets 1.21.11 alone, the same version as CommandKick's latest build.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| CommandKick | Fabric | 1.21.1 – 1.21.11 | Server-side only | 2026-06-28 |
| Command Dumper | Fabric and Quilt | 1.21 – 1.21.4 | Client-side only | 2025-02-10 |
| Command on Interval | Fabric | 1.21 – 1.21.1 | Server-side only | 2026-01-01 |
| WhiteCommand | Fabric | 1.21.11 | Server-side only | 2026-08-28 |
Questions
Does CommandKick need LuckPerms?
Do players need CommandKick installed?
Does a config change apply immediately?
In the catalog
CommandKick is one of 5,392 Social mods on ModsFinder, and one of 4,084 Social mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from zzakdim
Similar mods
What the author says
Instead of fiddling with permissions,CommandKick takes a different approach: the commands stay fully visible and tab-completable, but the moment a player runs a blocked one, they're kicked with a custom message. Humorous, no? On first launch, CommandKick writes config/commandkick.json with defaults. Edit it and…
Official listing
- Modrinth page
- modrinth.com/mod/commandkick
- Owner
- zzakdim
- Published
- 2026-06-28
- Updated on Modrinth
- 2026-06-28
- Facts verified
- 2026-10-15
