q13x-eaglerproxy/config.ts
2022-12-20 18:39:01 -08:00

26 lines
703 B
TypeScript

import { Config } from "./types.js";
export const config: Config = {
name: "MinecraftProxy",
bindHost: "0.0.0.0",
bindPort: 80, // 443 if using TLS
maxPlayers: 20,
motd: {
iconURL: null,
l1: "hi",
l2: "lol"
},
server: {
host: "locahost",
port: 25565
},
security: { // provide path to key & cert if you want to enable encryption/secure websockets
enabled: false,
key: null,
cert: null
}
}
export const BRANDING: Readonly<string> = Object.freeze("EaglerXProxy")
export const VERSION: Readonly<string> = "1.0.0"
export const NETWORK_VERSION: Readonly<string> = Object.freeze(BRANDING + "/" + VERSION)