- Docker
- Docker-compose
- Clone the repository
- Install the server:
- β‘οΈ Command line :
wget https://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.7.2_Server_Java_17-21.zip(you can replace the version with the one you want, must be for java 17-21) - β‘οΈ Manually : Go to the server install at GT New Horizons Server Pack. Install the latest version of the server pack for java 17-21 (
β οΈ latest version tested is 2.7.2, if you have a newer version, you can try to use it, but I don't guarantee that it will work).
- β‘οΈ Command line :
- Unzip the downloaded file in the same folder as the docker-compose.yml file and rename the folder to
config - Update the
config/server.propertiesfile with your server settings (see below) - Update the
config/eula.txtto set the EULA totrue
The folder structure should look like this:
The folder structure should look like this:
/GT-NEW-HORIZON-MC
βββ /config
β βββ eula.txt
β βββ server.properties
βββ docker-compose.yml
βββ Dockerfile
All the settings can be found in the config/server.properties file.
You can set all the properties as the default value, but I recommend you to change white-list to true to be able to join the server and play with your friends.
To play with your friends, you set the white-list to true and add your friends in config/whitelist.json file.
Set content like this:
[
{
"uuid": "UUID_PLAYER1",
"name": "Player1"
},
{
"uuid": "UUID_PLAYER2",
"name": "Player2"
}
]UUID is the player uuid, can be found here
The folder structure should look like this:
/GT-NEW-HORIZON-MC
βββ /config
β βββ eula.txt
β βββ server.properties
β βββ [...] other files
β βββ whitelist.json
βββ docker-compose.yml
βββ Dockerfile
- Open a terminal and go to the folder where the docker-compose.yml file is located
- Run
docker-compose up -d(this can take a while, for me it took about 10 minutes with 15GB of RAM) - Go to your minecraft gt new horizons client and join the server ("YOUR_SERVER_IP:25565") (if the client says that the server is still starting, wait a few minutes and try again)
If you have any problems, please open an issue, I will try to help you.
- Joss C. (GitHub)
