public static void Init() { if (!Directory.Exists(Util.GetPublicFolder())) { Directory.CreateDirectory(Util.GetPublicFolder()); } Logger.Init(); Server.GetServer(); PluginLoader.GetInstance().Init(); server.official = false; if (!server.hostname.ToLower().Contains("pluton")) { server.hostname = String.Format("{0} [Pluton v.{1}]", server.hostname, Version); } }
public static void Init() { if (!Directory.Exists(Util.GetPublicFolder())) { Directory.CreateDirectory(Util.GetPublicFolder()); } Logger.Init(); CryptoExtensions.Init(); DataStore.GetInstance().Load(); Server.GetInstance(); CSharpPluginLoader.GetInstance(); CSScriptPluginLoader.GetInstance(); JSPluginLoader.GetInstance(); PYPluginLoader.GetInstance(); InstallThreadedOutput(); ReloadTimers(); server.official = false; }