Server Setup

= Server Setup for Windows = '''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.'''

IF YOU FOLLOW THIS GUIDE AND TRY TO CONNECT YOUR LAUNCHER MAY HAVE DOWNLOADED THE LATEST CLIENT INSTEAD!

In this guide we will walk through:


 * Downloading the Files
 * Server Setup
 * Starting and Stopping the Server
 * Server Backups
 * FAQ (Frequently Asked Questions)

Downloading the Files
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.


 * 1) Download the server pack from here: http://downloads.gtnewhorizons.com/ServerPacks/
 * 2) Download MultiMC from here: https://files.multimc.org/downloads/mmc-stable-win32.zip
 * 3) Download the client pack from here: http://downloads.gtnewhorizons.com/Multi_mc_downloads/

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

Step 2: Preparing to Start the Server
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

Step 3: Starting and Stopping the Server
Starting the server at this point is very straight forward. Simply double click:

Note: It will take quite some time for the server to startup.



In order to stop the server simply type the following and press enter: The server will scroll some information by and then the window will close when it shuts down entirely.

''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.''

Step 4: 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:

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

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.


 * 1) Download AromaBackup here: https://www.curseforge.com/minecraft/mc-mods/aromabackup/download/2284754/file
 * 2) Download AromaCore here: https://www.curseforge.com/minecraft/mc-mods/aroma1997core/download/2257644/file

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

Right click on them and select "Cut". (Alternatively you can hold down CTRL and press X on your keyboard).]] [[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:

C:\Users\ \Downloads\GTNH-2.0.9.0-Server\mods

Right click on any empty space in this folder and choose "Paste". (Alternatively you can hold down CTRL and press V on your keyboard).]]

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\ \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)

 * 1) How do I connect to my server?
 * 2) 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):
 * 3) localhost
 * 4) 127.0.0.1
 * 5) How do I let my friends connect?
 * 6) You will need to find out what your external IP address is (you can find this using Google).
 * 7) 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).