Steam Integration Kit Plugin Configuration
You should follow SIK Documentation for installation and configuration, but I will provide a quick setup guide assuming you have it installed.
DefaultEngine.ini configuration
Add those lines to your's projects DefaultEngine.ini file (found in Config folder of your project).
5.6+ Engine Configs to add
[OnlineSubsystem]
DefaultPlatformService=Steam
[ConsoleVariables]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=SteamSockets.SteamSocketsNetConnection
[/Script/Engine.Engine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="/Script/GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="/Script/BeaconNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=1000000000
MaxInternetClientRate=1000000000
InitialConnectTimeout=120.0
[OnlineSubsystemSteam]
bEnabled=True
SteamDevAppId=480
SteamAppId=480
GameVersion=0.0.0.1
bRelaunchInSteam=False
GameServerPort=7777
P2PConnectionTimeout=120
Username=
Password=
BranchName=
ServerName=
ServerDescription=
ServerGameDir=
5.3 to 5.5 Engine Configs to add
[OnlineSubsystem]
DefaultPlatformService=Steam
[ConsoleVariables]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=SteamSockets.SteamSocketsNetConnection
[/Script/Engine.Engine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=1000000000
MaxInternetClientRate=1000000000
InitialConnectTimeout=120.0
[OnlineSubsystemSteam]
bEnabled=True
SteamDevAppId=480
SteamAppId=480
GameVersion=0.0.0.1
bRelaunchInSteam=False
GameServerPort=7777
P2PConnectionTimeout=120
Username=
Password=
BranchName=
ServerName=
ServerDescription=
ServerGameDir=
Change the 480 app ID to your Steam app ID, or keep it as is if you are still in the testing stages.
warning
The Steam Integration Kit is a standalone toolkit for implementing the Steamworks SDK. If you have any other Steam plugins enabled or configurations left in DefaultEngine.ini
, they may conflict with the SIK and prevent it from functioning correctly. Keep this in mind if your project is not blank and you have used other Steam plugins.