No, there’s no real documentation…pretty much any command that you see in mineos.js is what you can use for mineos_console.js
(just as with Python).
For example, you might see: self.modify_sp in mineos.js
:
self.modify_sp = function(property, new_value, callback) {
which means you’ll construct the command like this:
./mineos_console.js -s myserver modify_sp difficulty 1
Or you might want to use… self.accept_eula:
self.accept_eula = function(callback) {
which means you’ll construct your command line like:
./mineos_console.js -s myserver accept_eula
Or other examples:
./mineos_console.js -s myserver start
./mineos_console.js -s myserver kill
./mineos_console.js -s myserver stuff "hello everybody here!"
Etc etc. callback
isn’t something you provide an argument for, so when you get to that argument in the function definition, you merely omit it.