Ejemplo n.º 1
0
 protected override void Load()
 {
     base.Load();
     Instance = this;
     Logger.LogWarning("\n Loading SimpleJump, made by Mr.Kwabs...");
     Logger.LogWarning($"\n Max Jump Distance: {Instance.Configuration.Instance.MaxJumpDistance} meters.");
     Logger.LogWarning($"\n Max Ascend Distance: {Instance.Configuration.Instance.MaxAscendDistance} meters.");
     Logger.LogWarning($"\n Max Descend Distance: {Instance.Configuration.Instance.MaxDescendDistance} meters. \n");
     if (Instance.Configuration.Instance.DebugMode)
     {
         Logger.LogWarning(" Debug Mode: Enabled");
     }
     else
     {
         Logger.LogError(" Debug Mode: Disabled");
     }
     Logger.LogWarning("\n Successfully loaded SimpleJump, made by Mr.Kwabs!");
 }
Ejemplo n.º 2
0
 protected override void Unload()
 {
     Instance = null;
     base.Unload();
 }