Quoting through the webui is iffy at best, because MineOS relies on a fairly unsophisticated mechanism called
screen for keyboard injection.
screen works wonderfully for its main purpose–which is to create independent processes that mean Minecraft servers can operate separately from the webui if, say, the webui were to crash.
So either the design of any Minecraft webui would either have to choose between:
- imperfect integration and err-on-the-side-of-caution-levels of escaping of text sent to servers
- dependency for the webui to remain in perfect operation, forever, to ensure its child processes (mc servers) are not impacted by webui crashes
Some webuis choose the former, some the latter. As the sole dev of MineOS, I knew working with Java servers, third party servers, third party plugins–all had great capability to interfere with the webui, so I chose #1.
Long story short, this can be considered a bug, but a bug I was able to live with. The ways you could do such commands are therefore limited to:
- connecting to server, send direct to console
- attach your terminal to the hidden game console with a command as
screen -r mc-myservername
- see if the
screen -X command can be finessed in a way I just never learned.