Configure the SDK

Now that you have installed the SDK into your Godot project, you need to connect the Godot project to your game in the LootLocker Management Consolearrow-up-right. The following steps walk you through configuring the LootLocker Godot SDK to work with a game that has already been created in the LootLocker Management Console. If you haven’t created a game or account yet, please visit our account creationarrow-up-right page.

Configure via LootLockerSettings.cfg

Log on to the LootLocker management consolearrow-up-right and find your Game Settings.

  • Open or create the file res://LootLockerSettings.cfg. The file follows the ini format and must have the following settings:

    • First, the header [LootLockerSettings]

    • Then api_key="<your api key from console.lootlocker.com>"

    • Then domain_key="<your domain key from console.lootlocker.com>"

    • And finally game_version="<a semver representation of the current game version>"

    • Once you've done this, you will have a file that looks something like this:

    [LootLockerSettings]
    ; You can get your api key from https://console.lootlocker.com/settings/api-keys
    api_key="prod_1c52468fc6e8620c955e3b6c303ea8cc"
    ; You can get your domain key from https://console.lootlocker.com/settings/api-keys
    domain_key="1g0glch3"
    ; The game version must follow a semver pattern. Read more at https://semver.org/
    game_version="1.2.1.4"
circle-check

Last updated

Was this helpful?