Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pmmp/pcntlsignalhandler

[deprecated] PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C
https://github.com/pmmp/pcntlsignalhandler

pocketmine-plugin

Last synced: 3 months ago
JSON representation

[deprecated] PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C

Awesome Lists containing this project

README

        

# PcntlSignalHandler
PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C

## Installing
### Requirements
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.

## Caveats
You won't be able to use CTRL+C to abort the server. If your server hangs, you'll need to do the following:
- Escape from the server console. You can do this with CTRL+Z.
- Run `kill -9 $(pidof php)` to kill the zombie server.