What I want to do is add “–forceUpgrade” and possibly “-nogui”, so that they appear at the very end, like this:
/usr/bin/java -server -Xmx1536M -Xms1536M -Dlog4j.configurationFile=log4j2.xml -jar /var/games/minecraft/servers/mcserver/minecraft.jar --forceUpgrade"
I want to add these options to the very end, because otherwise those options cause the server to not start at all.
The GUI doesn’t seem to let you specify this, and editing the server.config directly doesn’t seem to change the behavior. What am I missing here?
I’m just speculating, but I believe the leading hyphen - might even force arguments to be parsed by java rather than as an argument to -jar. If this is the case, it would explain why vanilla minecraft pushes simply nogui.
I don’t know why I was still using MineOS in that way - I built this new server in August 2018, and I think I just copied the installation steps from the original old server I built in … 2012? Anyway, I’m not going to hold on to the old.
mineos_console.js is the alternative! Pretty much all the options plus more is available in this version, so feel free to reach out to us in a new thread if you have any questions about porting your scripts.