Edgegap Integration KitBeta
v2.0
Getting Started

Configuration

Configure tokens and URLs once, then override per call only when needed

Goal

Set defaults in plugin settings so Blueprint/C++ calls can omit URL/token fields.

Project Settings Path

  • Project Settings > Edgegap Plugin

Required Fields by Feature

FeatureFieldNotes
Core APIAuthorization KeyUsed by deployment APIs.
MatchmakingMatchmaker URLUsed when matchmaking URL is empty in request structs.
MatchmakingAuth TokenUsed when matchmaking auth token is empty in request structs.
Server BrowserServer Browser URLShared endpoint for SB client/server calls.
Server Browser (server)Server TokenFor register/heartbeat/slot management.
Server Browser (client)Client TokenFor list/reserve calls from clients.

Override Rule

  • If request struct has URL/token, that value is used.
  • If empty, plugin settings/environment value is used.

C++ Runtime Check

#include "EGIKBlueprintFunctionLibrary.h"

const FString MmUrl = UEGIKBlueprintFunctionLibrary::GetMatchmakingURL();
const FString MmToken = UEGIKBlueprintFunctionLibrary::GetMatchmakingAuthToken();
UE_LOG(LogTemp, Log, TEXT("MM URL: %s"), *MmUrl);
UE_LOG(LogTemp, Log, TEXT("MM Token set: %s"), MmToken.IsEmpty() ? TEXT("no") : TEXT("yes"));

Security Note

Use environment variables for production servers instead of hardcoding tokens in assets.

On this page