Example Project
The demo project shipped with Simple Steam Session is fully playable and covers every major feature. The examples below walk through each scenario so you understand exactly what's happening under the hood.
Example 1 — Hosting a Public Session
A player opens the game and creates a public lobby that anyone can find and join.
Open the Main Menu
The player launches the game and lands on the main menu.
Fill in the session details
The host clicks Create Session, fills in a session name, selects a game mode and a map from the dropdown lists (pulled from the Game Instance), and sets the max player count.
Create the session
The host confirms. The session is created via Advanced Sessions and registered on Steam. The host is moved to the lobby map while waiting for players.
Players find and join
Other players open Find Sessions, see the lobby appear in the list, and click Join. They are seamlessly transported to the same lobby map.
Example 2 — Hosting a Private Match with Password
A group of friends wants to play together without randoms joining.
Create a locked session
The host opens Create Session, fills in the session details, and toggles the Password field — entering a shared password known to the group.
Friends find the session
The friends open Find Sessions. The lobby appears in the list with a lock icon indicating it is password-protected.
Enter the password
When a friend clicks Join, a password prompt appears. They enter the correct password and connect normally.
Wrong password
If the password is incorrect, the join is rejected and an error message is displayed. The session remains protected.
Summary
| Scenario | Key feature used |
|---|---|
| Public lobby | Session creation + Advanced Sessions Steam |
| Private match | Password protection on session creation |
| Skin selection | Material swap replicated to all clients |
| Graphic settings | Console commands via in-game settings panel |
| Map travel | Server travel on session start |