Could not make a server
BigHuz opened this issue ยท 13 comments
Soo I am trying to create a server for me and my friends to play on but forge server jar file will not start the server. I was trying with command given in repository but no. Can someone please makena short tutorial and possible java settings to make it work. Other modded servers that I run are working just fine but this one is not.
Thanks in advance,
try the FTB launcher, the pack should be availabel in there as well, don't thknk it will make any difference though as they both launch the Microsoft launcher, although FTB tries to keep it in the background
Will try. Now I am going back to java 8u251 version by version to see witch one is most stable with this modpack or with forge loader. Also I am going between curse and Atlauncher.Will update.
First, make sure your java is running 8u311, not the latest 8u321 as this is bugged.
Link for 8u311 --> https://javadl.oracle.com/webapps/download/AutoDL?BundleId=245479_4d5417147a92418ea8b615e228bb6935
Run the installer.jar file from the server pack, changing the directory to where you ran it from.
Make sure you select "server" option before continuing
Once installed, edit the eula.txt file changing fasle to true to accept the license agreement
create a run.bat file with the following in it
java -Xmx8G -Xms8G -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=0 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:+UseG1GC -jar forge-1.16.5-36.2.20.jar nogui
pause
once thats created, you can just run the .bat file to start your server
All things that you have wrote after java 8u311 a tried. Will try with older version of java. And ofcoruse will update. Thank you.
I had same problem, rolled back the java to 311 and it worked, hope yours does to
@Hondahoorz What exactly is bugged? java? forges installer? or this mod pack?
@FallenAvatar , I did that as well, just couldn't get it to work, so i rolled back the java and it worked, on it right now, will have a look at what needs to be done regarding updating java once the server is empty and i close it down.
Did you do anything else apart from use "-jarfile" where is used "-jar" ? (as in my original post?)
seems to be the latest java, i rolled it back along with other people and the server works again
Server is up and runnig. But now I have a major lagg with the game.
could be the amont of memory you have, i notice the server peaks at about 6gig then releases memory, and starts again at 1gig, mine runs on a seperate machine and thats all it runs, so i notice no lag.
Because after some troubleshooting I got the installer working fine with 312. Just had to remember to do java -jarfile forge-1.16.5-36.2.20.jar
I had been forgetting the -jarfile part
Tried every version of the modpack and there is still lag. Next stop older java version