HomeJavaModsMCDR-Command-Suggestion
MCDR-Command-Suggestion
ModsJava

MCDR-Command-Suggestion

by PairZhu · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 26.2⬇ Download for 26.1–26.1.2⬇ Download for 1.21–1.21.11⬇ Download for 1.20–1.20.6⬇ Download for 1.19–1.19.4⬇ Download for 1.18–1.18.2⬇ Download for 1.17–1.17.1⬇ Download for 1.16–1.16.5⬇ Download for 1.15.2
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
MCDR-Command-Suggestion — screenshot 1

🚀 McdrCmdSuggest

preview

✨ A More Elegant MCDR Command Completion

This mod requires the use of the CommandSuggest plugin.

McdrCmdSuggest is a Fabric mod that provides a more elegant command completion experience for MCDReforged. By registering MCDR commands on the Minecraft server and sending them to the client, players can enjoy a native command completion experience.

🛠️ Features

📦 Installation

  1. Download the latest version of McdrCmdSuggest from Modrinth or GitHub Releases.
  2. Place the downloaded jar file into the mods folder of your Minecraft server.
  3. Install the corresponding MCDR plugin on the server.
  4. Restart the server.

📝 Usage

Enter existing MCDR commands in the standard Minecraft command format starting with /, then use the Tab key in-game for command completion. For example, /!!help, /!!MCDR xxx (no need to configure other plugins or modify plugin code).

🔍 Comparison with Other Mods

Compared to other MCDR command completion mods, McdrCmdSuggest offers the following advantages:

🧩 Technical Details

McdrCmdSuggest implements command completion as follows:

  1. Registers a special command __mcdrcmdsuggest_register to receive command registration information from the server.
  2. Dynamically registers Minecraft commands based on the received information.
  3. If a command includes argument suggestions (suggests), a suggests method is added to query the corresponding MCDR plugin for suggestions (uses HTTP by default, only local communication between server and MCDR, no need to expose ports). Client suggestions are transmitted via Minecraft's native protocol.

🤝 Contributing

Issues and feature requests are welcome!

🙏 Acknowledgements

📄 Statement

This mod heavily references the code and implementation of ZhuRuoLing/MCDRCommandCompletionReforged-Mod and AnzhiZhang/MCDRCommandFabric. Without their work, this mod would not have been possible.

✨ 更优雅的MCDR命令补全实现

需要配合CommandSuggest插件使用。

McdrCmdSuggest是一个Fabric模组,为MCDReforged提供更优雅的命令补全功能。通过在Minecraft服务端中注册MCDR命令并发送到客户端,使玩家可以获得原生的命令补全体验。

🛠️ 特性

📦 安装

  1. ModrinthGitHub Releases下载最新版本的McdrCmdSuggest
  2. 将下载的jar文件放入Minecraft服务端的mods文件夹中
  3. 在服务器端安装对应的MCDR插件
  4. 重启服务器

📝 使用方法

将原有的MCDR命令以/开头的Minecraft标准命令形式输入,然后在游戏中使用Tab键进行命令补全即可。例如/!!help, /!!MCDR xxx(无需配置其它插件或修改插件代码)。

🔍 与其他模组的比较

与其他MCDR命令补全模组相比,McdrCmdSuggest提供了以下优势:

🧩 技术细节

McdrCmdSuggest通过以下方式实现命令补全:

  1. 注册一个特殊的命令__mcdrcmdsuggest_register,用于接收服务器发送的命令注册信息
  2. 根据接收到的信息,动态注册Minecraft命令
  3. 如果命令包含参数建议(suggests),则将为其添加suggests方法,向配套的MCDR插件查询建议结果(默认使用http,仅服务端和MCDR进行本地通讯,无需暴露端口),客户端的建议由Minecraft自带的通讯协议传输

🤝 贡献

欢迎提交问题报告和功能请求!

🙏 致谢

📄 声明

本模组大量参考了 ZhuRuoLing/MCDRCommandCompletionReforged-ModAnzhiZhang/MCDRCommandFabric 的代码和实现。没有他们的工作,这个模组不可能实现。

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more