You can load this plugin and it works, but when you unload it, there's no fucking way to remove it entirely.
Doesn't Work
it is super annoying, I agree.
I drag it out of the folder manually, then delete it each time.
Merged post
I had to make some changes to No Raid to update it so you can destroy twigs added to your base by other people... decided to just fix this as well.
No Raid doesnt unload properly because in its unload function, it isnt propely ending all the timers it creates, causing it to think its unloaded, but leaving behind Ghost processes.. basically.
What this does is call each timer out specifically and ensure they are ended, allowing it to be removed.
Replace Private Void Unload() with this:
private void Unload()
{
// Kill all UI
foreach (var player in BasePlayer.activePlayerList)
CuiHelper.DestroyUi(player, _uiParent);
// Clean up timers
_startTimer?.Destroy();
_startUiTimer?.Destroy();
_wipeCheckTimer?.Destroy();
_uiTimer?.Destroy();
_startTimer = null;
_startUiTimer = null;
_wipeCheckTimer = null;
_uiTimer = null;
// Clear cached container and players
_cachedContainer = null;
_uiPlayers.Clear();
// Clear static reference
_instance = null;
}
====
cheers