Compare commits

...

3 Commits

Author SHA1 Message Date
3dbee3f3cc modify ConfigPlugin 2025-08-15 22:36:59 -04:00
3fe0ad1623 replace omnisharp with csharp-ls 2025-08-15 22:36:48 -04:00
bc194e4761 added root .gitignore 2025-08-15 18:25:19 -04:00
3 changed files with 10 additions and 5 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
.vs/
.vscode/
.idea/

View File

@@ -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);
} }
} }
} }

View File

@@ -25,7 +25,7 @@
nixpkgs-fmt nixpkgs-fmt
dotnet-sdk_9 dotnet-sdk_9
dotnetPackages.Nuget dotnetPackages.Nuget
omnisharp-roslyn csharp-ls
mono mono
]; ];
}; };