When setting up a multiplayer world or dedicated server, knowing where to place library mods prevents connection errors. Hcapi includes built-in networking features that sync custom registry data between the server and connected game clients.
Where to Install the Mod
To ensure all custom data works properly without disconnects, you should install Hcapi on both the server and every player's client.
1. Place the mod inside the server's mods folder so the server can read datapack components and apply server-side default item components.
2. Have every joining player place the exact same mod in their local client mods folder.
3. Start the server and join from the client as normal.
Why Both Sides Need It
While the server handles setting up default item components and loading datapacks, Hcapi actively synchronizes custom registry data—such as component data attached to biomes, blocks, or entities—from the server to the game clients. If a server uses mods or datapacks that require client-side syncing through Hcapi and a player joins without it, the client will not be able to receive the synced registry data.