You are viewing a potentially older version of this package. View all versions.
red_eye-LethalAutocomplete-0.4.3 icon

LethalAutocomplete

Autocomplete terminal commands + history

Date uploaded 4 months ago
Version 0.4.3
Download link red_eye-LethalAutocomplete-0.4.3.zip
Downloads 32375
Dependency string red_eye-LethalAutocomplete-0.4.3

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.


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.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

CHANGELOG

0.4.3

  • Update readme file

0.4.2

  • Add commands and history blacklists

0.4.1

  • Changed:
  • Made 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.
  • Count option autocomplete for buy command.

0.3.0

  • Added:
  • Weights to commands for more precise autocomplete, editable in the config file.
  • Commands history saving.
  • Fixed:
  • Small issues.

0.2.1

  • Non-critical errors handling.

0.2.0

  • Add plugin config file with keys binding.

0.1.0

  • Added:
  • Autocomplete on Left Shift button.
  • Commands history look through Arrow Up/Down buttons.