-
Notifications
You must be signed in to change notification settings - Fork 0
Server Guide
The easiest method to create a server is through the Bisecthosting support, as they offer full modpack installation. If you don't already own a server with them, use code Odyssey for 25% off.
-
Head to your Odyssey installation on the CurseForge launcher and check what Forge Version it's currently running before heading to the official forge server and downloading an installer for the same version https://files.minecraftforge.net/net/minecraftforge/forge/index_1.12.2.html
-
Create a folder anywhere, perhaps your desktop, and run the jar you just downloaded.
-
Click Install Server then select the folder you just created, hit okay and wait.
-
After it's done, hit your start button and type in run.
-
Write in 'notepad' in the run window and hit enter.
-
Paste the following into your notepad:
java -Xmx6144M -Xms6144M -jar server.jar noguiPAUSEMake sure to rename the server.jar to forge-version.jar (Example: forge-1.12.2-14.23.5.2860.jar) -
Click on file, save as and save it as launch.bat in the Server Folder we created.
-
Launch the bat file. [Note that if it gives you a Java error, perhaps because you're using Java 17, you'll have to replace the first 'java' with directory to your javaw.exe from where you installed Java, it is recommended to use Java 1.8.0-311 so an example would be: "C:\Program Files\Java\jdk8-311\bin\javaw.exe"] Finished one would most likely be:
"C:\Program Files\Java\jdk8-311\bin\javaw.exe" -Xmx6144M -Xms6144M -jar forge-1.12.2-14.23.5.2860.jar -
Once it's done, Open the CurseForge launcher and head to the Odyssey installation, hit the three dots and click "Open Folder"
-
Copy the following files from the Client-side installation (The one you just opened!) to the Server folder (The one we created earlier!): [Config, Mods, Scripts, Structures]
-
Delete the client-side mods (Listed below) from the server folder.
-
Open the eula.txt and accept the minecraft EULA.
-
Launch the server once more (But remember to set the server's properties, more on this below, don't skip it!)
ambientenvironment,ambientsounds,betteradvancements,blockdrops,controlling,craftpresence,custombackgrounds,customloadingscreen,custommainmenu, clienttweaks,enchdesc,defaultoptions,fpsreducer,jeivillagers,jetif,JustEnoughHarvestcraft,justenoughpetroleum,lootcapacitortooltips,modnametooltip,moreoverlays,mousetweaks,moresoundconfigs,nonvflash,overpoweredarmorbar,resourceloader,tc6aspects4jei,texfix,thaumicjei,tips,toastcontrol,toughnessbar ,reauth
You should set the server.properties as you see fit but some parts of them should be set to specific values, these parts being the following:
-
max-tick-time=60000should be changed tomax-tick-time=-1 -
level-type=minecraft\:normalshould be changed tolevel-type=BIOMESOP
The rest can be changed as you see fit (Details for them below from the Minecraft Fandom Wiki), just remember to only do it when the server's completely shut down to avoid any issues. https://minecraft.fandom.com/wiki/Server.properties
Updating the server is simple, but before you do it, head over to the latest update's changelog and check if "Forge Updated" is written in the additions section, if yes, skip over step 1.
- Repeat the forge installation steps (1-3) in the Server Creation guide.
- Update the run.bat with the new forge.jar name.
- In your server folder, delete the following folders [Config, Mods, Scripts, Structures] and replace them with the ones in your client.
To Maintain your own server's TPS, you'll need to do a few things occasionally, these include but are not limited to:
Most recommended Arguments are the ones created by Aikars.
You should give them a look, personally, and decide whether or not you would like to use them as I can't officially endorse them having not tried them personally but I was told they greatly improve TPS.
They are as follows:
-Dterminal.jline=false -Dterminal.ansi=true -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true
Spark and LagGoggles both, in their own ways, determine the cause of trouble. Spark helps me (Through discord support) provide an opinion on what could be causing the lag you'd be facing, LagGoggles would give you a more personal look on what entities are causing the most ticking.
###For spark, follow this little guide I wrote:
- Run /spark profiler --timeout 50 to see the normal processes in 50 seconds then after 5-10 minutes, run /spark profiler stop and save the link.
- Run /spark profiler --only-ticks-over 100 to see what is causing ticks that take more than 100 ms then after 5-10 minutes, run /spark profiler stop and save the link.
Best thing to do to your server is let it restart every 12 hours, this is easily done through Bisecthosting/Multi-craft's website, manually, you'll need to change the launch.bat.