update something new

This commit is contained in:
dharm pimsen 2024-10-06 00:41:10 +07:00
parent 6457ef66c3
commit 9952c1239a
2 changed files with 27 additions and 7 deletions

View File

@ -4,7 +4,8 @@ const ConfigManager = require('./configmanager')
// Old WesterosCraft url.
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json'
exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json'
// exports.REMOTE_DISTRO_URL = 'https://helios-files.geekcorner.eu.org/distribution.json'
exports.REMOTE_DISTRO_URL = 'http://127.0.0.1:5500/distro.json' // for development only with vscode live share
const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(),

View File

@ -18,21 +18,40 @@
"servers": [
{
"id": "DMB",
"name": "DMB Client",
"description": "",
"name": "DMB Server",
"description": "A best mc roleplay in Thailand",
"icon": "",
"version": "1.0",
"address": "localhost",
"minecraftVersion": "1.20.1",
"discord": {
"shortId": "Example",
"largeImageText": "WesterosCraft Example Server",
"largeImageKey": "server-example"
"shortId": "Test",
"largeImageText": "",
"largeImageKey": ""
},
"mainServer": true,
"autoconnect": true,
"modules": [
"Module Objects Here"
]
},
{
"id": "dpg-milsim",
"name": "DPGame something...",
"description": "DPCloudev x DPGame (look at id in distro.json)",
"icon": "",
"version": "1.0",
"address": "localhost",
"minecraftVersion": "1.20.1",
"discord": {
"shortId": "Test",
"largeImageText": "",
"largeImageKey": ""
},
"mainServer": true,
"autoconnect": true,
"modules": [
]
}
]