跳到正文

No Tab Commands

作者:Khaimolop

Blocks command autocompletion and execution by default, allowing only configured commands.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

No Tab Commands

No Tab Commands is a Fabric mod that prevents command autocompletion for players without operator permissions, while still allowing administrators to grant access to specific commands through a simple JSON configuration. The mod is split into separate client and server versions.

What can you do?

  • Hide command autocompletion from non-operator players.
  • Allow operators to use normal command suggestions.
  • Grant access to specific commands for all players or selected commands through the server configuration.
  • Manage the allowed commands directly in-game with a command.
  • Reload the configuration without restarting the server.

Commands that are not included in the allowed list cannot be executed and will not appear in command autocompletion for non-operator players.

Server commands

Administrators can manage the allowed command list using:

| Command | Description |
|———|————-|
| /cmd add <command> | Adds a command to the allowed list |
| /cmd remove <command> | Removes a command from the allowed list |
| /cmd list | Shows all allowed commands |
| /cmd reload | Reloads the configuration |

Configuration path

The list of allowed commands is stored in:

config/notabcommands/config.json

Note: This JSON file is created automatically the first time the server starts.

Configuration example

{
  "allowed": [
    "help",
    "msg"
  ]
}

Note: After editing the file manually, use /cmd reload.

常见问题

No Tab Commands 支持哪些 Minecraft 版本?

No Tab Commands 支持 Minecraft Java 版 1.20.4–1.21.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

No Tab Commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Khaimolop 的其他作品

查看全部 →