Components:

Steps:

  1. Initial Pragma 0.0.97 setup
  2. Logic to set gameServerZone to desired region
  3. Add HathoraGameInstanceHostPlugin plugin
  4. Using the HathoraGameInstanceHostPlugin

Integrating your server with Hathora APIs

There are multiple ways to integrate with Hathora APIs:

  1. Using Hathora's default environment variables
  2. Make API calls from your init script (.sh)
  3. Hathora's Unreal SDK

Add init script or game server logic to request info from Hathora API and callback to Pragma

  1. Get the server connection info (i.e. host:port) for your server process
  2. Get the relevant room data for the match (i.e. roomId and roomConfig)

Detailed Hathora pragma plugin steps:

  1. Add Hathora plugin to project