
需要库模组 Collective (Fabric) 以及 Fabric API。
本模组是 The Vanilla Experience 整合包的一部分。
Compact Help Command 是一款修复游戏内 /help 命令无法按预期工作的模组。在未安装此模组时,输出结果是一长串全白文本且未按字母顺序排序。当用户安装了更多模组后尝试使用该命令时,列表长度甚至可能超过可显示的最大文本量,导致信息丢失。
安装此模组后,冗长的命令列表会被排序并分页显示。通过 /help <页码> 可以浏览所有命令,同时借助不同的文本颜色使阅读更加轻松。这些颜色以及每页显示的命令数量均可在配置文件中修改。示例图片见下方。
可配置项: (如何配置?)
addVerticalBarSpacing (默认值 = true):启用后,会在子命令中的竖线前后添加空格。
amountCommandsPerPage (默认值 = 8,最小值 1,最大值 50):玩家使用 /vote 命令时将发送的消息。(注:原文此处描述有误,实际应指每页显示的命令数量)
以下配置行中可用的颜色代码值为:0: 黑色, 1: 深蓝色, 2: 深绿色, 3: 深青色, 4: 深红色, 5: 深紫色, 6: 金色, 7: 灰色, 8: 暗灰色, 9: 蓝色, 10: 绿色, 11: 青色, 12: 红色, 13: 浅紫色, 14: 黄色, 15: 白色。
commandColour (默认值 = 2,最小值 0,最大值 15):/help 命令中命令本身的颜色。
subcommandColour (默认值 = 7,最小值 0,最大值 15):/help 命令中子命令的颜色。
示例
安装此模组前存在问题的 /help 命令效果:
该模组将 /help 命令更改为:



------------------
您可以自由在任何整合包中使用此模组,只要下载仍托管在 CurseForge 生态系统中即可。
Serilum.com 提供了所有可用模组的概览及更多信息。
评论功能已禁用,因为我无法追踪每个模组单独页面上的所有内容。
如有问题、想法、建议或其他任何内容,请访问 Github 仓库。谢谢!

Requires the library mod Collective (Fabric) and the Fabric API.
This mod is part of The Vanilla Experience.
Compact Help Command is a mod which fixes the issue of the in-game /help command not doing what it's supposed to do. Without the mod, the output is a long list of all white text and not sorted alphabetically. When users try to use the command with more mods installed, the list might even be longer than the maximum amount of text which can be shown. The result is loss of information.
With the mod, the long list of commands is sorted and split into pages. Via /help <page> you can go through all commands, which are also more easily readable via different text colours. Those colours and the amount of commands shown per page can be changed in the config. See below for example images.
Configurable: ( how do I configure? )
addVerticalBarSpacing (default = true): When enabled, adds a space in front and behind a vertical bar in the subcommands.
amountCommandsPerPage (default = 8, min 1, max 50): The message which will be sent to players when they use the /vote command.
The possible colour code values in the next config lines are; 0: black, 1: dark_blue, 2: dark_green, 3: dark_aqua, 4: dark_red, 5: dark_purple, 6: gold, 7: gray, 8: dark_gray, 9: blue, 10: green, 11: aqua, 12: red, 13: light_purple, 14: yellow, 15: white.
commandColour (default = 2, min 0, max 15): The colour of the command in /help.
subcommandColour (default = 7, min 0, max 15): The colour of the subcommand in /help.
Examples
The problematic /help command before the mod:

What the mod changes the /help command in to:



------------------
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