PostChat

v1.0.0·Updated 2023-12-11

Client-side mod that sends outgoing chat to localhost:5000 with a POST request body contents being the message (idk why anyone would use this;-;)

About this mod Author’s original text

PostChat

sends ingame chat to a webserver. perfect for TTS and other external things.

note you will have to provide your own assembly-CSharp and CoreModule when compiling

if you go to the github at

there is a python script I use personally

setup on linux

  • install this mod (probally via r2modman)
  • make a venv with gTTS, pygame, and flask
  • run server.py
  • run setup.py
  • launch lethal company.
  • set microphone to the pyloop monitor

if it worked when you join the lobby you should hear "(username) has joined the ship"

setup on windows

  • follow the linux steps up to run server.py
  • find a program of your choice that allows you to loop audio back into microphone (idk I use linux)
  • launch lethal company
  • set microphone

What if I want to change the voice.

well you can just modify server.py and the arguments to speakMessage.>

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

File & checksum

Filename
PostChat-1.0.0.zip
File size
76.9 KiB