Set up session template - Create joinable sessions with dedicated servers - (Unity module)
Create Session Template
A 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 the AccelByte Multiplayer Servers (AMS) dedicated servers you have configured in Dedicated servers with AMS.
- AGS Shared Cloud
- AGS Private Cloud
Log in to the AccelByte Gaming Services (AGS) Admin Portal and go to your game namespace dashboard.
Go to Multiplayer > Matchmaking > Session Configuration. On the Session Template tab, click Add Session Template.
Fill out the new window with the configurations below for the Elimination game mode.
- Session Template Name: the unique name to identify your Session Template. Set it to unity-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 named Requested Regions. Add all of your enabled AMS regions by clicking on the Add Region button.
On Fallback Claim Keys, add a new claim key by clicking Add Key, ensuring that it matches a claim key you configured on your AMS fleet. If you followed Byte Wars up to this point, you need to add unity-ds-ams as the claim key.
Click Next until you arrive at the Summary tab where you can review your Session Template configurations. Then, click Create.
Repeat these steps to create a new Session Template for Team Deathmatch by using the configuration below.
- Session Template Name: set it to unity-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 unity-ds-ams claim key.
Log in to the AccelByte Gaming Services (AGS) Admin Portal and go to your game namespace dashboard.
Go to Multiplayer > Matchmaking > Session Configuration. On the Session Template tab, click Add Session Template.
Fill out the new window with the configurations below for the Elimination game mode.
- Session Template Name: the unique name to identify your Session Template. Set it to unity-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 named Requested Regions. Add all of your enabled AMS regions by clicking on the Add Region button.
On Fallback Claim Keys, add a new claim key by clicking Add Key, ensuring that it matches a claim key you configured on your AMS fleet. If you followed Byte Wars up to this point, you need to add unity-ds-ams as the claim key.
Click Next until you arrive at the Summary tab where you can review your Session Template configurations. Then, click Create.
Repeat these steps to create a new Session Template for Team Deathmatch by using the configuration below.
- Session Template Name: set it to unity-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 unity-ds-ams claim key.