LethalAutocomplete

v0.4.5·Updated 2024-02-26

Autocomplete terminal commands + history

About this mod Author’s original text

Lethal Autocomplete

This mod adds to the game ability to quickly print terminal commands. Also it allows to look through commands history.

Tab - autocomplete (click again to print other results), use Esc to exit terminal

Up Arrow - previous command

Down Arrow - next command

Keybinds are editable in the plugin configuration file.

Issues and suggestions

Any bug reports or feature requests are accepted in the Issues section of the github page:

Autocomplete weights

By default plugin sets weights for all available commands to value 10. The higher the value, the higher the priority of

issuing the command. Release archive contains preset of weights for autocomplete, so you don't have to set all by yourself.

Commands that are in commands blacklist or with weight equal to 0 won't be suggested for autocomplete.

{

"Words": [

{

"Word": "Buy",

"Weight": 10

},

{

"Word": "ProFlashlight",

"Weight": 10

},

{

"Word": "Confirm",

"Weight": 10

}

]

}

History blacklist allows filter commands that you don't want to save in history.

{

"CommandsBlacklist": ["IgnoreMe"],

"HistoryBlacklist": ["DontSave"]

}

Change Log

[0.4.5]

  • Fix null blacklist loading

[0.4.4]

  • Fix insertion of commands from other mods

[0.4.3]

  • Update readme file

[0.4.2]

  • Added commands and history blacklist

[0.4.1]

  • Make save path in config file optional and use user's local path by default

[0.4.0]

  • Added autocomplete for commands containing several words, such as: buy, route, info, view.
  • Added count option autocomplete for buy command

[0.3.0]

  • Added weights to commands for more precise autocomplete which can be edited in config file
  • Commands history saving
  • Small fixes

[0.2.1]

  • Non critical errors handling

[0.2.0]

  • Added plugin config file with keys binding

[0.1.0]

  • Added autocomplete on Left Shift button
  • Added commands history look through Arrow Up/Down buttons

Source

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackNotAtomicBomb-TerminalApiRune580-LethalCompany_InputUtils

File & checksum

Filename
LethalAutocomplete-0.4.5.zip
File size
72.7 KiB