I’d like to know, is there a way to use cron tabs to execute Minecraft server commands at given intervals (just like the restart, backup, archive works) and how would I go about doing this?
Yes, this is what mineos_config.py
is for, in /usr/games/minecraft
.
Pretty much every command possible from MineOS’ web-ui is available through this CLI script, so you can run commands like:
cd /usr/games/minecraft
./mineos_console.py --help
./mineos_console.py -s myserver backup
Once you can get the command working like this, it’s easy to port it over to cron tabs with crontab generators.
OK, cool. I’ll be playing around with the file in a few days from now.
Just wanted to say thanks for this! I didn’t know that mineos_console.py was a pipe like this. I’m planning on having cron automatically say
messages to the server! Too cool.