-
Notifications
You must be signed in to change notification settings - Fork 21
Autoupdate
It'll use the provided update check method to see if the server is outdated, if it is it'll simply close the server. At this point a watchdog script should take over and update and later bring the server up again.
Note: This currently only works if your game is shipped on Steam (UpToDateCheck API Call).
To start your dedicated server with autoupdate support pass -autoupdate
to the command-line.
To use this feature you'll have to setup your Steam AppID in Config/*Engine.ini
and set the desired version:
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=<Steam AppID>
; valid version types: string( "1.0.0.0" ) or int( ex. build number )
GameVersion=1.0.0.0
Next you need to go to the Steamworks partner page and setup the Dedicated Server section ( Select your app -> Edit Steamworks Settings
-> Application dropdown
-> Dedicated Servers
-> Dedicated Game Servers Information
-> Latest version
) to include the same string or int as GameVersion above.
Note: Make sure to update those version values whenever you want gameservers using Autoupdate to restart ( ex. a network protocol change or a engine upgrade )