red_eye-LethalAutocomplete icon

LethalAutocomplete

Autocomplete terminal commands + history

Last updated 3 months ago
Total downloads 145448
Total rating 19 
Categories Mods Misc BepInEx Client-side
Dependency string red_eye-LethalAutocomplete-0.4.5
Dependants 226 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
NotAtomicBomb-TerminalApi-1.4.0 icon
NotAtomicBomb-TerminalApi

A Terminal Api

Preferred version: 1.4.0
Rune580-LethalCompany_InputUtils-0.4.2 icon
Rune580-LethalCompany_InputUtils

Utilities for creating InputActions and having them be accessible in game

Preferred version: 0.4.2

README

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:

https://github.com/IlyaChichkov/LethalAutocompleteMod/issues

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

https://github.com/IlyaChichkov/LethalAutocompleteMod