public static void TtStartUp() { _configs = new Configs(); _mysql = new Database(); if (!Configs.ConfigExists("server")) { _api.consoleOutput(LogCat.Fatal, "Configuration for server is missing in Configs directory."); _api.stopResource(_api.getThisResource()); } _api.consoleOutput("Starting TerraTex_RL_RPG Gamemode"); // start Player Threads _storePlayerDataThread = new StorePlayerData(); _api.startThread(_storePlayerDataThread.DoWork); _updatePlayerPlayTimeThread = new UpdatePlayerPlayTime(); _api.startThread(_updatePlayerPlayTimeThread.DoWork); _dynamicWeatherThread = new UpdateWeather(); _api.startThread(_dynamicWeatherThread.DoWork); _cleanVehiclesThread = new CleanVehicles(); _api.startThread(_cleanVehiclesThread.DoWork); _consoleReaderThread = new ConsoleReader(); _api.startThread(_consoleReaderThread.DoWork); RealTimeWorker realTimeWorkerThread = new RealTimeWorker(); _api.startThread(realTimeWorkerThread.DoWork); _api.exported.scoreboard.addScoreboardColumn("Level", "Level", 120); _api.exported.scoreboard.addScoreboardColumn("PlayTime", "PlayTime", 120); _api.exported.scoreboard.addScoreboardColumn("Nachname", "Nachname", 175); _api.exported.scoreboard.addScoreboardColumn("Vorname", "Vorname", 175); _api.exported.scoreboard.addScoreboardColumn("ID", "ID", 40); _api.setServerPassword(null); OnTerraTexStartUpFinishedEvent?.Invoke(); Licenses.Init(); BanSystem.CleanUpBans(); }