protected override void Load() { Instance = this; ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, errors) => true; U.Events.OnPlayerConnected += EventsOnOnPlayerConnected; if (!System.IO.Directory.Exists("GY.DataBase")) { System.IO.Directory.CreateDirectory("GY.DataBase"); } }
protected override void Unload() { Instance = null; U.Events.OnPlayerConnected -= EventsOnOnPlayerConnected; }