MoSadie-SlipChat icon

SlipChat

Local HTTP server to send in-game announcements

Last updated 2 weeks ago
Total downloads 156
Total rating 0 
Categories Mods
Dependency string MoSadie-SlipChat-1.0.1
Dependants 0 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
MoSadie-MoCore-2.0.2 icon
MoSadie-MoCore

Common plugin across MoSadie's plugins

Preferred version: 2.0.2

README

SlipChat

Trigger the in-game custom order feature via a local API

Listens for an HTTP request and, after validating the message and other checks, sends a custom order to your crew!

Send a GET request to http://localhost:8001/sendchat?message=Hello%20World to trigger an announcement of "Hello World" in-game.

In addition to raw HTTP requests, there is also a Stream Deck Plugin to make custom orders. You can download it from the Elgato Marketplace or use the manual download button. Inside the zip should be a file ending in .streamDeckPlugin you can use to install the plugin. The default settings should work, just need to add a message.

Current requirements to send a custom order:

  • Must be Captain or First Mate of the ship.
  • Must be at the Helm station.

In addition, you can use special $variables to automatically replace these with values from in-game:

Crew Variables:

  • $captain: The display name of the Captain
  • $randomCrew[id]: A random crew member's name, replace [id] to keep it consistent in the message (ex $randomCrew1)
  • $crew[id]: The crew member with that numeric id, replace [id] with a number (ex $crew0)

Fight Variables:

(These will be blank if no fight is occurring)

  • $enemyName: The name of the enemy ship
  • $enemyIntel: The intel of the enemy ship
  • $enemyInvaders: The invaders from the enemy ship
  • $enemyThreat: The threat level of the enemy ship
  • $enemySpeed: The speed of the enemy ship
  • $enemyCargo: The cargo of the enemy ship

Run Variables:

  • $campaignName: The name of the campaign (ex Pluto)
  • $sectorName: The name of the sector (ex Pluto Outskirts)

Misc Variables:

  • $version: The version of MoCore (for debugging purposes, no real purpose)