DontUseCommand
designed to prevent players from using command events by modifying the configuration file.
介绍
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)”.
常见问题
DontUseCommand 支持哪些 Minecraft 版本?
DontUseCommand 支持 Minecraft Java 版 1.13–1.21.1,共 36 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
DontUseCommand 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
canyuesama 的其他作品
查看全部 →Ex Meteor Shower
A mod randomly generates meteor showers during night in your worlds.
OpenLink
为您带来更便捷的Frpc使用体验!Bring you a unique Minecraft Multiplayer playing experience OvO
StarRailExpress Library Mod
A lib of StarRailExpress with commands, development libs and resources
StarRailExpress – Wathe Addon
This is a vast addon of HarpyExpress (Wathe)
评论
登录后评论和评分