mc-beta-server/index.ts
2023-04-08 20:52:47 +01:00

6 lines
No EOL
262 B
TypeScript

import { Config } from "./config";
import { readFileSync } from "fs";
import { MinecraftServer } from "./server/MinecraftServer";
const config:Config = JSON.parse(readFileSync("./config.json").toString()) as Config;
const mcServer = new MinecraftServer(config);