Add More Players

Open WBP_CreateGame
Content > BasicMultiplayer > Widgets

create_game_widget.webp

Open the event graph and modify the values for MaxPlayers and MinPlayers

max_players.webp

You can set the number of players allowed to join sessions by adjusting these values

Add More Maps

Open D_Maps
Content > BasicMultiplayer > Datatables

datatables.webp

Add a new row to the datatable at the top of the list

new_map_row.webp

Fill in all the sections of the new row

map_information.webp

MapName will be displayed to players in the lobby
MapTexture will be displayed to players in the lobby
ServerTravel will be used when a server travel occurs (it must match the level name in the Maps folder)

Steam Integration

Locate your project's DefaultEngine.ini file
The file path should look similar to this

config_folder.webp

Copy and paste these lines into your DefaultEngine.ini

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

; If using Sessions
; bInitServerOnClient=true

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"

Installing Advanced Sessions

Download the Advanced Sessions plugin from vreue4.com - Advanced Sessions Library
Create a new Plugins folder in your project’s directory

PluginsFolder.webp

Move the downloaded files into the Plugins folder

in_folder.webp

Testing Steam

Open your project and confirm the plugins are successfully installed

PluginsEnabled.webp

Launch the game as a Standalone Game to test Steam integration

standalone_game.webp


Create Steam Sessions

Ensure that Advanced Sessions is installed first

Find the WBP_CreateGame
Content > BasicMultiplayer > Widgets > WBP_CreateGame

create_game_widget.webp

Find the Create Session blueprint node

create_sessions.webp

Replace the Create Session node with Create Advanced Session and reconnect the lines

advanced_sessions.webp


Find Steam Sessions

Ensure that Advanced Sessions is installed first

Open the WBP_Matches
Content > BasicMultiplayer > Widgets > WBP_Matches

matches_widget.webp

Locate the Find Sessions blueprint node

sessions_node.webp

Replace the Find Sessions node with Find Sessions Advanced and reconnect the lines to the new node

sessions_advanced_node.webp