Because typing is too much effort

📖 About
Provides better suggestions to complete commands, matching your text against the initials of the words of each option.
Supports modded and custom commands from datapacks or server plugins, and is client only (not required in the server).
⌨ Keyboard Shortcuts
This mod also lets you accept suggestions with Ctrl + Space and Enter, besides the Tab key used by Minecraft. Using Enter to accept suggestions is only possible when the currently written command is known to be invalid, otherwise it just executes the current command.
Using Ctrl + Space additionally writes the next space for you (it's not a bug, it's a feature, trust me, it's not because I'm too lazy to suppress the space key from being consumed as a character too).
✨ How does it work?
This mod sends two requests for suggestions to the server (when necessary), one with your partially typed text (informed) and one without it (blind). It then works under the assumption that the server will reply with all possible suggetions to the blind request, and does its own filtering and sorting of the suggestions.
If there are any suggestions in the informed list from the server that were not matched by the mod from the blind list, they're also shown in a different color, so it can support complex commands that provide their own smart suggestions.
The mod uses two different approaches to match suggestions based on your partially typed text:
- It tries to match your letters to the initial letters of each word within the suggestion
- Otherwise, it tries to find all the words you've typed in order anywhere within the suggestion
The mod understands words in any of the following formats:
- separated by spaces
- camelCase
- snake_case
- kebab-case
- dot.delimiters
- colon:delimiters
- any other change between letter characters and non-letter characters (such as numbers)
In addition, if a suggestion cannot be split by any of the above means, it will be assumed as written in flatcase, like most Minecraft commands (/gamerule).
This mod attempts to break down flatcase using a list of known words, which can be overridden by resource packs. By default, it supports the words used by Minecraft, Fabric, Forge and WorldEdit commands.
📋 How are suggestions sorted?
Suggestions are sorted according to the following criteria:
- Matches of word initials are shown before fallback matches, so you can always select a suggestion by typing its initials
- Matches with more initials are shown first (doInsomnia > disableRaids)
- Matches where some initials could've matched more than one word are shown first (doDaylightCycle > doWeatherCycle)
- Suggestions with less words are shown first (doInsomnia > doImmediateRespawn)
- Matches closer to the start of the suggestion are shown first (gamemode > defaultgamemode)
- Shorter suggestions are shown first (tp > tell)
Otherwise, the suggestions are shown in the original order provided by the server.
❓ Help
This mod has a wiki, which you may check out.
Also, if you're having any trouble, or maybe just want to say hello, feel free to drop by our Discord Server.
🤝 Support this project
If you want to support this project, share it with your friends!