Server Setup: Difference between revisions

From GT New Horizons
Content added Content deleted
m (updated links for 2.1.0.0)
(Update guide to reflect that ServerUtilities is now included in the base GTNH modpack)
 
(116 intermediate revisions by 17 users not shown)
Line 1: Line 1:
__TOC__
[[Category: Guides]]
<div align="justify">
A '''server''' is a way of running Minecraft that separates the game into two parts. The ''server'' simulates the world, while a ''client'' displays and handles input/output from each player and rendering the world. The two communicate constantly to create the game; a breakdown of this communication can cause [[lag]]. Running GT:NH as a separate server is required for more than one player to access the same world, as [[Quest Book|BetterQuesting]] does not support LAN. A Minecraft license is not needed for the server, but each player connecting must have a valid Minecraft account. Servers also need to be online to authenticate joining players.
</div>


== Pros/Cons ==
= Server Setup for Windows =
<div align="justify">
'''NOTE: THIS WAS LAST REVISED ON NOVEMBER 7th, 2020 USING VERSION 2.0.9.0. THE DOWNLOAD LINKS PROVIDED WITHIN ARE COMPATIBLE WITH EACH OTHER.'''
Servers enable multiplayer fun, can improve TPS even in a single player (SP) world on the same machine, allow chunk-loaded areas to run 24/7 for passive resource production, and supports party progress in the [[Quest Book]]. There are also downsides to server play. Having machines running constantly can cause breakdowns if [[maintenance]] isn't automated or something unforeseen happens in-game. Servers are more complicated to set up than a SP instance of GT:NH and require regular technical support (restarts, backups, updates, lag-busting, etc.) An improperly secured server can leave its host machine vulnerable to DDoS attacks, becoming a bitcoin farming bot, or accessed by 3rd parties. Renting a remote hosting service is safer, but usually carries a monthly fee. If self-hosting, a second computer is usually used to run just the server which has its own cost.
</div>


== Versions ==
In this guide we will walk through:
<div align="justify">
Servers can run either the Java8 or Java17+ build of GT:NH. '''JRE 17+ is strongly recommended''' unless a hybrid server setup is being deployed. Players connecting to the server can run either Java8 or Java17+ with their own launcher; it doesn't have to match the server's, nor do all players need to use the same launcher/Java to play. The ''version'' of GTNH (ex. 2.4.0) ''must'' match exactly between all clients and the server. If the server updates to a different version, all players will have to update as well to join again.
</div>


