-
Notifications
You must be signed in to change notification settings - Fork 1
Data Node Configuration Guide
Christian Hughes edited this page Apr 5, 2018
·
4 revisions
In this guide I will explain how to format your data so that Uplink can read from it and correctly display it in Discord.
Example GUI Data file:
{
"GuiMainMenu": "In the Main Menu"
}
Example Server Data file:
[
{
"uid": "mc.hypixel.net",
"key": "server-mc_hypixel_net",
"name": "mc.hypixel.net"
},
{
"uid": "demo.spongepowered.org",
"key": "server-demo_spongepowered_org",
"name": "demo.spongepowered.org"
}
]
-
uid
: The exact server IP players use to connect ingame. -
key
: The name of the asset that was uploaded to the Discord Bot App. -
name
: The text to display when the icon is hovered over (typically your server IP)
Example Small Icon Data file:
[
{
"uid": "afe0e71a-80c6-4753-bfb8-6b44f25689e8",
"key": "ftb_direwolf20_1_12",
"name": "FTB Direwolf20 1.12"
}
]
-
uid
: A (preferably) UUID that uniquely matches this node, which you then set as thesmallDataUid
in the Mod Configuration. -
key
: The name of the asset that was uploaded to the Discord Bot App. -
name
: The text to display when the icon is hovered over (such as a modpack).