当前命令注册表集中在一文件中
/commanddump 命令读取服务器当前的活跃注册表,并生成一份清晰的 YAML 概览。其中包含普通名称、别名以及命名空间变体(如 minecraft:give),并按插件或命名空间进行分组。
主要功能
- 转储实际运行服务器上已注册的命令。
- 包含别名和命名空间变体。
- 条目按插件或命名空间分组,并按字母顺序排序。
- 在插件数据文件夹中生成单个
command_dump.yml 输出文件。
- 默认仅对服务器操作员开放的管理员权限限制。
典型用途
- 安装或移除插件后快速盘点命令清单。
- 查找别名、命名空间变体以及潜在的命名冲突。
- 作为文档来源,或用于后续管理规则的配置。
一条命令,一览无余
管理员执行 /commanddump 后,插件会在 plugins/Mcast-CommandDump/command_dump.yml 创建或替换该文件。转储内容反映的是执行命令时的注册表状态,因此在更改已安装的插件集后可以轻松重复执行。
刻意聚焦的输出结果
Mcast-CommandDump 仅写入已注册命令的名称、别名及命名空间变体。它不包含描述、使用语法或各个第三方命令的权限信息。
技术信息
- Paper 1.21.4+ 与 Minecraft 1.21.x
- Java 21
- 服务端插件,无需客户端模组或其他依赖
- 命令:
/commanddump
- 权限:
mcast.commanddump.admin(默认对服务器操作员可用)
- 插件版本:1.0.1
The current command registry in one file
The /commanddump command reads the server’s active registry and creates a clear YAML overview. It includes ordinary names, aliases, and namespaced variants, grouped by plugin or namespace.
Main features
A dump of the commands actually registered on the running server.
Aliases and namespaced variants such as minecraft:give are included.
Entries are grouped by plugin or namespace and sorted alphabetically.
A single command_dump.yml output file in the plugin data folder.
An administrator permission restricted to server operators by default.
Typical uses
A quick command inventory after installing or removing plugins.
Finding aliases, namespaced variants, and possible naming conflicts.
A source for documentation or subsequent administration-rule setup.
One command, one overview
An administrator runs /commanddump, and the plugin creates or replaces plugins/Mcast-CommandDump/command_dump.yml. The dump reflects the registry at the time the command is run, so it can be repeated easily after changing the installed plugin set.
A deliberately focused output
Mcast-CommandDump writes the names of registered commands, aliases, and namespaced variants. It does not include descriptions, usage syntax, or the permissions of individual third-party commands.
Technical information
Paper 1.21.4+ and Minecraft 1.21.x.
Java 21.
Server-side plugin with no client mod or additional dependencies required.
Command /commanddump.
Permission mcast.commanddump.admin, available to server operators by default.
Plugin version 1.0.1.
评论 0
登录后参与评分
还没有评论,来抢沙发吧