Requirements
- EOSCore:: v1.8.0+
- Unreal Engine 4.25+
- A working Unreal Engine Dedicated Server
DefaultEngine.ini
Since Dedicated Servers don’t need to use Relay Servers, we have to disable the EOS NetDriver, simply removing the declarations here will disable using the EOS NetDriver.
[Core.Log]
Online=Verbose
OnlineSession=Verbose
OnlineGame=Verbose
LogEOSCoreSubsystem=Verbose
LogEOSCore=Verbose
[OnlineSubsystem]
DefaultPlatformService=EOS
Launching Dedicated Server
We’ll use Commandline arguments to authenticate and launch our server, the example below will authenticate our server using a local DeviceID, this is the minimum authentication required to communicate with Epic Online Services. The –EOSConfig= is optional, for example if you’re using a different configuration for your Server.
D:\WindowsServer\EOS_DedicatedServer.exe -server -log -AUTH_TYPE=deviceid -AUTH_LOGIN=test -AUTH_TOKEN=test -EOSConfig=ServerConfig
Listing our Server
You can use the default Session nodes to list a Dedicated Server. We’ll use the GameInstance in this example.
This will List your dedicated server as a joinable session.