Keep NPCs working in multiplayer and saves
Follow these rules so Personnel NPCs spawn, sync and save correctly.
You need: an NPC pack. See Make an NPC pack.
- Install the same packs on every player’s machine. This is the same rule as for mods.
- Spawn NPCs on the host. The host spawns the NPC as a FishNet network object. Clients receive it like any S1API NPC.
- Keep ids stable. S1API saves NPCs through the game save system, and the definition id is the identity. Never change an id after release. See Pack format.
- Use custom PNG layers only with the pack on every client. The game syncs layers as resource-path strings, not texture bytes. Each client registers the texture from its own copy of the pack.
Check it works
Section titled “Check it works”- A player without the pack sees the NPC without the custom art. No desync and no crash.
- After save and load, Personnel registers the texture again from the pack at startup.
- If you remove the pack, the layer disappears from the look without an error.
Appearance-only mods
Section titled “Appearance-only mods”BuildAvatarSettings and ApplyAppearance write plain vanilla AvatarSettings onto an avatar. Your mod’s own system decides whether that look syncs or saves. Personnel adds no networking.