mc-beta-server/index.ts

6 lines
262 B
TypeScript
Raw Normal View History

2023-04-08 20:52:47 +01:00
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);