How to programmatically set the Unity EOS Configuration "Is Server" during automated builds?

Hi there, I have a build pipeline that needs to set this property and save changes in the EOS config. How do I achieve this? Thanks!

I figured it out. But do I need to like install special server modules now? Or set up a “server module build”? I’m only familiar with the “client module build”. I don’t know if I need to do anything special in the EOS portal.

For context, my game uses my own networking solution, and has dedicated servers.

PlatformConfig platformConfig = PlatformManager.GetPlatformConfig();
platformConfig.isServer = isServer;
platformConfig.Write();

On the Epic Online Services side, you will likely want to create a separate client policy and set of client credentials for the server.

With this new policy, ensure that “User Required” is not selected. Your server will not be required to call EOS_Connect_Login before accessing other APIs.

Additionally, this allows you to enable different permissions for the server, that you would not want to grant to the player’s game client (e.g., managing users other than the logged in user).

For more information, please see the documentation: https://dev.epicgames.com/docs/dev-portal/client-credentials