All Mods Resource Packs Data Packs Shaders Modpacks Plugins
DontUseCommand

DontUseCommand

by canyuesama • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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)".

How to Install DontUseCommand (Mod)

DontUseCommand by canyuesama is verified for Forge across Minecraft versions 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4 (latest release: 1.0.1, file size: 6 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4) and platform (Forge).
  2. Make sure you have the compatible loader or environment installed for Forge.
  3. Move the downloaded DontUseCommand file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x 1.19.x 1.18.x +1
Forge
last yr. 1
1.21.x 1.20.x 1.19.x +3
Forge
last yr. 1
1.21.x 1.20.x 1.19.x +6
Forge
last yr. 1
1.20.x 1.19.x 1.18.2
Forge
last yr. 1
This version has the use of prohibited commands for chat bar display and /reload functionality
Change config manger
Added some supported versions
There will be no prompts for commands that are prohibited in this version
Change config manger
Added some supported versions
his version does not use the prohibited command chat bar display and/reload function
Change config manger
Added some supported versions
DontUseCommand Icon
Download DontUseCommand
Select game version
Select platform