Skip to content

lootlocker/unreal-server-sdk

Repository files navigation

LootLocker Unreal Server SDK

LootLocker

AboutInstallationConfigurationSample AppSupport


About

LootLocker is a game backend-as-a-service that unlocks cross-platform systems so you can build, ship, and run your best games.

Full documentation is available here

Installation

For a more detailed guide on installation, please see our User Documentation

  1. Download the latest Unreal Package release or clone the repo.

  2. Copy the LootLockerServerSDK folder.

  3. Paste the LootLockerServerSDK folder into the plugins folder created in the root of your project (create if it doesn't exist)

  4. Right-click on the "Unreal Engine Project Launch" file in the root of your project and click on "Generate Visual Studio Project Files"

  5. Open the .sln file of your project

  6. Open your project's Build.cs file

  7. Add LootLockerServerSDK to the PublicDependencyModuleNames list

    Example:

    PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "LootLockerServerSDK" });
  8. Add {"HTTP", "Json", "JsonUtilities"} to the PrivateDependencyModuleNames list

    Example:

    PrivateDependencyModuleNames.AddRange(new string[] { "HTTP", "Json", "JsonUtilities" });

Configuration

  1. Navigate to Edit/Project Settings in the editor, Scroll down on the left panel until the plugins sections of the project settings, Click on LootLockerServerSDK
  2. Modify the LootLockerServerKey, Domain Key, Game Version, and AllowTokenRefresh (Set to true if you want the LootLockerServerSDK to attempt to refresh the token if it expires). What values to set, you can find in the LootLocker dashboard. You should already have an account from https://console.lootlocker.com/login

Support

If you have any issues or just wanna chat you can reach us on our Discord Server