Passing additional parameters to Java when launching Minecraft Server.

Sep 9, 2013 at 7:48 AM
I would like to pass additional parameters (more parameters than just the memory stuff) to Java like I can when I start it manually.

I would like to pass the following parameters:
"java -server -Xmx1024M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -jar minecraft_server.jar"

I used these before I used MCSM. These parameters seriously improve memory management of JAVA and tick lag.

Read in the minecraft forum under
Sep 9, 2013 at 6:01 PM
Hi Talkietoaster,

Thanks for this! We have been internally discussing how best to include a way to set custom options in the next version. Currently there are two methods on the table:
1 - A textbox where you just enter the custom arguments as one long line that gets appended to the Java call
2- A list box where you can add/remove items - each item is an argument. Arguments can then be easily ordered.

Which do you think is best/would be more user-friendly?

(Founder & Developer)
Sep 10, 2013 at 6:09 AM
Hi Edward

When coming from running a server without MCSM (like me) and starting the mc server with a batch file, it probably may be easier to just do a textbox for custom arguments. I am not a Java specialist I essentially just ctrl-c-v'd from that forum post and the server "felt better". I don't know how many other java options there are. So providing items for every possible value might eb some task.

Keep the two memory settings where they are 'cause thats something probably everyone is going to mess with and if one has to get clever add the additional stuff with a textbox.
Jan 4, 2014 at 3:35 PM
Edited Jan 4, 2014 at 3:35 PM
Hi Talkietoaster,

I have this implemented this now and its all working perfect! :) This will be out on the new update soon, it will be a text box which you can Copy-Paste your arguments. (Sorry about the wait I have a lot of things going on and finally have some time to work on this project)

Kieron (Lead Developer)