Compatibility
Minecraft: Java Edition
1.21.1
1.20.1–1.20.6
Platforms
Supported environments
Dedicated servers only
Links
Tags
Creators
Details
Licensed ARR
Published 2 weeks ago
Force Stop
Force Stop is a server-side utility mod for Minecraft designed to ensure that the server process fully exits after receiving ServerStoppedEvent.
In some cases, the main server flow has already ended and the event has already been fired, but the Java process still does not actually terminate due to lingering threads, unreleased resources, or other unexpected issues. In this situation, this mod will waits for a specified period of time and then forcibly terminates the process, preventing the server from getting stuck in a “stopped but not exited” state.
Features
- Listens for Forge's
ServerStoppedEvent - Starts a delayed shutdown routine after the event is fired
- Forcibly terminates the process if the server is still running after the configured delay
- Suitable for scenarios where the server must be guaranteed to exit after stopping
Configuration
The mod uses the following configuration file:
forcestop.toml
Notes
- This mod is a fallback solution for server shutdown, not a fix for the root cause
- If your server has threads that do not shut down properly or resource leaks, you should still investigate the actual source of the problem
- Forcibly terminating the process may interrupt unfinished background tasks, so the wait time should be configured carefully


