DontUseCommand

DontUseCommand

designed to prevent players from using command events by modifying the configuration file.

by
6.2K Downloads
forgeutility
Rent Server with this Mod

About this Mod

Introduction

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 of the player's game mode, and even server OP players cannot use them. However, if installed on a server, disabled commands can still be used through the command console.

Theoretically, it supports versions 1.13.x to 1.21.x. NeoForge is not supported

Usage

After entering the game, a file called "DUC.txt" will be automatically generated in the config folder, as shown in the image below:

Write down the command you want to disable in the file, which can be multiple commands without adding "/". For example:

tp

summon minecraft:zombie

gamemode creative

Tip: Line breaks are sufficient for each instruction, and sub instructions can be added, such as "gamemode creative", which will not disable other sub instructions such as "gamemode survival"

Restart your client or server, or use the/reload command to take effect.

Additional Information

If you have a large server, you can use LuckPerms instead. This mod is not suitable for server use. If you do not want to individually disable commands, you can use the "No Cheat" mod, which allows disabling all commands.

ModPack authors can change the mod's display name to "[Dependency]xxx (Do Not Delete)".

Available Versions

DUC V1.0.1 1.17.x-1.20.xbeta
MC 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge
August 11, 2024
DUC V1.0.1 1.16.x-1.21.x NoTipsbeta
MC 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1forge
August 11, 2024
DontUseCommand V1.0.1 1.13x-1.21.x NoReloadAndTipsbeta
MC 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1forge
August 11, 2024
dontusecommant 1.0.0alpha
MC 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1forge
December 25, 2023

How to Install DontUseCommand on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "DontUseCommand". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.21.1, 1.21, 1.20.6 (+33 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

DontUseCommand server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is DontUseCommand compatible with forge?

DontUseCommand officially supports forge for Minecraft 1.21.1, 1.21, 1.20.6. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with DontUseCommand – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if DontUseCommand consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install DontUseCommand with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Academic Free License v3.0
Server-side
Required

Supported Versions

1.21.11.211.20.61.20.51.20.41.20.31.20.21.20.11.201.19.4+26 more