On a server, GTNH's Forgelin works the same way it does in single player. It is only there so that Kotlin-built mods can load. The key question is where those dependent mods are installed.
Match it to the mods that need it
1. List your Kotlin-built mods. Note which mods in your server's setup ask for Forgelin.
2. Find out where each one runs. Check whether each dependent mod is installed on the server, on players' clients, or on both.
3. Put Forgelin alongside them. Wherever a mod that needs Forgelin is installed, the library must also be installed. If the dependent mod is on both the server and the clients, put Forgelin in both mods folders.
4. Restart. Restart the server and reconnect. You do not need to edit any config files on either side.
Troubleshooting a multiplayer setup
- The server won't start. If the server log mentions Forgelin or Kotlin, the library is missing from the server's mods folder.
- A player can't load into the game. If one player's game fails with a Forgelin or Kotlin error but others connect fine, that player's client is missing the library while their client-side mods still need it.
- Pack distribution. If you hand players a modpack, include Forgelin in it whenever a client-side mod in the pack depends on it. That way no one has to hunt for it separately.
Since it adds no blocks, items or mobs, having it installed does not affect world data or gameplay.