LocalMultiplayerAgent(LMA) is a helper agent to facilitate faster development iterations by testing or running your game server on your local machine. Without any cloud connection, LMA can provide mock responses to the Game server SDK(GSDK) and test your game servers as it's running on PlayFab Multiplayer Servers(MPS).
Here are some examples you can do with LocalMultiplayerAgent:
- Verify GSDK integration with your game servers.
- Test connection to your game servers
- Run a diagnosis on your game servers: Logs and config files generated on each game session
- Verify build configuration
Game Server integrated with GSDK.
GSDK facilitates two-way communication between your game server process and the MPS service. To learn how to integrate game servers with GSDK, see this article. The tutorial uses the Wrapper sample on GitHub. The Wrapper sample includes a fake game and GSDK. To download the sample, see PlayFab Wrapper Sample.
LocalMultiplayerAgent (LMA) toolset.
Download the latest release and extract it to the desired folder. (such as C:\PlayFabVmAgent)
[Optional] Install Docker Desktop on Windows.
LMA can debug Linux/Windows container game servers using Docker for Windows. You can skip this part if you want to run your game server as a process (run executable game server) instead of a container.
Run LocalMultiplayerAgent in Process Mode
In Process mode, LMA will run an executable game server and directly communicate with it without the need to set up Docker.
Container knowledge isn't required - you don't need to create any program that runs in a container.
Run LocalMultiplayerAgent in Container Mode
In Container mode, LMA will run and test a game server running in a [Windows/Linux]container.