Setup
Last updated
The documentation is still being completed. You can use this guide to set up your project. If you need help, join the Discord.
Enabling the Plugin
Download the plugin through the Epic Games Launcher and install it on an engine version. Once the plugin is installed, go to Edit -> Plugins, and under the "NextLevelPlugins" section, you should be able to see Advanced Steam Party. Please make sure that the plugin is enabled.
Also enable OnlineSubsystemSteam.
Configure DefaultEngine.ini
ini
[/Script/Engine.Engine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
+NetDriverDefinitions=(DefName="BeaconNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")
[/Script/OnlineSubsystemUtils.OnlineBeaconHost]
ListenPort=7787
BeaconConnectionInitialTimeout=120.0
BeaconConnectionTimeout=120.0
[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=120000
MaxInternetClientRate=120000
InitialConnectTimeout=120.0
ConnectionTimeout=120.0
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
bInitServerOnClient=true
GameServerQueryPort=27015
bRelaunchInSteam=false
bAllowP2PPacketRelay=true
P2PConnectionTimeout=120.0
[OnlineSubsystem]
DefaultPlatformService=SteamEnable voice chat
To enable voice chat, add the following configuration to DefaultEngine.ini.
ini
[OnlineSubsystem]
bHasVoiceEnabled=true
[Voice]
bEnabled=true
[/Script/Engine.GameSession]
bRequiresPushToTalk=false
[Audio]
UseAudioThread=trueWe have custom project settings to verify if Steam is enabled before allowing clients to play your game.
Open the project settings window, then scroll down to the NLP Lobby System, which is usually located near the bottom.