Pebble's Stray Thread Killer
Does your server hang when you attempt to issue a stop command? This is a common issue encountered by many administrators. This modification resolves this problem by managing threads that are not part of the daemon processes, which often fail to shut down properly and cause server hangs.
How the Mod Works
Pebble's Stray Thread Killer monitors the main server thread during the shutdown process and detects secondary threads that may prevent a clean server shutdown. When the server stop command is activated, the mod provides these threads with a waiting period of up to 5 seconds before sending a forceful termination signal. This approach ensures a smoother shutdown process, allowing the console to reboot without issues and avoiding frustrating hangs.
Key Features
/Autodetects secondary threads during server shutdown\ /Provides a configurable waiting period of up to 5 seconds for thread completion\ /Sends a stop signal to ensure proper server termination
Note: This modification is designed as a lightweight solution focused solely on resolving server shutdown issues.