
DontUseCommand
designed to prevent players from using command events by modifying the configuration file.
Обновлён 11 августа 2024 г. · опубликован 25 декабря 2023 г.
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)".
Версии
| Версия | Канал | Игра | Загрузчики | Дата | Скачать |
|---|---|---|---|---|---|
| 1.0.1 | Бета | 1.19.3, 1.19.4, 1.20, 1.20.1 | forge | 11 августа 2024 г. | .jar (6 КБ) |
| 1.0.1 | Бета | 1.20.5, 1.20.6, 1.21, 1.21.1 | forge | 11 августа 2024 г. | .jar (6 КБ) |
| 1.0.1 | Бета | 1.20.5, 1.20.6, 1.21, 1.21.1 | forge | 11 августа 2024 г. | .jar (6 КБ) |
| 1.0.0 | Альфа | 1.19.3, 1.19.4, 1.20, 1.20.1 | forge | 25 декабря 2023 г. | .jar (9 КБ) |
Ченджлог
1.0.1Бета1.19.4, 1.20, 1.20.1 · 11 августа 2024 г.
This version has the use of prohibited commands for chat bar display and /reload functionality Change config manger Added some supported versions
1.0.1Бета1.20.6, 1.21, 1.21.1 · 11 августа 2024 г.
There will be no prompts for commands that are prohibited in this version Change config manger Added some supported versions
1.0.1Бета1.20.6, 1.21, 1.21.1 · 11 августа 2024 г.
his version does not use the prohibited command chat bar display and/reload function Change config manger Added some supported versions
Полная история изменений — на Modrinth.
Комментарии
Загружаем…