Is there any documentation for mineos_console.js? Right now I’m looking for a way to send commands to the server console. In the future I expect to use other mineos commands too.
Reading the wiki, I see that the python mineos had a “console” command that would do that. Reading mineos.js, the closest thing I see is “stuff”, which looks like it’s more low-level. It seems to execute the command fine, but also dumps pages of output from the spawn process command.
Is this the right way to do it? Is there a better way?