q13x-eaglerproxy/config.ts

26 lines
703 B
TypeScript
Raw Normal View History

2022-12-18 05:39:38 -08:00
import { Config } from "./types.js";
export const config: Config = {
2022-12-20 18:39:01 -08:00
name: "MinecraftProxy",
bindHost: "0.0.0.0",
bindPort: 80, // 443 if using TLS
2022-12-18 05:39:38 -08:00
maxPlayers: 20,
motd: {
2022-12-20 18:27:34 -08:00
iconURL: null,
2022-12-18 05:39:38 -08:00
l1: "hi",
l2: "lol"
},
server: {
2022-12-20 18:27:34 -08:00
host: "locahost",
2022-12-18 05:39:38 -08:00
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)