{{Box-round|title=Lost? | Any of these computer terms drawing a blank? Not sure what the difference is between a JDK, JRE or Java SE?
* Downloading the Files
* Check out the [[Modded Minecraft Basics#Lexicon|Lexicon]]}}
* Server Setup
* Starting and Stopping the Server
* Server Backups
* FAQ (Frequently Asked Questions)


== Downloading the Files ==
== Hardware and Specs ==
Any computer that can run Java8+ can, in theory, be used as a modded Minecraft server. Re-purposing an old machine as a server is a common choice with practical benefits. The most important specs for decent performance will be [https://www.cpubenchmark.net/singleThread.html| single thread CPU frequency] (Minecraft does not take advantage of multi-core threading), sufficient RAM and lots of storage space. For residential remote hosts, internet connection upload speed will be the limiting factor as both upload and download are used equally for a server. The closer the client(s) and server are to each other, the lower the latency and generally the better the connection will be.
While our pack is hosted on many launchers we also maintain a repository of all of our releases. For the purpose of this guide we will be utilizing our hosted repositories as well as the MultiMC launcher.


Recommended Minimum:
# Download the server pack from here: http://downloads.gtnewhorizons.com/ServerPacks/GTNewHorizonsServer-1.7.10-2.1.0.0.zip
* i3/i5 or better processor
# Download MultiMC from here: https://files.multimc.org/downloads/mmc-stable-win32.zip
* 6GB of RAM +0.5GB per extra player (early game)
# Download the client pack from here: http://downloads.gtnewhorizons.com/Multi_mc_downloads/GTNewHorizonsClient-1.7.10-2.1.0.0-MMC.zip
* 6GB of RAM +1GB per extra player (~UV [[tier]]+)
* 20GB+ storage. Platter is feasible, SSD is preferred


==== CPUs ====
''Note: Please reference this guide on how to setup and install our pack in MultiMC (this guide will only cover the server portion.): [[Installing and Migrating]]''[[File:Download Directory.png|alt=Download Directory Image|none|thumb|Your downloads folder should look like this.]]<br />
You can generally compare CPUs that are on the same architecture (e.g. 13th gen Intels are all largely comparable) but you can't compare across platforms (12th gen and 13th gen are different). This topic also gets even more complicated now that Intel is adopting a mixed architecture on their newer CPUs. The single-threaded benchmark results are good enough for most comparisons, paired with the understanding that more cores does not equal better performance for Minecraft.
== Server Setup ==
=== Step 1: Extract the Server Files ===
[[File:Extract Server Files.png|alt=Extract Server Files Image|none|thumb|Right click on the server files ZIP archive and choose "Extract All..."]]
[[File:Extraction Destination.png|alt=Extraction Destination Image|none|thumb|Once you've chosen your name for the folder you can hit extract. Whether or not you uncheck the "Show extracted files when complete" checkbox is up to you.]]


==== Storage ====
=== Step 2: Preparing to Start the Server ===
Minimum storage needs depends on number of worlds, range of exploration and frequency of backups. Figure ~1-2GB for an early game world, more as other dimensions get explored, and another 1-2GB for the pack/server files. Each backup is going to be a similar size, so having too many of these will quickly balloon the storage requirements. A SSD is faster and will reduce load/save times for chunks and player inventories. Most of Minecraft runs in RAM and slower platter drives should still be usable if nothing better is available. The suggestions in [[Low End PCs]] can be used to help improve performance with lower end machines.
[[File:Create EULA.txt File.png|alt=New File Image|none|thumb|Open up the folder you extracted the files into (in our case it is GTNH-2.0.9.0-Server). Right click in the empty space and choose:New > Text Document.]]
[[File:EULA.txt File.png|alt=Change Filename Image|none|thumb|Change the name of this TXT file to: eula.txt.]]
[[File:EULA.txt File Content.png|alt=File Content|none|thumb|Add the following text to the eula.txt file. Then save and close the file.]]
'''ATTENTION: BY SETTING THE TEXT OF THE EULA.TXT FILE TO TRUE YOU ARE AGREEING TO THE FOLLOWING EULA AND READING IT IS YOUR RESPONSIBILITY:''' https://account.mojang.com/documents/minecraft_eula


==== Connection Speed ====
=== Step 3: Starting and Stopping the Server ===
Connection speeds are rated in Mb / Mbps, or ''megabits per second''. This is not the same as MB, the more commonly known ''megabytes''. One megabit is only 1/8th of a megabyte. Be aware of this when comparing server packages, especially with paid hosts. Companies advertise maximum upload/download rates under ideal conditions, rarely actual values which will vary based on local infrastructure and location. Utilities like https://fast.com/ can be used to check real download/upload speed. Click "Show more info" for upload.


== Server Files ==
Starting the server at this point is very straight forward. Simply double click:<syntaxhighlight lang="text">
<div align="justify">
startserver.bat
While the single player pack is hosted on many launchers, a repository of all releases is maintained on the gtnewhorizons.com domain. Server packs should only be downloaded from there or links in <code>#announcements</code> on the official [[Discord]].
</syntaxhighlight>
[[File:Firewall Warning.png|alt=Firewall Prompt|none|thumb|If you get the following prompt while the server is starting you can hit Allow Access. It is recommended making sure you're only allowing access on Private Networks (this doesn't impact if you want to open your modem/router for friends to join but is just best practice).]]


There are two variations of the pack, both for the server and the client. <code> ..._Server.zip</code> is for Java 8, <code>_Server_Java_17_20.zip</code> is for Java 17+. Make sure to pick the .zip file that matches the Java version the server will be running, or it will fail.
''Unless you have a reason not to, you should use the Java 17+ version'' as it has better garbage collection & performance on modern hardware. The only major reason not to use Java 17+ for a server is Thermos compatibility - and if you know what Thermos is, you know how to setup your own server more likely than not.


* Download the server pack from here: http://downloads.gtnewhorizons.com/ServerPacks/
''Note: It will take quite some time for the server to startup.''
* Download the client pack from here: http://downloads.gtnewhorizons.com/Multi_mc_downloads/
** Need an older client? Archive links are available in the <code>#announcements</code> channel on the GT:NH [[Discord]]
** Files marked MMC or Multi_mc are also compatible with Prism launcher
* (Optional) Download Prism launcher from here: https://prismlauncher.org/download/
* (Optional) Download Java 17+ from here: https://adoptium.net/
** Get the JRE (not JDK), and make sure it matches your OS / architecture


While Java 17 is the most widely tested with New Horizons, any Java build of 17 or later should suffice. Check if any versions of Java are already installed on your machine before downloading more. Oracle's closed source Java will also work with GT:NH, if preferred.
<br />
[[File:Terminal Window.png|alt=Console Window Image|none|thumb|When your server is ready you will typically see what is boxed in by red at the bottom. At this point your server is running and you can connect to it!]]


''Even though the filenames for the Java 17+ server and client packs seem to imply they're only compatible with Java versions 17 through 20, Java version 21 is also officially supported.''
In order to stop the server simply type the following and press enter:<syntaxhighlight lang="text">
</div>
stop
</syntaxhighlight>The server will scroll some information by and then the window will close when it shuts down entirely.


== Setup Guides ==
''Note: It is recommended to use the stop command to stop the server versus just closing the command window. Doing so may corrupt your world data and your world will be unplayable.''
<div align="center">
{|class="wikitable" align-center style="width: 85%; text-align: center;"
! style="background-color:#72c1d9" colspan="2" |Platform and Hosting
|-
! style="background-color:#b9e0ec"|<big>Windows</big> !! style="background-color:#b9e0ec"|<big>Linux</big>
|-
|
*[[Server Setup (Windows, Local Host)|'''Windows Local Hosting''']]
|
*[[Server Setup (Linux, Oracle Cloud)|'''Remote Hosting on Oracle Cloud''']]
*[[Server Setup (Linux)|'''Linux Remote Hosting''']]
|}
''Note: The Linux Remote Hosting Certain contains parts that are Hetzner Cloud specific, but most parts should work with other server hosts as well. Ask the GT:NH [[Discord]] for help if you have trouble installing.''


<br />
</div>


== Server Update ==
=== Step 4: Whitelisting Players ===
<div align="justify">
# Choose a version. The latest stable will be highest version number linked below, and marked "stable" in the [[Discord]] <code>#annoucnements</code> channel.
# [http://downloads.gtnewhorizons.com/ServerPacks/ Download] a new server version of GTNH.
# Backup your ''entire'' server folder.
# Delete the <code>config</code> (folder JourneymapServer from config will be needed later), <code>libraries</code>, <code>mods</code>, <code>resources</code> (if present) and <code>scripts</code> (if present) folders from your server folder. e.g., on a Linux server, use the following commands: <syntaxhighlight lang="bash">
cd you_server_folder
rm -r config libraries mods resources scripts
</syntaxhighlight>
# Replace the deleted folders with the ones from the downloaded archive. Newer versions won't have <code>/resources/</code> or <code>/scripts/</code>, this is normal.
# Transfer any customized config settings. Use your backup as a reference. ''Do not just copy old <code>/configs/</code> folders over! Move your changes as necessary or you may miss out on new functionality.''
# Restore the JourneymapServer folder. This folder contains your world UUID inside a config file. If this file is lost, the server would generate a new map UUID and clients would lose their journeymap map data for your server.
# If you are using the Java 17+ version, then update and use these files from the downloaded archive to start the server: <code>lwjgl3ify-forgePatches.jar</code>, <code>java9args.txt</code>, <code>startserver-java9.bat</code> and <code>startserver-java9.sh</code>.

{{ombox|type= content|text= '''Servers on newer Java versions (17+)'''<div>Java 17+ servers should be fully configured as downloaded. For additional instructions consult https://github.com/GTNewHorizons/lwjgl3ify#server
}}
</div>

== Whitelisting Players ==
<div align="justify">
In order to connect to the server yourself or allow other players to connect you must add them to the whitelist. To do this use the following command inside the server console window:<syntaxhighlight lang="text">
In order to connect to the server yourself or allow other players to connect you must add them to the whitelist. To do this use the following command inside the server console window:<syntaxhighlight lang="text">
Syntax: whitelist add <playername>
Syntax: whitelist add <playername>
Line 58: Line 97:
Example: whitelist add shawnbyday
Example: whitelist add shawnbyday
</syntaxhighlight>
</syntaxhighlight>
</div>


== Server Backups ==
== Server Backups ==
<div align="justify">
Go ahead and follow the above procedure to stop the server.
Go ahead and follow the above procedure to stop the server.


As of GT:NH 2.6.0, the server and client ship with ''[https://github.com/GTNewHorizons/ServerUtilities/releases Server Utilities]'', which is the updated GT:NH fork of FTB Utilities. Only if running an older version, you'll need to manually download the most recent release and the file that ends in {numbers}.jar (so 2.0.3.jar, not -dev.jar or -sources.jar). Place the file(s) in your mods directory on the server (and it is recommended to put it on your client, also, so you can get access to claims, chunkloading, etc. See [[Additional Mods]] for more details or the repository [https://github.com/GTNewHorizons/ServerUtilities#readme Readme].
In this step we are going to download and install AromaBackup (a simple backup mod). Running a server means you're responsible for everything on it. The best way to have your own back is to run a backup. We see many people coming into Discord asking for help and they don't have a backup. Backups are deliberate not magic. Don't just set it up but also take the time to ensure it is working. Better yet also take the time to validate the backup itself can be restored. That's what makes a good administrator.

''Note: You need AromaBackup and AromaCore.''

# Download AromaBackup here: https://www.curseforge.com/minecraft/mc-mods/aromabackup/download/2284754/file
# Download AromaCore here: https://www.curseforge.com/minecraft/mc-mods/aroma1997core/download/2257644/file<br />

[[File:Aroma Downloads.png|alt=Cut Image|none|thumb|Holding CTRL on your keyboard single left click on both: AromaBackup and AromaCore.



At this point you can go ahead and start your server again. By default [[ServerUtilities]] will backup your server every 30 minutes. You can change this in the <code>serverutilities.cfg</code> configuration file which will be located in the <code>''your_instance''/serverutilities/</code> folder. Modifying configuration files is outside of the scope of this guide, however, it is recommended to set the backup interval to be equal to or less the amount of work you are willing to lose. The default rotation keeps the last 12 backups - so the last 6 hours of play. '''''Make sure you have enough space for the world and all its backups! If you run out of space you could corrupt your world save!'''''
Right click on them and select "Cut". (Alternatively you can hold down CTRL and press X on your keyboard).]]
</div>
[[File:Paste Aroma Mods.png|alt=Paste Image|none|thumb|Next we need to go into our server folder. If you've been following along to this guide this will be located here:


=== Chunk Loading ===
<div align="justify">
The 16x16 pieces of the world are called chunks. When a player loads into the world, the server starts to simulate the chunks around them -- it loads these chunks. You want some chunks to remain loaded when you're away. For example, for the machines to continue working, or for the crops to grow.


To have the functionality to load chunks, you need to add ServerUtilities (as of 2.6.0, this is included by default) or FTBUtilities & Library. ServerUtilties is recommended since it's a fork of FTBU modified specifically for GTNH. Do not install both of these at once, only one is necessary.
C:\Users\<username>\Downloads\GTNH-2.0.9.0-Server\mods
* [https://github.com/GTNewHorizons/ServerUtilities/releases Server Utilities]
* [https://github.com/GTNewHorizons/FTB-Utilities/releases FTB-Utilities] and [https://github.com/GTNewHorizons/FTB-Library/releases FTB-Library].


To add the mod(s) to a pre-2.6.0 server, upload .jar files to the "mods" folder. The exact commands (wget/scp) for that are provided in the "mods for backups" chapter above, make sure to remove old version the mods before upload the new version.


After adding the mods, restart both the server and the client. After connecting to the server, you should see new icons to the left of the inventory. You can hide some of the icons through their settings. One of the icons opens a top-down map where you can manage the chunks. You can claim them and then select them again to load them -- a tooltip will indicate if a chunk is claimed or loaded when you hover over it. On FTBLib 1.0.18.5 and FTBUtilities 1.0.18.7, the LMB claims a chunk, Ctrl+LMB chunkloads a chunk, RMB unloads and unclaims a chunk.
Right click on any empty space in this folder and choose "Paste". (Alternatively you can hold down CTRL and press V on your keyboard).]]


If the described way to load chunks is not fitting, the Windows part of the manual describes the alternatives.
</div>


At this point you can go ahead and start your server again. By default AromaBackup will backup your server every 30 minutes. You can change this in the AromaBackup configuration file which will be located in: C:\Users\<username>\Downloads\GTNH-2.0.9.0-Server\config folder. Modifying configuration files is outside of the scope of this guide, however, it is recommended to set the backup interval to be equal to or less the amount of work you are willing to lose.
== FAQ (Frequently Asked Questions) ==
== FAQ (Frequently Asked Questions) ==
<div align="justify">
#How do I connect to my server?
##On the Multiplayer Game you need to add a server and the server address can be (note by default the server is set to use the default Minecraft port which is 25565):
###localhost
###127.0.0.1
#How do I let my friends connect?
##You will need to find out what your external IP address is (you can find this using Google).
##You then need to setup port forwarding on your modem/router (this is outside the scope of this guide and requires special attention to detail for privacy and security reasons - again Google is your friend here).
</div>


{{Template:Navbar GTNH}}
# How do I connect to my server?
[[Category: Guides]][[Category:Multiplayer]]
## On the Multiplayer Game you need to add a server and the server address can be (note by default the server is set to use the default Minecraft port which is 25565):
### localhost
### 127.0.0.1
# How do I let my friends connect?
## You will need to find out what your external IP address is (you can find this using Google).
## You then need to setup port forwarding on your modem/router (this is outside the scope of this guide and requires special attention to detail for privacy and security reasons - again Google is your friend here).

Latest revision as of 20:57, 15 May 2024

A server is a way of running Minecraft that separates the game into two parts. The server simulates the world, while a client displays and handles input/output from each player and rendering the world. The two communicate constantly to create the game; a breakdown of this communication can cause lag. Running GT:NH as a separate server is required for more than one player to access the same world, as BetterQuesting does not support LAN. A Minecraft license is not needed for the server, but each player connecting must have a valid Minecraft account. Servers also need to be online to authenticate joining players.

Pros/Cons

Servers enable multiplayer fun, can improve TPS even in a single player (SP) world on the same machine, allow chunk-loaded areas to run 24/7 for passive resource production, and supports party progress in the Quest Book. There are also downsides to server play. Having machines running constantly can cause breakdowns if maintenance isn't automated or something unforeseen happens in-game. Servers are more complicated to set up than a SP instance of GT:NH and require regular technical support (restarts, backups, updates, lag-busting, etc.) An improperly secured server can leave its host machine vulnerable to DDoS attacks, becoming a bitcoin farming bot, or accessed by 3rd parties. Renting a remote hosting service is safer, but usually carries a monthly fee. If self-hosting, a second computer is usually used to run just the server which has its own cost.

Versions

Servers can run either the Java8 or Java17+ build of GT:NH. JRE 17+ is strongly recommended unless a hybrid server setup is being deployed. Players connecting to the server can run either Java8 or Java17+ with their own launcher; it doesn't have to match the server's, nor do all players need to use the same launcher/Java to play. The version of GTNH (ex. 2.4.0) must match exactly between all clients and the server. If the server updates to a different version, all players will have to update as well to join again.


edit 

Lost?

Any of these computer terms drawing a blank? Not sure what the difference is between a JDK, JRE or Java SE?


Hardware and Specs

Any computer that can run Java8+ can, in theory, be used as a modded Minecraft server. Re-purposing an old machine as a server is a common choice with practical benefits. The most important specs for decent performance will be single thread CPU frequency (Minecraft does not take advantage of multi-core threading), sufficient RAM and lots of storage space. For residential remote hosts, internet connection upload speed will be the limiting factor as both upload and download are used equally for a server. The closer the client(s) and server are to each other, the lower the latency and generally the better the connection will be.

Recommended Minimum:

  • i3/i5 or better processor
  • 6GB of RAM +0.5GB per extra player (early game)
  • 6GB of RAM +1GB per extra player (~UV tier+)
  • 20GB+ storage. Platter is feasible, SSD is preferred

CPUs

You can generally compare CPUs that are on the same architecture (e.g. 13th gen Intels are all largely comparable) but you can't compare across platforms (12th gen and 13th gen are different). This topic also gets even more complicated now that Intel is adopting a mixed architecture on their newer CPUs. The single-threaded benchmark results are good enough for most comparisons, paired with the understanding that more cores does not equal better performance for Minecraft.

Storage

Minimum storage needs depends on number of worlds, range of exploration and frequency of backups. Figure ~1-2GB for an early game world, more as other dimensions get explored, and another 1-2GB for the pack/server files. Each backup is going to be a similar size, so having too many of these will quickly balloon the storage requirements. A SSD is faster and will reduce load/save times for chunks and player inventories. Most of Minecraft runs in RAM and slower platter drives should still be usable if nothing better is available. The suggestions in Low End PCs can be used to help improve performance with lower end machines.

Connection Speed

Connection speeds are rated in Mb / Mbps, or megabits per second. This is not the same as MB, the more commonly known megabytes. One megabit is only 1/8th of a megabyte. Be aware of this when comparing server packages, especially with paid hosts. Companies advertise maximum upload/download rates under ideal conditions, rarely actual values which will vary based on local infrastructure and location. Utilities like https://fast.com/ can be used to check real download/upload speed. Click "Show more info" for upload.

Server Files

While the single player pack is hosted on many launchers, a repository of all releases is maintained on the gtnewhorizons.com domain. Server packs should only be downloaded from there or links in #announcements on the official Discord.

There are two variations of the pack, both for the server and the client. ..._Server.zip is for Java 8, _Server_Java_17_20.zip is for Java 17+. Make sure to pick the .zip file that matches the Java version the server will be running, or it will fail. Unless you have a reason not to, you should use the Java 17+ version as it has better garbage collection & performance on modern hardware. The only major reason not to use Java 17+ for a server is Thermos compatibility - and if you know what Thermos is, you know how to setup your own server more likely than not.

While Java 17 is the most widely tested with New Horizons, any Java build of 17 or later should suffice. Check if any versions of Java are already installed on your machine before downloading more. Oracle's closed source Java will also work with GT:NH, if preferred.

Even though the filenames for the Java 17+ server and client packs seem to imply they're only compatible with Java versions 17 through 20, Java version 21 is also officially supported.

Setup Guides

Platform and Hosting
Windows Linux

Note: The Linux Remote Hosting Certain contains parts that are Hetzner Cloud specific, but most parts should work with other server hosts as well. Ask the GT:NH Discord for help if you have trouble installing.

Server Update

  1. Choose a version. The latest stable will be highest version number linked below, and marked "stable" in the Discord #annoucnements channel.
  2. Download a new server version of GTNH.
  3. Backup your entire server folder.
  4. Delete the config (folder JourneymapServer from config will be needed later), libraries, mods, resources (if present) and scripts (if present) folders from your server folder. e.g., on a Linux server, use the following commands:
    cd you_server_folder
    rm -r config libraries mods resources scripts
    
  5. Replace the deleted folders with the ones from the downloaded archive. Newer versions won't have /resources/ or /scripts/, this is normal.
  6. Transfer any customized config settings. Use your backup as a reference. Do not just copy old /configs/ folders over! Move your changes as necessary or you may miss out on new functionality.
  7. Restore the JourneymapServer folder. This folder contains your world UUID inside a config file. If this file is lost, the server would generate a new map UUID and clients would lose their journeymap map data for your server.
  8. If you are using the Java 17+ version, then update and use these files from the downloaded archive to start the server: lwjgl3ify-forgePatches.jar, java9args.txt, startserver-java9.bat and startserver-java9.sh.

Whitelisting Players

In order to connect to the server yourself or allow other players to connect you must add them to the whitelist. To do this use the following command inside the server console window:
Syntax: whitelist add <playername>

Example: whitelist add shawnbyday

Server Backups

Go ahead and follow the above procedure to stop the server.

As of GT:NH 2.6.0, the server and client ship with Server Utilities, which is the updated GT:NH fork of FTB Utilities. Only if running an older version, you'll need to manually download the most recent release and the file that ends in {numbers}.jar (so 2.0.3.jar, not -dev.jar or -sources.jar). Place the file(s) in your mods directory on the server (and it is recommended to put it on your client, also, so you can get access to claims, chunkloading, etc. See Additional Mods for more details or the repository Readme.

At this point you can go ahead and start your server again. By default ServerUtilities will backup your server every 30 minutes. You can change this in the serverutilities.cfg configuration file which will be located in the your_instance/serverutilities/ folder. Modifying configuration files is outside of the scope of this guide, however, it is recommended to set the backup interval to be equal to or less the amount of work you are willing to lose. The default rotation keeps the last 12 backups - so the last 6 hours of play. Make sure you have enough space for the world and all its backups! If you run out of space you could corrupt your world save!

Chunk Loading

The 16x16 pieces of the world are called chunks. When a player loads into the world, the server starts to simulate the chunks around them -- it loads these chunks. You want some chunks to remain loaded when you're away. For example, for the machines to continue working, or for the crops to grow.

To have the functionality to load chunks, you need to add ServerUtilities (as of 2.6.0, this is included by default) or FTBUtilities & Library. ServerUtilties is recommended since it's a fork of FTBU modified specifically for GTNH. Do not install both of these at once, only one is necessary.

To add the mod(s) to a pre-2.6.0 server, upload .jar files to the "mods" folder. The exact commands (wget/scp) for that are provided in the "mods for backups" chapter above, make sure to remove old version the mods before upload the new version.

After adding the mods, restart both the server and the client. After connecting to the server, you should see new icons to the left of the inventory. You can hide some of the icons through their settings. One of the icons opens a top-down map where you can manage the chunks. You can claim them and then select them again to load them -- a tooltip will indicate if a chunk is claimed or loaded when you hover over it. On FTBLib 1.0.18.5 and FTBUtilities 1.0.18.7, the LMB claims a chunk, Ctrl+LMB chunkloads a chunk, RMB unloads and unclaims a chunk.

If the described way to load chunks is not fitting, the Windows part of the manual describes the alternatives.

FAQ (Frequently Asked Questions)

  1. How do I connect to my server?
    1. On the Multiplayer Game you need to add a server and the server address can be (note by default the server is set to use the default Minecraft port which is 25565):
      1. localhost
      2. 127.0.0.1
  2. How do I let my friends connect?
    1. You will need to find out what your external IP address is (you can find this using Google).
    2. You then need to setup port forwarding on your modem/router (this is outside the scope of this guide and requires special attention to detail for privacy and security reasons - again Google is your friend here).