Mineos_console.py missing

Hello… My turnkey install seems to be missing /usr/games/minecraft/mineos_console.py. I do have the .js version of that file in that same directory.

I’m trying to accomplish starting/stopping/restarting the ServerName from the command line.

I searched and couldn’t find an answer, so sorry if its staring me in the face.

Thanks in advance

Sounds like you have the node.js version of the webui rather than the python one installed, then.

./mineos_console.js -s servername stop

1 Like

Thank you thats exactly what I was looking for. I tried running it at first without any arguments and instead of a help screen it threw an exception which made me think I was heading down the wrong path. Regardless, I greatly appreciate your response!

root@mc games/minecraft# ./mineos_console.js
path.js:8
throw new TypeError('Path must be a string. Received ' +
^

TypeError: Path must be a string. Received undefined
at assertPath (path.js:8:11)
at Object.posix.join (path.js:479:5)
at new mineos.mc (/usr/games/minecraft/mineos.js:128:15)
at Object.<anonymous> (/usr/games/minecraft/mineos_console.js:119:16)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)