Home›Java›Mods›CommandKick
CommandKick
ModsJava

CommandKick

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by zzakdim · on Modrinth

Kicks players who run blocked commands, instead of removing the commands from the tree. Server-side, configurable, Fabric + Kotlin.

⬇ Download on Modrinth
CommandKick — screenshot 1

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

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

  1. Install Fabric Loader and Fabric API.
  2. Install Fabric Language Kotlin.
  3. Drop CommandKick into your server's mods folder.
  4. 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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more