
Pebble's Stray Thread Killer
A server-side mod intended to fix server hanging on restarts by sending shutdown signal to hanging threads after main server thread shuts down.
⬇ Download on ModrinthIs your server console hanging when you issue a stop command? You're not alone. This mod is designed to solve that issue by managing non-daemon threads that often fail to shut down gracefully, causing the server to hang.
How It Works:
The Stray Thread Killer mod monitors the server thread during shutdown and detects any straggling threads that could prevent a clean stop. Once the server stop process is triggered, the mod waits for these stray threads for up to 5 seconds before forcefully sending a halt signal. This approach ensures a smoother shutdown process, allowing your console to reboot normally and preventing those frustrating hangs.
Features:
- Detects non-daemon threads during server shutdown.
- Provides a 5-second (configurable) grace period for these threads to complete.
- Sends a halt signal to ensure the server stops cleanly.
Note: This mod is intended to be lightweight and focused solely on addressing server shutdown issues.
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as stray-thread-killer-1.0.1-1.21.1.jar — drop this file into the mods folder
- Download size: 17 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.