Command Control

添加了临时禁用命令的功能。

资源图片
![](https://raw.githubusercontent.com/Philippcmd/CommandControl/refs/heads/master/icon.png "Banner") # CommandControl ![Modrinth Downloads](https://img.shields.io/modrinth/dt/yiuRHPEw?style=flat-square&label=Downloads&labelColor=0080FF&color=800080) ![Modrinth Followers](https://img.shields.io/modrinth/followers/yiuRHPEw?style=flat-square&label=Followers&labelColor=0080FF&color=800080) ![Modrinth Version](https://img.shields.io/modrinth/v/yiuRHPEw?style=flat-square&label=Project%20Version&labelColor=0080ff&color=800080) ![Modrinth Game Versions](https://img.shields.io/modrinth/game-versions/yiuRHPEw?style=flat-square&label=Minecraft%20Versions&labelColor=0080ff&color=800080) ## 描述 CommandControl 是一个 Minecraft 服务器实用插件,它允许操作员通过禁用和稍后重新激活特定命令来控制命令的使用。 ## 如何使用 要禁用命令,只需键入 /deactivate-command <命令>,要稍后重新激活它,键入 /reactivate-command <命令>。 > 重要提示:如果您键入命令名称,则必须删除 /. 键入 /deactivate-command msg,而不是 /msg 禁用的命令在服务器关闭一次后存储在 `config.yml` 中。
config.yml 示例 ```yml deactivatedCommands: - msg ```