CurseForge · Minecraft mod
DisableCommand
Disable any command via config file or in‑game gamerule – with multilingual feedback. Lightweight.
Quick answer
Which DisableCommand release matches 1.21.6 NeoForge?
disablecommand-1.0.jar targets 1.21.2-Snapshot, 1.21.6-snapshot, 1.21.1-Snapshot with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is DisableCommand required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does disablecommand-1.0.jar need?
disablecommand-1.0.jar on 1.21.6 NeoForge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add DisableCommand without breaking your instance.
Built for disablecommand-1.0.jar on 1.21.6 NeoForge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use disablecommand-1.0.jar. It targets 1.21.2-Snapshot, 1.21.6-snapshot, 1.21.1-Snapshot with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside disablecommand-1.0.jar. It opens that exact file at the source.
About this project
What does DisableCommand add?
Disable Command is a lightweight NeoForge mod that lets server administrators block any command (or command prefix) on their server – without restarting and without client mods.
🔧 Features
- Configurable ban list – specify commands in
config/disablecommand-common.toml(e.g.,["tp::s", "gamemode creative::e", "kill::e"]). - In‑game toggle – use the gamerule
/gamerule disableCommandEnabled falseto temporarily disable the blocker (useful for maintenance or troubleshooting). - Server‑side only – install it on your NeoForge server; clients don’t need anything.
🎮 Usage
- Place the mod in your server’s
modsfolder. - Start the server – it will generate the config file.
- Edit
config/disablecommand-common.toml: ```toml [commands] disabledCommands = ["tp::s", "gamemode creative::e", "kill::e"] (Optional) Reload or restart – changes apply immediately.
In game, run /gamerule disableCommandEnabled true to enable blocking, or false to disable it temporarily.
⚙️ Configuration The config file contains:
disabledCommands – list of command strings (without the /). Uses prefix matching, so "gamemode" blocks /gamemode creative as well.
📦 Compatibility Minecraft 1.21.1 – NeoForge 21.11.44 or later.
Works in single‑player (integrated server) and dedicated servers.
No dependencies.
Project description from CurseForge.
Pick your setup
DisableCommand by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.11
1 loader build1.21.10
1 loader build1.21.9-snapshot
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6-snapshot
1 loader build1.21.6
1 loader build1.21.5-Snapshot
1 loader build1.21.5
1 loader build1.21.4-Snapshot
1 loader buildShowing the newest 12 of 18 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
DisableCommand versions and loaders
disablecommand-1.0.jar
19 Jul 2026
Looking for an older file? The official CurseForge project page is in Resources.