-
Notifications
You must be signed in to change notification settings - Fork 2
Settings
Important
If you're using v1.x of Smart Completion, some of these settings won't be available.
Furthermore, the names of some settings were slightly different.
You may want to read Smart Completion Settings (v1) instead.
Note
If you're playing on a Minecraft version prior to 1.20.3, you may need to edit these options by creating a resource pack,
as the /smartcompletion command is not supported in earlier versions.
These settings define which features of Smart Completion are enabled.
Tip
Resource packs may define these options under a smart-completion/settings.json file.
User config for these settings is managed by the /smartcompletion command under the config/smart-completion/settings.json file.
This file supports 15 boolean entries and 1 integer entry.
Boolean entries:
-
enabledEnable or disable the entire mod (default:true) -
enable_completion_keysEnable completion keys, such as<Ctrl>+<Space>and<Enter>(These keys may conflict with other mods that provide features to the chat screen) (default:true) -
enable_completion_with_enterAccept the current selection when pressing<Enter>on a command that's known to be incomplete (default:true)
Tip
There are some commands for which only the server knows whether they're complete, such as most WorldEdit commands.
What determines when a command is known to be incomplete is whether your text appears in red in the command bar or not.
-
enforce_show_suggestions_on_slashDisplay suggestions as soon as you open the command prompt (This can be annoying, as it gets in the way of using the command history) (default:false) -
erase_remainder_on_ctrl_spaceWhether to delete input after cursor when accepting a suggestion with<Ctrl>+<Space>(default:true) (sincev2.1.0) -
erase_remainder_on_enterWhether to delete input after cursor when accepting a suggestion with<Enter>(default:false) (sincev2.1.0) -
erase_remainder_on_tabWhether to delete input after cursor when accepting a suggestion with<Tab>(default:false) (sincev2.1.0) -
erase_remainder_on_left_clickWhether to delete input after cursor when accepting a suggestion by left-clicking a suggestion in the list (default:false) (sincev2.1.0) -
erase_remainder_on_right_clickWhether to delete input after cursor when accepting a suggestion by right-clicking a suggestion in the list (default:false) (sincev2.1.0) -
erase_remainder_on_middle_clickWhether to delete input after cursor when accepting a suggestion by middle-clicking a suggestion in the list (default:true) (sincev2.1.0) -
enable_suggestion_highlightingHighlight suggestions to display how your query matched them (This requires replacing the rendering logic of the suggestion list, and may conflict with other mods that do the same) (default:true) -
invert_suggestion_orderDisplay suggestions bottom up, so that the best suggestion is displayed the closest to the command bar and where your eyes are looking (does not affect the GUI for Command Blocks) (default:true) -
include_smart_matchesInclude suggestions whose initials match the letters of your query (default:true) -
include_weak_matchesInclude suggestions that contain your query anywhere (default:true) -
include_unexpected_suggestionsInclude unexpected suggestions from the server that were not known at the point you started typing the last argument (default:true)
Tip
Unexpected suggestions include the [ or { characters in entity selectors or item stack arguments that the server suggests after you've typed
a correct base selector/id.
Integer entries
-
minimum_weak_match_lengthMinimum length for queries to report back weak matches (default:2)
Additionally, a replace boolean key may be defined if you wish to replace all settings defined by
resource packs with lower priority, rather than override just a few.
Note
Unknown entries are tolerated and ignored for forwards compatibility.
The default settings.json file looks as follows:
{
"replace": false,
"enabled": true,
"enable_completion_keys": true,
"enable_completion_with_enter": true,
"enforce_show_suggestions_on_slash": false,
"erase_remainder_on_ctrl_space": true,
"erase_remainder_on_enter": false,
"erase_remainder_on_tab": false,
"erase_remainder_on_left_click": false,
"erase_remainder_on_right_click": false,
"erase_remainder_on_middle_click": true,
"enable_suggestion_highlighting": true,
"invert_suggestion_order": true,
"include_smart_matches": true,
"include_weak_matches": true,
"minimum_weak_match_length": 2,
"include_unexpected_suggestions": true
}If you have any doubts, feel free to drop by the official Discord Server.