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.
ServerStoppedEventThe mod uses the following configuration file:
forcestop.toml