Wiki 9Minecraft Wiki 9Minecraft

Setting Up ForgedLoaderAPI for Multiplayer Clients and Servers

When setting up a Forge multiplayer server or joining a friend's world through LAN, keeping library dependencies aligned between players and the host prevents connection errors and crashes.

Where to Install the Library

ForgedLoaderAPI operates as a shared background library for both Forge clients and Forge servers. Because it supports mods that were ported from Fabric to Forge, its placement depends on the mods that call upon it:

1. On the Server: If the server runs any gameplay, world-generation, or utility mod that requires ForgedLoaderAPI, the library must be placed in the server's mods folder. Without it, the server will fail to start.

2. On the Client: Players connecting to that server will also need ForgedLoaderAPI in their local mods folder whenever they have those same dependent mods installed.

Troubleshooting Connection Mismatches

If you cannot join a Forge server or your server refuses to finish booting:

1. Compare the mods folder on your client with the mods folder on the server.

2. Ensure ForgedLoaderAPI is present on both sides wherever its dependent mods are installed.

3. Restart the client or server so Forge can register the library during initial startup.