Skip to main content

Set up session template - Create joinable sessions with dedicated servers - (Unity module)

Last updated on June 11, 2024

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.

  1. Log in to the AccelByte Gaming Services (AGS) Admin Portal and go to your game namespace dashboard.

  2. Go to Multiplayer > Matchmaking > Session Configurations. On the Session Template tab, click Add Session Template.

  3. 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.
  4. 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.

  5. 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.

  6. Click Next until you arrive at the Summary tab where you can review your Session Template configurations. Then, click Create.

  7. 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.