Simple Multi Player
A mod that enables multiplayer functionality in White Knuckle.Multi Discord Server: 256 characters are not enough to explain how to use it. See github page for details.
About this mod Machine translation
White Knuckle Multi Player Mod - White Knuckle Online MOD
Chinese | English
Overview
This is a Unity MOD for the game White Knuckle, implementing basic networked player mapping (currently only maps grabbable player capsules).
Important Disclaimer:
- I am not a Unity/C# developer by profession.
- Some code in this project is AI-generated.
- Consequently, the quality of much of the code is likely very poor. Please use with caution.
- The online multiplayer functionality code is forked from a previous online mod project.
Known Issues:
- Chaotic object lifecycle management, which may lead to unexpected behavior.
Potential Future Goals:
graph RL
%% Module 2: Player Interaction
subgraph Player Interaction
2b[Item Grabbing/Stealing]
2c[Add New Items]
end
%% Module 3: Data Synchronization
subgraph Data Synchronization
3e[Sync Entity Data]
end
Completed Goals:
- Player position sync
- Player map sync – map remains the same after disk resurrection (please make good use of disk resurrection). Shortcut map sync is also supported (unstable, needs refactoring).
- Player vs. Player (PvP) and configurable PvP damage
- Players drop items upon death
- UI-based multiplayer lobby
- Player team grouping
- Climbable object sync (pitons, rebars, etc.)
- Scene item pickup sync
- Player-dropped item sync
- Death sync
- Entity data sync (semi-finished, needs further work)
Installation
Prerequisites
- Game: White Knuckle
- Framework: BepInEx (Use a version compatible with your game version)
Installation Steps
Download the required.zip file from the Releases page, then extract it into the BepInEx/plugins folder in your game directory.
MOD Features Details
Multiplayer Functionality
1.8.1
All new commands:
Player Customization:
- playername – Set an additional display name.
- playercolor / – Set the player's color.
- Example: playercolor white – Set to white using a preset. playercolor 255 255 255 – Set to white using RGB values.
- playermodel – Change the remote player model. Currently supports default and slugcat.
- Example: playermodel slugcat
Lobby Management:
- host [visibility] [max_players] – Create a lobby. For visibility options, see the lobbytype command.
- Example: host abcde host aaa friends 3
- join – Join a lobby by lobby name or lobby code. The parameter is first matched against lobby names. If multiple lobbies share the same name, joining by name will fail; please use the lobby code instead.
- Example: join abcde join 109775241951624817
- leave – Leave the current lobby.
- lobbyid – Get the lobby code and copy it to the clipboard.
- lobbylist – Get information about all available lobbies, including lobby codes and current player counts.
- lobbytype [public|private|friends] – Host only. Change lobby visibility. public = anyone can join, private = joinable only via lobby code, friends = visible and joinable only by friends.
- Example: lobbytype friends
- lobbyname – Host only. Change the lobby name.
- Example: lobbyname newname
- hostset – Host only. Transfer host privileges.
- Example: hostset 16422 or hostset 22 (for target Steam ID 561198279116422)
Other Commands:
- allplayer – Get the distance, position, and Steam ID of all connected players.
- talk – Speak in chat (text appears above your head and in the console). Chinese characters may require a font patch.
- Example: talk hello talk I have the high ground
- subtitletalk – Display a message via subtitles.
- Example: subtitletalk hello subtitletalk You underestimate my power
- invite – Invite a friend to join the lobby. (Thanks to Fugel for the code.)
- tpto – Requires cheats. Teleport to another player. Supports autocompletion.
- Example: tpto 16422 or tpto 22 (for target Steam ID 561198279116422)
check [steamId (full match)]n – Check other players for: backpack items inventory, perks perk, stamina stamina, health health, cheat mode cheats.
- Example: check inventory 561198279116422
Rule Controls:
- allowcheats [true|false] – Host only. Con
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.