メインコンテンツまでスキップ

ゲームセッションを設定する - 専用サーバーを使用した参加可能なセッション - (Unreal Engine モジュール)

Last updated on June 5, 2024

Create Session Template

note

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 AMS dedicated servers you have configured from Module: Running dedicated server on AccelByte Multiplayer Servers.

  1. Log in to the AGS Admin Portal and go to your game namespace dashboard.

  2. From the side bar menu, select Multiplayer > Matchmaking > Session Configurations. Then, locate the Session Template tab and click the Add Session Template button.

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

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

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

  7. 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.
  8. Congratulations! You have successfully configured new Session Templates.

References

Session: Configuring session templates