Control script for PocketMine server Features Manage PocketMine server with tmux session. Remap `Ctrl+c` key to prevent killing PocketMine server. Control script with convenient functions(see [below](#usage)). ... Usage Code: ____ _ _ __ __ _ | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | |_) / _ \ / __| |/ / _ \ __| |\/| | | `_ \ / _ \ | __/ (_) | (__| < __/ |_| | | | | | | | __/ |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___|_Ctrl Usage: pocketmine.sh [CMD] Available CMDs: start Start PocketMine server. attach Attach PocketMine server console. console Alias for attach. stop Stop PocketMine server. (graceful) restart Restart PocketMine server. (graceful) kill Kill the PocketMine server. cmd "MY COMMAND" Send command to PocketMine server. plainlog "LOGFILE" Strip color code from log file. log-rotate Log rotate. remake-world Regenerate worlds and keep old worlds. (need restart) purge-world Regenerate worlds. (need restart) Source/Document http://marlboromoo.github.io/PocketMine_Ctrl/
This sounds really cool, i guess you can call it a wrapper. This also completely defeats the purpose of my AutoRestart plugin, although mine doesn't need cron jobs.
How can I install this on my linux server? And how do I use it? This is all I was searching for! Thanks for replying
It will be awesome for you if shoghi help you to make this script more easy to implement to PocketMine-MP
Yea, it's a wrapper :3 I prefer to use script + crontab to do the daily job, thanks for your appreciation!
You can use this script without the root permission: 1. Compile the tmux from source code, see: http://sourceforge.net/p/tmux/tmux-code/ci/master/tree/README. 2. Use the command "crontab -e" to add jobs to your personal crontab.
I get it work! I get how to install tmux without root... can you publish the instructions? If yes... I can send you the instructions to publish them on github
Which is exactly why I modified this script to support multiple servers with single PHP binary I'll keep it to myself until the said CP is finished.