public static bool Initialize() { try { ServerLog.Initialize(); Network.ApplicationQuit += () => { OnSave?.Invoke(); }; Session.Initialize(); Instance.CreateServer(); IsInitialized = true; ServerInitializer.Initialize(); ServerOutput.Header("Successfully started server"); return(true); } catch (System.Exception) { ServerOutput.HeaderError("Failed starting server"); throw; } }