Online co-op for Crawlspace 2. Play through the game with friends using Steam networking. Supports up to 10 players.
- Steam lobby system with world-space VR UI panel
- Host, invite friends, join via friends list, or paste a lobby code
- Real-time player sync (head, hands, body position)
- Proximity voice chat (Steam Voice)
- Puzzle sync with per-player batteries
- Monster sync (Henry, Harold, Clown, Paintings)
- Ghost spectator mode on death
- Lobby modifiers for team exit charging, individual Henry entities, and Gauntlet
- Public game mode API for BepInEx add-ons to register host-selected multiplayer modes
- Gauntlet session unlocks are temporary and do not overwrite campaign saves
- Minimap indicators for all players (distinct colors)
- Night progression saves for all players
- Host migration if the host disconnects
- Install BepInEx 5
- Drop mod files into
BepInEx/plugins/Crawlspace2MP/andBepInEx/patchers/Crawlspace2MP/ - Launch through Steam
- Both players must complete Night 0 (tutorial) solo before multiplayer works
All players need the same mod version.
Third-party BepInEx plugins can register session modes through the public API in Crawlspace2MP.dll. The host selects a mode from the session rules panel. Every connected player must have a matching mode ID and protocol version; incompatible modes cannot be selected, and a late joiner without the selected mode returns the lobby to Standard.
- A BepInEx plugin with a dependency on
com.crawlspace2.multiplayer. - Every player must install compatible versions of the game mode plugin. The host can select a custom mode only when all connected players have the same mode ID and
ProtocolVersion. - Reference
Crawlspace2MP.dllwhen building the add-on. Do not include another copy of it in the add-on package. ProtocolVersionidentifies the mode's network rules and message format. Change it when a new mode build cannot safely communicate with older builds. The API version is available asGameModeAPI.ApiVersion.
using BepInEx;
using Crawlspace2MP;
[BepInPlugin("example.crawlspace.lastalive", "Last Alive Mode", "1.0.0")]
[BepInDependency("com.crawlspace2.multiplayer")]
public sealed class LastAlivePlugin : BaseUnityPlugin
{
private void Awake()
{
if (!GameModeAPI.Register(new LastAliveMode()))
Logger.LogError("Could not register Last Alive Mode");
}
}
public sealed class LastAliveMode : GameModeBase
{
public override string Id => "example.lastalive";
public override string ProtocolVersion => "1";
public override string DisplayName => "LAST ALIVE";
public override string Description => "A short explanation shown in the session rules panel.";
public override void OnEnabled(GameModeContext context)
{
if (context.IsHost) context.SetStatus("Last Alive mode enabled");
}
public override void OnPlayerDeath(GameModeContext context, int peerId, bool localPlayer, int deathType)
{
// The host should decide shared outcomes.
if (context.IsHost)
context.SetStatus("A player died");
}
}GameModeBase provides empty callback implementations, so a mode only needs to override the callbacks it uses. A mode can be selected from the session rules panel or by the host calling GameModeAPI.SelectMode("example.lastalive").
OnEnabled/OnDisabled: the selected session mode changed.OnUpdate: called each Unity frame while the multiplayer manager is active. Keep the work brief and never block the game thread.OnSceneChanged: receives the previous and current scene names.OnPlayerDeath: receives the peer ID (-1for the local player), whether the local player died, and the game's death type.OnNightCompleted: receives the completed night number.OnMessage: receives the sender peer ID, whether the message is a client request, and its payload.
GameModeContext provides host and connection status, player count, and the active scene. Clients can send a request with SendRequestToHost(byte[]); the host must validate every request before acting on it. The host can send authoritative state with Broadcast(byte[]). Messages are reliable and limited to 4,096 bytes. Requests go only to the host; broadcasts go to other peers. The API does not validate requests or relay them automatically.
The built-in Gauntlet remains part of Crawlspace2MP because it coordinates campaign-save protection, unlocks, deaths, and synchronized returns to Home. It uses the same session mode selector as custom modes.
Config file: BepInEx/config/com.crawlspace2.multiplayer.cfg
- VerboseLogging - Enable detailed logs for bug reports (default: off)
Discord: https://discord.com/invite/BDZ6NjegeR
Enable VerboseLogging in the config, reproduce the issue, and share BepInEx/LogOutput.log when reporting bugs.