mirror of
https://github.com/WorldEditAxe/eaglerproxy.git
synced 2024-11-08 06:56:03 -08:00
26 lines
704 B
TypeScript
26 lines
704 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: "localhost",
|
|
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) |