

A BepInEx plugin for synchronizing item spawns across clients in multiplayer games.
ItemSpawnSync.dll to BepInEx/plugins/After a first launch of the game with the mod installed, a configuration file will be create at: BepInEx\config\ItemSpawnSync.cfg
Files saved to: BepInEx/config/ItemSpawnSync/MapName_spawn_data_date_time.json
Default loaded file path: BepInEx/config/ItemSpawnSync/spawn_data.json
Spawn file exported to / imported from: BepInEx\config\ItemSpawnSync\LootData.json
See IntegrationExample.cs
{
"Spawners": [
{
"SpawnerTypeName": "Luggage",
"SpawnerInstanceID": 1,
"SpawnerPosition": {"x": 10, "y": 0, "z": 5},
"SpawnedItems": [
{
"SpawnSpotIndex": 0,
"ItemPrefabName": "Flashlight",
"Position": {"x": 10.1, "y": 0.5, "z": 5.2},
"Rotation": {"x": 0, "y": 0, "z": 0, "w": 1},
"PhotonViewID": 1001
}
]
}
]
}
MIT