Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

multiserver support #282

@blcksys

Description

@blcksys

cloning the whole server directory and editing the main server file in server/modules/network/discoverability.js

// IP and if has https proxy
// NOTE: Server auto adds itself to the list
module.exports = [
    // ["hostname":string, "world location":string, "is behind https proxy":boolean]
    ["localhost:26301", "", false],
    ["localhost:26302", "", false],
    ["localhost:26303", "", false],
    ["localhost:26304", "", false],
    ["localhost:26305", "", false],
    ["localhost:26306", "", false]
];

this list will not populate in the browser server list
it's bugged.

instead if you populate it with:

// IP and if has https proxy
// NOTE: Server auto adds itself to the list
module.exports = [
    // ["hostname":string, "world location":string, "is behind https proxy":boolean]
    ["localhost:26301", "", false],
    ["localhost:26301", "", false],
    ["localhost:26301", "", false],
    ["localhost:26301", "", false],
    ["localhost:26301", "", false],
    ["localhost:26301", "", false]
];

then all the list gets updated, but it's pointless since them point all to the same IP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions