Set up game session - Joinable sessions with dedicated servers - (Unreal Engine module)
Create Session Template
From other tutorial modules, you may already have created the Session Templates with the exact configurations covered in this tutorial section. You can skip this section if you have already created them.
Session Template is a configuration template that defines your game session. In this section, you will learn how to create a Session Template for the Elimination and Team Deathmatch game modes using AccelByte Multiplayer Servers (AMS) dedicated servers you have configured from Module: Running dedicated server on AccelByte Multiplayer Servers.
Log in to the AccelByte Gaming Services (AGS) Admin Portal and go to your game namespace dashboard.
From the side bar menu, select Multiplayer > Matchmaking > Session Configuration. Then, locate the Session Template tab and click the Add Session Template button.
On the new window, you need to fill in your Session Template configuration. Use the configuration below to create a new Session Template for the Elimination game mode.
- Session Template Name: the unique name to identify your Session Template. Set it to unreal-elimination-ds-ams.
- Min Players: the minimum number of players required in the session. Set it to 1.
- Max Players: the maximum number of players in the session. Set it to 4.
- Joinability: the joinability of the session. Set it to Open.
- Server: the session connection type. Set it to DS - AMS.
When the DS - AMS connection type is selected, you can find a new configuration namely Requested Regions. Add all of your enabled AMS regions by clicking on the Add Region button.
Then, on the Fallback Claim Keys, add a new claim key that match with the claim keys you have configured on your AMS fleet. In tutorial case, you need to add unreal-ds-ams claim key. To add new claim keys, click on the Add Key button.
Next, click on the Next button at the bottom right corner until you arrived at the Summary tab where you can review your Session Template configurations. Then, click on the the Create button at the bottom right corner to create your Session Template.
Now, repeat the steps mentioned above to create a new Session Template for the Team Deathmatch game mode by using the configuration below.
- Session Template Name: set it to unreal-teamdeathmatch-ds-ams.
- Min Players: set it to 1.
- Max Players: set it to 8.
- Joinability: set it to Open.
- Server: set it to DS - AMS.
- Requested Regions: add all of your enabled AMS regions.
- Fallback Claim Keys: add unreal-ds-ams claim key.
Congratulations! You have successfully configured new Session Templates.