You are viewing a potentially older version of this package. View all versions.
Renil-MoreCriminal_MaxPlayers-1.1.1 icon

MoreCriminal MaxPlayers

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

By Renil
Date uploaded 3 months ago
Version 1.1.1
Download link Renil-MoreCriminal_MaxPlayers-1.1.1.zip
Downloads 755
Dependency string Renil-MoreCriminal_MaxPlayers-1.1.1

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.

CHANGELOG

Changelog

1.1.1

  • Rewrote the mod around the actual host room-cap path instead of the old broad patch set.
  • Override the online host room size created from MainMenu.PlayOnline().
  • Override the Steam lobby member limit created by the host.
  • Sync Steam lobby playerCount and maxPlayers metadata.
  • Wrap lobby spawn index updates so players beyond the original spawn count overlap more evenly instead of piling onto the last slot.
  • Removed unused legacy patch logic and the unused PhotonRealtime project reference.