ModsFinder

DontUseCommand

by canyuesama

DontUseCommand is a Forge utility that blocks chosen commands for players, so a modpack author can lock down cheat-related commands.

ForgeClient and serverAFL-3.01.13 – 1.21.1

What it does

Commands listed in a configuration file named DUC.txt are disabled for players, regardless of their game mode. Server operators are also barred from them in-game, but commands typed into the server console still run. The file is generated in the config folder on first launch, and each line holds one command. Sub-instructions such as gamemode creative or gamemode survival can be listed to disable only part of a command.

The mod is intended for integrated packs where the author wants players unable to cheat. It is a small mod made of three Java files that handle the core events and block command execution. After editing the file, the client or server must be restarted, or the /reload command used, before the change takes effect. On a large server, the author notes that LuckPerms is the better choice for permissions. The mod is released under AFL-3.0 and is not open source. It is published for Forge and targets 1.13 – 1.21.1, with support for NeoForge noted by the author.

Key features

  1. Command blocking list

    Each disabled command is written on its own line in DUC.txt, with no need to add anything to the code.

  2. Sub-instruction control

    Individual parts of a command, such as a single game mode, can be disabled while the rest keeps working.

  3. Reload support

    Edits to the list take effect after a restart or the /reload command, without rebuilding the mod.

  4. Operator restriction

    Server operators cannot run the disabled commands in game, although console input is not affected.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.x2 of 2 versions with builds
1.21.11.0.1
1.211.0.1
1.20.x7 of 7 versions with builds
1.20.61.0.1
1.20.51.0.1
1.20.41.0.1
1.20.31.0.1
1.20.21.0.1
1.20.11.0.1
1.201.0.1
1.19.x5 of 5 versions with builds
1.19.41.0.1
1.19.31.0.1
1.19.21.0.1
1.19.11.0.1
1.191.0.1
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
1.13.x3 of 3 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Who it’s for: Modpack authors and server owners who want to restrict specific commands for players. Small servers without a permissions setup are the main fit.

How it compares

Full comparison

Fast commands is Forge-only for 1.20.1, released under All rights reserved and not open source, and it is client and server. LTcommands is Forge-only for 1.12.2 under the MIT License, also client and server and not open source. Patched is open source under the GNU Lesser General Public License v2.1 only, runs on Fabric, Forge, NeoForge and Quilt for 1.18.2 – 26.2, and is optional on either side. DontUseCommand targets a wider range of versions on Forge alone.

ModLoadersGame versionsEnvironmentUpdated
DontUseCommandForge1.13 – 1.21.1Client and server2024-08-11
Fast commandsForge1.20.1Client and server2025-09-01
LTcommandsForge1.12.2Client and server2026-02-26
PatchedFabric, Forge, NeoForge and Quilt1.18.2 – 26.2Client or server, optional2026-03-24

Questions

Does DontUseCommand need to be installed on the client too?

Installation covers the server and each player's game.

Do disabled commands still work from the server console?

Yes. The mod only blocks commands in game, and commands entered through the server console still run.

Does DontUseCommand work on NeoForge?

The author notes NeoForge support, but the published files are for Forge only, so a Forge build is required.

In the catalog

DontUseCommand is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 32,366 mods support Minecraft 1.21.1.

More from canyuesama

All projects

Similar mods

What the author says

This is a small mod consisting of just three Java files (core events) designed to prevent players from using command events by modifying the configuration file. It is intended for use by integrated pack authors who do not want players to cheat. Once this mod is installed, disabled commands cannot be used regardless…
canyuesama, on the Modrinth page

Official listing

Owner
canyuesama
Published
2023-12-25
Updated on Modrinth
2024-08-11
Facts verified
2026-10-15

Tags