CommandKick
Kicks players who run blocked commands, instead of removing the commands from the tree. Server-side, configurable, Fabric + Kotlin.
- Loaders
- Fabric
- Downloads on Modrinth
- 105
- Followers on Modrinth
- 0
- version
- 1
- Updated
- June 28, 2026Jun 28
- Published
- in 2026
At a glance
Install on the server only; players don't need it
CommandKick
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?
Features
- Leaves the command tree intact. Blocked commands still show up and tab-complete; only execution is intercepted.
- Console-safe. Server console, command blocks, datapack functions, and rcon run blocked commands normally. Only player-initiated runs are caught.
- Configurable. Edit a JSON file and restart — no rebuild needed.
- Custom kick message. Set whatever text players see when they get booted.
- Logging. Every kick records which player ran which command, in the server log.
- Lightweight. No LuckPerms or other permission-system dependency required.
Configuration
On first launch, CommandKick writes config/commandkick.json with defaults. Edit it and restart the server to apply — the command list is read once at startup, because Brigadier builds the command tree only at boot. (A /reload is not enough.)
{
"kickMessage": "command verboten.",
"blockedCommands": [
"tick",
"givepokemon",
"pokespawn"
]
}Each entry blocks that command and all of its subcommands — listing tick covers /tick freeze, /tick rate, and so on.
Installation
- Install Fabric Loader and Fabric API.
- Install Fabric Language Kotlin.
- Drop CommandKick into your server's
modsfolder. - Start the server once to generate the config, edit it, then restart.
Server-side only — no client installation needed.
Made with the help of Claude
FAQ
How to install CommandKick?
Install Fabric for your Minecraft version, download CommandKick for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does CommandKick support?
CommandKick has builds for Minecraft 1.21.1–1.21.11.
Is CommandKick needed on the server?
Server only — players don't need to install it