Renil-MoreCriminal_MaxPlayers icon

MoreCriminal MaxPlayers

Rewrites the host room cap for MoreCriminal and keeps Steam lobby size metadata in sync for larger lobbies.

By Renil
Last updated 3 hours ago
Total downloads 1
Total rating 0 
Categories Mods
Dependency string Renil-MoreCriminal_MaxPlayers-1.1.1
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

MoreCriminal Max Players

Installation

  1. Build the project or use the compiled MoreCriminal.MaxPlayers.dll.
  2. Put the DLL into BepInEx/plugins.
  3. Start the game once to generate BepInEx/config/morecriminal.maxplayers.cfg.
  4. Edit General.MaxPlayers to the room size you want.

What It Changes

  • Rewrites the host-side MainMenu.PlayOnline() room size from 4 to your configured value.
  • Rewrites the Steam CreateLobby member limit from 4 to your configured value.
  • Keeps Steam lobby metadata (playerCount / maxPlayers) in sync after the lobby is created.

Build

cd src
dotnet build -c Release

Notes

  • The config range is 1 to 32.
  • This mod now only patches the actual host room-cap path and Steam lobby sync path.