Heroic Labs Documentation

Configuration #

The Configuration page enables you to view and export all configuration details of your Nakama server.

Additionally, you can import storage data or delete all data.

Console Configuration Page
Console Configuration Page

Importing storage data #

Drag-and-drop or browse for and select your desired file to import. Data can be imported in CSV or JSON format. A sample JSON file is provided below:

new-storage-objects.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[
  {
    "collection": "system",
    "key": "leveling",
    "permission_read": 0,
    "permission_write": 0,
    "user_id": "00000000-0000-0000-0000-000000000000",
    "value": {
      "level_rewards": {
        "10": {
          "rewards": [
            {
              "amount": 2500,
              "name": "chips"
            }
          ]
        }
      }
    }
  },
  {
    "collection": "system",
    "key": "streaks",
    "permission_read": 0,
    "permission_write": 0,
    "user_id": "00000000-0000-0000-0000-000000000000",
    "value": {
      "streaks": [
        {
        "bonus": 1,
        "next_claim_time_sec": 0,
        "progress": 0,
        "unlocks": [
            {
              "rewards": [
                {
                  "amount": 500,
                  "name": "chips"
                }
              ]
            }
          ]
        }
      ]
    }
  },
  {
    "collection": "system",
    "key": "versions",
    "permission_read": 0,
    "permission_write": 0,
    "user_id": "00000000-0000-0000-0000-000000000000",
    "value": {
      "versions": {
        "PLATFORM_ANDROID": {
          "hard_update": "0.0.0",
          "soft_update": "0.1.0",
          "url": "app://blah"
        },
        "PLATFORM_IOS": {
          "hard_update": "0.0.0",
          "soft_update": "0.1.0",
          "url": "app://blah"
        }
      }
    }
  },
  {
    "collection": "system",
    "key": "shop",
    "permission_read": 0,
    "permission_write": 0,
    "user_id": "00000000-0000-0000-0000-000000000000",
    "value": {
      "iap_codes_prices": {
        "mini_chips": 99,
        "small_chips": 499,
        "medium_chips": 999,
        "large_chips": 1999,
        "xl_chips": 4999,
        "huge_chips": 9999
      },
    "variants": [
        {
          "name": "default",
          "shop_chips": {
            "mini_chips": 30000,
            "small_chips": 200000,
            "medium_chips": 500000,
            "large_chips": 1500000,
            "xl_chips": 6000000,
            "huge_chips": 20000000
          }
        }
      ]
    }
  }
]