6 lines
No EOL
262 B
TypeScript
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); |