Esempio n. 1
0
 public void OnEnable(PluginContext context)
 {
     ConsoleFunctions.WriteInfoLine("[MiNET PC] Loading...");
     PluginGlobals.Initialize();
     PluginGlobals.PluginContext = context;
     PluginGlobals.Level = context.Levels;
     ConsoleFunctions.WriteInfoLine("[MiNET PC] Initiating server...");
     new Thread(() => new Networking.BasicListener().ListenForClients()).Start();
     new Ticks().StartTimeOfDayTimer();
 }
Esempio n. 2
0
 public void OnEnable(PluginContext context)
 {
     Context = context;
     OnEnable();
 }