GitHub - Saehing/PcntlSignalHandler: PocketMine-MP plugin to allow stopping the server gracefully using CTRL+C · GitHub
Skip to content

Saehing/PcntlSignalHandler

 
 

Folders and files

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • PHP 100.0%