Jump to content

Server Setup: Difference between revisions

m
Remove excessive capitalization of the headers -- it brought visual bloat, in my opinion
(Add Table of Contents)
m (Remove excessive capitalization of the headers -- it brought visual bloat, in my opinion)
Line 3:
 
{{Box-round|title=Java9 Servers|Java9 servers should be fully configured as downloaded. For additional instructions consult https://github.com/GTNewHorizons/lwjgl3ify#server}}
==Server Updateupdate (All Platforms)==
# Check in [[Dev Release Stability]] that the version you want to update to is stable enough.
# [http://downloads.gtnewhorizons.com/ServerPacks/ Download] a new server version of GTNH.
Line 16:
# 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>.
 
==Server Setupsetup for Linux (Oracle Cloud)==
===Warnings===
* In less than half a year, Oracle has changed the terms of the Always Free tier from 4 TPU cores and 24 GB ram to 3k OCPU hours and 18k GB RAM hours. They can change the rules again in the future. Be wary.
Line 283:
 
===Improvements===
====More Spacespace====
It's very likely that 50GB will not be enough for a lategame server. You will need more storage space.
 
Line 299:
# Optionally, you can make the block-volume to mount automatically when the instance launches. Use [https://docs.oracle.com/en-us/iaas/Content/Block/References/fstaboptionsconsistentdevicepaths.htm#fstab_Options_for_Block_Volumes_Using_Consistent_Device_Paths this] manual. However, be very careful on this step. As written at the bottom of the manual, you can brick your instance if you make a mistake and would have to use the site-console to revert changes. However, the result is well worth it -- you won't have to remember how to mount a block-volume if you need to restart the instance.
 
====Chunk Loading-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.
 
Line 310:
If the described way to load chunks is not fitting, the Windows part of the manual describes the alternatives.
 
=Server Setupsetup for Windows=
==Warnings==
This part of the guide was last revised in November 2020 with version 2.0.9.0. The download links are compatible with each other.
Line 325:
*FAQ (Frequently Asked Questions)
 
===DownloadingDownload the Filesfiles===
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.
 
Line 334:
''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 />
 
===Server Setupsetup===
====Step 1: Extract the Serverserver Filesfiles====
 
[[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.]]
 
====Step 2: PreparingAgree to Start the ServerEULA====
 
[[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.]]
Line 347:
By setting the text of the EULA.txt file to true you are agreeing to the [https://account.mojang.com/documents/minecraft_eula following] EULA.
 
====Step 3: Starting and StoppingRun the Serverserver====
 
Starting the server at this point is very straight forward. Simply double click:<syntaxhighlight lang="text">
Line 368:
<br />
 
====StepWhitelist 4: Whitelisting Playersplayers====
 
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">
Line 376:
</syntaxhighlight>
 
===Server Backupsbackups===
Go ahead and follow the above procedure to stop the server.
 
236

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.