PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C
The PHP binary you use for PocketMine-MP must include the pcntl
extension.
Drop it in your plugins
directory and restart the server. No additional setup is necessary.
You won't be able to use CTRL+C to abort the server. If your server hangs, you'll need to do the following:
kill -9 $(pidof php)
to kill the zombie server.