#!/bin/bash
date >> /var/games/minecraft/servers/goldrush/starts.log
setsid ./waitandrun.sh & >> /var/games/minecraft/servers/goldrush/starts.log
echo end of start.sh >> /var/games/minecraft/servers/goldrush/starts.log
startau.sh
#!/bin/bash
echo startau start >> /var/games/minecraft/servers/goldrush/starts.log
sleep 30
cd /usr/games/minecraft
./mineos_console.js -s goldrush start >> /var/games/minecraft/servers/goldrush/starts.log 2>&1
echo startau end >> /var/games/minecraft/servers/goldrush/starts.log
date >> /var/games/minecraft/servers/goldrush/starts.log
This was from Issue 104 from github
However when using this it give me this
[TestScript] Error executing “start” because server condition not met: !up
startau end
Another issue I seem to have is py is now -> js probably because its newer + this script was back from 2014 era
Also when tried replacing start to restart… you get this
[TestScript] Error executing “restart” because server condition not met: true
startau end
Why are you invoking “mineos.Py” ? That is the server script from the previous python based version of MineOS. MineOS was moved over to node.js quite a few years ago.
So if you have a python version of MineOS it is hopelessly outdated, and I reccomend a total reinstall and upgrade to MineOS-node.
If you have the node version, trying to invoke the python script will not work, since that file is not there.