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. // Old WesterosCraft url.
// exports.REMOTE_DISTRO_URL = 'http://mc.westeroscraft.com/WesterosCraftLauncher/distribution.json' // 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( const api = new DistributionAPI(
ConfigManager.getLauncherDirectory(), ConfigManager.getLauncherDirectory(),

View File

@ -18,21 +18,40 @@
"servers": [ "servers": [
{ {
"id": "DMB", "id": "DMB",
"name": "DMB Client", "name": "DMB Server",
"description": "", "description": "A best mc roleplay in Thailand",
"icon": "", "icon": "",
"version": "1.0", "version": "1.0",
"address": "localhost", "address": "localhost",
"minecraftVersion": "1.20.1", "minecraftVersion": "1.20.1",
"discord": { "discord": {
"shortId": "Example", "shortId": "Test",
"largeImageText": "WesterosCraft Example Server", "largeImageText": "",
"largeImageKey": "server-example" "largeImageKey": ""
}, },
"mainServer": true, "mainServer": true,
"autoconnect": true, "autoconnect": true,
"modules": [ "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": [
] ]
} }
] ]