-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodinfo.lua
More file actions
53 lines (46 loc) · 1.87 KB
/
Copy pathmodinfo.lua
File metadata and controls
53 lines (46 loc) · 1.87 KB
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
-- Axogc Platform mod metadata.
-- Server-side bridge between this DST shard cluster and the platform core.
-- Loads only on the Master shard at runtime (see modmain.lua early-return).
name = "Axogc Platform"
description = "Bridge DST cluster to the Axogc community platform (long-poll, stats, /bind, chat)."
author = "axogc"
version = "0.1.0"
forumthread = ""
api_version = 10
dst_compatible = true
dont_starve_compatible = false
reign_of_giants_compatible = false
shipwrecked_compatible = false
hamlet_compatible = false
-- Bridge is purely server-side; clients don't need to install it.
client_only_mod = false
all_clients_require_mod = false
priority = 0
server_filter_tags = { "platform", "axogc" }
-- Configuration options exposed to modoverrides.lua per cluster.
-- These are the only secrets/per-deployment values the mod needs; everything
-- else (intervals, boss whitelist, etc.) is a code-side constant in
-- scripts/platform/settings.lua.
--
-- DST's vanilla mod-config UI only lets users pick from the `options` table,
-- but modoverrides.lua bypasses that check — admins can pass arbitrary
-- strings via the `configuration_options` table per scripts/modindex.lua.
-- We declare a single dummy "default" option so the UI shows something
-- coherent in the rare case someone opens it, while the dedicated server
-- always feeds real values from modoverrides.lua.
configuration_options = {
{
name = "base_url",
label = "Platform Base URL",
hover = "e.g. https://www.axogc.net (no trailing slash)",
options = { { description = "(unset)", data = "" } },
default = "",
},
{
name = "token",
label = "Server Token",
hover = "Long-lived token issued by the platform admin panel",
options = { { description = "(unset)", data = "" } },
default = "",
},
}