mc-tracker/src/index.ts
2024-01-03 07:25:17 +00:00

21 lines
427 B
TypeScript

import Influx from "./influx/influx";
import Scanner from "./scanner/scanner";
import ServerManager from "./server/serverManager";
/**
* The server manager instance.
*/
export const serverManager = new ServerManager();
/**
* The influx database instance.
*/
export const influx = new Influx();
(async () => {
await serverManager.init();
// The scanner is responsible for scanning all servers
new Scanner();
})();