Skip to main content

Overview - Dedicated servers with AccelByte Multiplayer Servers (AMS) - (Unity module)

Last updated on December 19, 2024

Introduction

AccelByte Multiplayer Servers (AMS) is a dynamic dedicated server manager that enables you to deploy dedicated servers as close as possible to your players. It has dynamic configurations including server instance type, scaling behavior, and multiple different regions where you can spawn the dedicated server.

This module will show you how to use AMS to implement matches on dedicated servers into your game.

Prerequisites

In order to complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unity project repository.

  • An AMS account created and linked to your project.

  • To have force enabled this module. You can do this by adding the following code to the Assets/Resources/Modules/TutorialModuleConfig.json file:

    {
    "enableModulesOverride": true,
    "forceEnabledModules": ["MultiplayerDSEssentials"],
    "forceDisabledOtherModules" : true,
    }

Learning objectives

At the end of this module, you will know how to:

  • Set up a dedicated server that works with AMS.
  • Upload a dedicated server to AMS that will be spawned as cloud dedicated servers.

Preview

At the end of this module, your project will look like the image below:

DS with AMS preview Unity Byte Wars dedicated servers with AMS