Compare commits

...

2 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
2 changed files with 7 additions and 5 deletions

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)
{ {
Console.WriteLine("[ConfigPlugin] Plugin is unloading...");
}
base.Dispose(disposing); 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
]; ];
}; };