needoriginalname Posted August 27, 2015 Posted August 27, 2015 I am making a modpack for a server I run. One of the mods I plan on using has a recommendations to put in a java parameter when starting up minecraft. Now I know how to do this in the vanilla launcher, but the question is. Is there a way so that parameters is set by default when the Mod Pack I am currently creating is shared with other people. The parameter is basically just setting minecraft to use a min of 2 GB of ram.
EvilOwl Posted August 27, 2015 Posted August 27, 2015 (edited) Yes, there is. Solution 1. You edit your versions.json found in the forge jar file (open it with 7-zip or something), add a line like: "javaArguments": "-Xmx2048m", so your versions.json looks like ... "type": "something", "minecraftArguments": "something", "javaArguments": "-Xmx2048m", "mainClass": "something", ... now you save that file and the archive manager (like 7zip) should update that file in the forge jar. You're set. Solution 2. You can use runData to ensure that your modpack will not be used when the launcher is set to a lower memory setting than your preferred setting. Tutorial here Edited May 9, 2019 by EvilOwl I forgot an "o" in 2015
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now