Compare commits
3 Commits
2af54f1845
...
master
Author | SHA1 | Date | |
---|---|---|---|
3dbee3f3cc | |||
3fe0ad1623 | |||
bc194e4761 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
.vs/
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
@@ -14,7 +14,7 @@ namespace ConfigPlugin
|
|||||||
public override Version Version => new Version(1, 0, 0, 0);
|
public override Version Version => new Version(1, 0, 0, 0);
|
||||||
|
|
||||||
// instantiate our config class
|
// instantiate our config class
|
||||||
public static readonly string ConfigPath = Path.Combine(TShock.SavePath, "Config.json");
|
public static readonly string ConfigPath = Path.Combine(TShock.SavePath, "ConfigPlugin.json");
|
||||||
private Config? _config = new Config();
|
private Config? _config = new Config();
|
||||||
|
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
@@ -24,7 +24,7 @@ namespace ConfigPlugin
|
|||||||
|
|
||||||
PerformConfigOperations();
|
PerformConfigOperations();
|
||||||
|
|
||||||
Console.WriteLine("[ConfigPlugin] Plugin is loaded");
|
Console.WriteLine("[ConfigPlugin] Plugin is loading...");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnReload(ReloadEventArgs args)
|
private void OnReload(ReloadEventArgs args)
|
||||||
@@ -58,8 +58,10 @@ namespace ConfigPlugin
|
|||||||
{
|
{
|
||||||
if (disposing)
|
if (disposing)
|
||||||
{
|
{
|
||||||
base.Dispose(disposing);
|
Console.WriteLine("[ConfigPlugin] Plugin is unloading...");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user