Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
๐ McdrCmdSuggest

โจ 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
- โก Native command completion: Registers MCDR commands as native Minecraft commands, allowing silent execution of MCDR commands.
- ๐ก Supports argument suggestion completion (the
suggestsmethod in MCDR plugins). - ๐ฅ๏ธ Pure server-side mod: No client installation required, compatible with vanilla clients.
- ๐ก๏ธ No mixin dependency: Easier to maintain across multiple versions.
- โ๏ธ Fully automatic default configuration: Works out of the box without manual setup.
๐ฆ Installation
- Download the latest version of McdrCmdSuggest from Modrinth or GitHub Releases.
- Place the downloaded jar file into the
modsfolder of your Minecraft server. - Install the corresponding MCDR plugin on the server.
- 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:
- More elegant implementation: Directly utilizes Minecraft's native command system for a smoother user experience.
- More comprehensive features: Supports argument suggestion completion, suitable for more complex command structures.
- Better compatibility: MCDR commands can be completed even if they don't start with "!" or "!!", compatible with more plugins.
- Fewer dependencies: No mixin dependency, reducing potential maintenance costs, and no client mod required.
๐งฉ Technical Details
McdrCmdSuggest implements command completion as follows:
- Registers a special command
__mcdrcmdsuggest_registerto receive command registration information from the server. - Dynamically registers Minecraft commands based on the received information.
- 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
- MCDReforged - Powerful Minecraft server management framework.
- ZhuRuoLing/MCDRCommandCompletionReforged-Mod - Provided reference implementation.
- AnzhiZhang/MCDRCommandFabric - Provided reference implementation.
๐ 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ๅฝไปคๅนถๅ้ๅฐๅฎขๆท็ซฏ๏ผไฝฟ็ฉๅฎถๅฏไปฅ่ทๅพๅ็็ๅฝไปค่กฅๅ
จไฝ้ชใ
๐ ๏ธ ็นๆง
- โก ๅ็ๅฝไปค่กฅๅ จไฝ้ช๏ผๅฐMCDRๅฝไปคๆณจๅไธบMinecraftๅ็ๅฝไปค๏ผๅ ่ฎธ้้ปๅ้MCDRๅฝไปค
- ๐ก ๆฏๆๅๆฐๅปบ่ฎฎ่กฅๅ จ๏ผMCDRๆไปถไธญ็suggestsๆนๆณ๏ผ
- ๐ฅ๏ธ ็บฏๆๅก็ซฏMod๏ผๅฎขๆท็ซฏๆ ้ๅฎ่ฃ ๏ผๆฏๆๅ็ๅฎขๆท็ซฏ
- ๐ก๏ธ ไธไพ่ตmixins๏ผๆดๆไบ็ปดๆคๅค็ๆฌ
- โ๏ธ ้ป่ฎค้ ็ฝฎๅ จ่ชๅจ๏ผๆ ้ๆๅจ้ ็ฝฎไนๅฏๅผ็ฎฑๅณ็จ
๐ฆ ๅฎ่ฃ
- ไปModrinthๆGitHub Releasesไธ่ฝฝๆๆฐ็ๆฌ็McdrCmdSuggest
- ๅฐไธ่ฝฝ็jarๆไปถๆพๅ ฅMinecraftๆๅก็ซฏ็modsๆไปถๅคนไธญ
- ๅจๆๅกๅจ็ซฏๅฎ่ฃ ๅฏนๅบ็MCDRๆไปถ
- ้ๅฏๆๅกๅจ
๐ ไฝฟ็จๆนๆณ
ๅฐๅๆ็MCDRๅฝไปคไปฅ/ๅผๅคด็Minecraftๆ ๅๅฝไปคๅฝขๅผ่พๅ
ฅ๏ผ็ถๅๅจๆธธๆไธญไฝฟ็จTab้ฎ่ฟ่กๅฝไปค่กฅๅ
จๅณๅฏใไพๅฆ/!!help, /!!MCDR xxx๏ผๆ ้้
็ฝฎๅ
ถๅฎๆไปถๆไฟฎๆนๆไปถไปฃ็ ๏ผใ
๐ ไธๅ ถไปๆจก็ป็ๆฏ่พ
ไธๅ ถไปMCDRๅฝไปค่กฅๅ จๆจก็ป็ธๆฏ๏ผMcdrCmdSuggestๆไพไบไปฅไธไผๅฟ๏ผ
- ๆดไผ้ ็ๅฎ็ฐ๏ผ็ดๆฅๅฉ็จMinecraftๅ็็ๅฝไปค็ณป็ป๏ผๆไพๆดๆต็ ็็จๆทไฝ้ช
- ๆดๅ จ้ข็ๅ่ฝ๏ผๆฏๆๅๆฐๅปบ่ฎฎ่กฅๅ จ๏ผ้ๅบๆดๅคๅคๆ็ๅฝไปค็ปๆ
- ๆดๅฅฝ็ๅ ผๅฎนๆง๏ผMCDRๅฝไปคไธไปฅ"!"ๆ"!!"ๅผๅคดไนๅฏ่กฅๅ จ๏ผๅ ผๅฎนๆดๅค็ๆไปถ
- ๆดๅฐ็ไพ่ต้กน๏ผไธไพ่ตmixins๏ผๅๅฐๆฝๅจ็็ปดๆคๆๆฌ๏ผๆ ้ๅฎขๆท็ซฏMod
๐งฉ ๆๆฏ็ป่
McdrCmdSuggest้่ฟไปฅไธๆนๅผๅฎ็ฐๅฝไปค่กฅๅ จ๏ผ
- ๆณจๅไธไธช็นๆฎ็ๅฝไปค
__mcdrcmdsuggest_register๏ผ็จไบๆฅๆถๆๅกๅจๅ้็ๅฝไปคๆณจๅไฟกๆฏ - ๆ นๆฎๆฅๆถๅฐ็ไฟกๆฏ๏ผๅจๆๆณจๅMinecraftๅฝไปค
- ๅฆๆๅฝไปคๅ ๅซๅๆฐๅปบ่ฎฎ๏ผsuggests๏ผ๏ผๅๅฐไธบๅ ถๆทปๅ suggestsๆนๆณ๏ผๅ้ ๅฅ็MCDRๆไปถๆฅ่ฏขๅปบ่ฎฎ็ปๆ๏ผ้ป่ฎคไฝฟ็จhttp๏ผไป ๆๅก็ซฏๅMCDR่ฟ่กๆฌๅฐ้่ฎฏ๏ผๆ ้ๆด้ฒ็ซฏๅฃ๏ผ๏ผๅฎขๆท็ซฏ็ๅปบ่ฎฎ็ฑMinecraft่ชๅธฆ็้่ฎฏๅ่ฎฎไผ ่พ
๐ค ่ดก็ฎ
ๆฌข่ฟๆไบค้ฎ้ขๆฅๅๅๅ่ฝ่ฏทๆฑ๏ผ
๐ ่ด่ฐข
- MCDReforged - ๅผบๅคง็Minecraftๆๅกๅจ็ฎก็ๆกๆถ
- ZhuRuoLing/MCDRCommandCompletionReforged-Mod - ๆไพไบๅ่ๅฎ็ฐ
- AnzhiZhang/MCDRCommandFabric - ๆไพไบๅ่ๅฎ็ฐ
๐ ๅฃฐๆ
ๆฌๆจก็ปๅคง้ๅ่ไบ ZhuRuoLing/MCDRCommandCompletionReforged-Mod ๅ AnzhiZhang/MCDRCommandFabric ็ไปฃ็ ๅๅฎ็ฐใๆฒกๆไปไปฌ็ๅทฅไฝ๏ผ่ฟไธชๆจก็ปไธๅฏ่ฝๅฎ็ฐใ



