Signal-Catcher for Minecraft 1.11.2
Signal-Catcher intercepts the SIGTERM, SIGINT and SIGHUP signals and shuts down the server without risk of data loss.
Shutting down the server normally with Ctrl-C sends the SIGINT command to the Java Runtime, immediately terminating code execution, even if data is being updated or saved at that moment. To avoid unpleasant consequences, use Signal-Catcher. It allows you to shut down the server as safely as possible, just as if you had entered the stop command on the command line.
The mod for Minecraft 1.11.2 accepts the following signals:
- SIGTERM = kill/killall
- SIGINT = Ctrl-c
- SIGHUP = loss of connection when Minecraft is running via SSH

How to install the mod:
First step: download and install Minecraft Forge (you can select a version that includes it in the launcher).
Second step: download the mod package.
Third step: copy the Signal-Catcher mod package into the .minecraft/mods directory (if this folder does not exist, install Forge again or create it yourself).
Comments (1)