Skip to content

emmayspark/MpsSamples

 
 

Repository files navigation

MpsSamples

This repository contains samples that show how to use Azure PlayFab Multiplayer Servers Gameserver SDK (GSDK) as well as additional resources.

Wrapping GSDK

You could try GSDK without modifying your game server (even though we don't recommend it for production deployments). This sample also contains a sample fake game server you can try in order to familiarize with the Multiplayer Servers service. You can find instructions here.

MpsAllocatorSample

This is a simple .NET Core console app that lets use easily see your MPS Builds/Game Servers/VMs plus allocate a game server (uses the RequestMultiplayerServer API call). More information here.

UnityMirror

Unity Server and Client sample that utilize the GameServer SDK.

More information here.

OpenArena

This sample wraps the open source OpenArena game using a .NET Core app and Linux containers.

More information here.

Debugging Docker containers

MPS service uses Docker containers to schedule game servers. You can see some advanced debugging/diagnosing instructions here.

Matchmake Sample

The Matchmake sample logs in a configurable number of clients and attempts to matchmake them together, following the steps described in the Single user ticket matchmaking sample.

WindowsRunnerCSharp

Simple executable that integrates with PlayFab's Gameserver SDK (GSDK). It starts an http server that will respond to GET requests with a json file containing whatever configuration values it read from the GSDK. More information here.

Questions

If you have any questions, feel free to engage in the repo's discussions here or find us in Discord here

Community samples

Here you can find a list of samples and utilities created and supported by our community. Let us know if you have created a sample yourself and would like to have it mentioned here.

About

Samples that show how to use PlayFab's Gameserver SDK for Multiplayer Servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%