lukecripwalker-ModMenu icon

ModMenu

Press F6 for one menu with every action from our mods: spawn the pirate token or a safe, switch the Pirate Shop, play the popup. Cheats are host only.

Last updated 2 hours ago
Total downloads 15
Total rating 0 
Categories AI Generated BepInEx Client-side Server-side Mods
Dependency string lukecripwalker-ModMenu-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305

README

Mod Menu

Press F6 in game for one menu with the actions our mods add, in place of their old F-keys. There's one tab per mod, plus Favourites and a search box.

  • Host only cheats. Spawning and switching the Pirate Shop work only for the host. Other players see those rows greyed out ("host only"). When the host uses one, a grey chat line tells the crew.
  • Mouse and keys. Click a row, or use Up/Down, Left/Right for tabs and Enter. Type to search. Click the star to pin a row to Favourites. F6 or Esc closes it. The game doesn't pause, but you stand still while it's open.
  • Rebind F6 in Settings › Controls (with LethalCompany InputUtils installed), or in the config.

What's in it

Tab Rows
Pirate Token Spawn pirate token (host), Pirate Shop on/off (host), Play token popup
Heavy Scrap Spawn safe (host)
Shockwave Spawn grenade (host), Spawn test enemy: Coil-head / Hoarding bug / Masked / Forest Keeper (host)
Lamplighter Spawn Lamplighter (host), Stun all (host), Log state (host)
Rocky Unlock Rocky free (host), Interact, Spawn Coil-head (host)
Headlamp Spawn headlamp (host), Headlamp on/off
Vault Placement overlay on/off (when Testing › DebugOverlay is on)
Third Person Third person on/off

Only mods that support it show up, and only if they're installed. Every one of them still works without the menu.

Config

BepInEx/config/daniel.lethalcompany.modmenu.cfg:

  • Cheats › Enabled (on). Turn it off to hide the cheat rows.
  • Cheats › Announce (on). Controls the chat line.
  • Keys › Open key (<Keyboard>/f6, used without InputUtils).
  • Saved favourites and the last tab.

For mod authors

Add a soft dependency on daniel.lethalcompany.modmenu. Then, from a [MethodImpl(NoInlining)] method you call only when Chainloader.PluginInfos has it:

MenuApi.Button("My Mod", "Spawn thing", () => Spawn() ? "spawned a thing" : null, host: true, cheat: true);
MenuApi.Toggle("My Mod", "Overlay", () => overlay, on => { overlay = on; return on ? "overlay on" : "overlay off"; });
MenuApi.Choice("My Mod", "Spawn enemy", new[] { "Coil-head", "Masked" }, i => SpawnEnemy(i));