
Force Stop
Ensure the server process Stop completely.
About this Mod
Force Stop
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
Available Versions
How to Install Force Stop on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Force Stop". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.6, 1.20.5 (+4 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Force Stop server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.
Is Force Stop compatible with forge and neoforge?
Force Stop officially supports forge, neoforge for Minecraft 1.21.1, 1.20.6, 1.20.5. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Force Stop – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Force Stop consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Force Stop with just one click on your server.