Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
RoR2ItemSync
Syncs your inventory, stats, and world state over WebSocket for stream overlays and companion apps.
By turnert
| Last updated | 2 weeks ago |
| Total downloads | 672 |
| Total rating | 1 |
| Categories | Mods Tools Items AI Generated |
| Dependency string | turnert-RoR2ItemSync-1.1.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2113README
RoR2ItemSync
A Risk of Rain 2 mod that broadcasts your run data over WebSocket, enabling stream overlays and companion apps to display your game state in real time.
What it syncs
- Multiplayer - data for all players in the lobby, selectable by companion apps
- Inventory - all items and equipment with names, counts, and tiers
- Player stats - health, damage, attack speed, crit, move speed, armor, regen, shield, level
- World state - remaining chests, shops, equipment barrels, printers, ground items, command essences
- Run info - survivor name, stage number, stage name, difficulty, active artifacts
How it works
The mod runs a WebSocket server on port 11420. Any client on the local network can connect to receive JSON updates roughly once per second. The mod also broadcasts a UDP discovery beacon on port 11421 so companion apps can find the server automatically.
For overlay/app developers
Connect to ws://<host-ip>:11420/ to receive messages:
inventory_update
Sent every second while a run is active. Contains the full game state snapshot.
run_ended
Sent when the run ends (death, victory, or quit).
request_challenges (client → server)
Sent by a client to request the current challenge/achievement list. Send this on connect (or whenever the client wants a refresh) — the server does not push challenges automatically.
{ "type": "request_challenges" }
challenges (server → requesting client)
Reply to request_challenges. Sent only to the requesting session, not broadcast.
{
"type": "challenges",
"challenges": [
{ "id": "...", "name": "...", "description": "...", "unlocked": true }
]
}
Auto-discovery
The mod sends a UDP multicast/broadcast beacon every 2 seconds:
ROR2SYNC:<ip>:<port>:<version>
It also responds to DISCOVER UDP packets on port 11421.
Requirements
Both are installed automatically when using r2modman or Thunderstore Mod Manager.
Installation
- Install via r2modman or Thunderstore Mod Manager (recommended), or
- Manually place
RoR2ItemSync.dllin yourBepInEx/pluginsfolder (ensure the requirements above are installed)
Configuration
No configuration needed. The mod runs automatically when the game starts.