Hello, today I will be writing a pre-emptive guide to hosting a server privately (so I don’t have to type an 800 words paragraph for every single person asking on the Discord server)
Legends:
Host - The individual who is allowing players to join a world
Peer - The individual who is joining the world
IP Address - Internet Protocol Address, is used together with the port
Port - Five digits between 1-65535, varies in certain situations (for Terracraft, it is entirely definable by the host).
Alright, let’s get started:
- Choose a host, the recommended host will need at least 4-8 Gigabytes of RAM.
- Host the server:
Start TerraCraftServer.exe.
Once you start the executable, you will be sent to the TSWH (Terracraft Server Wizard Homepage):
Enter/Return prompts you to select a world, and continues to the hosting process.
N prompts you to a world creation sequence.
D prompts you to a world deletion sequence.
C prompts you to a world configuration sequence, if you do not know what they do, you won’t need them.
Q exits the executable.
Press Enter/Return and select a world, put in a world ID:
Next, you will have to choose the max number of players that can be in the server at once, and the port (anything between 1-65535), note that you can press enter to auto complete the max players to 8 and the port to 40743.
Once you do so, the server will start, and the peers will be able to join when conditions are fulfilled.
There are three ways for the peer to join the host, two of them being long distance and one of them being local, the simplest way.
FOR THE HOST:
- Local Hosting (the host and the peer must be using the same WiFi, this is NOT online):
Open Command Prompt.
Type in “ipconfig”.
Look for your local IPV4 Address:
In my case, mine is 192.168.1.2, the peer will have to use the aforementioned IP Address to join me.
- Hamachi (the safest online way):
You (and the peer) will need Hamachi, and an account for Hamachi.
You will also have to create a Hamachi network, this can be created by anyone, host or not (you can check out this tutorial made by MProductionists).
Everyone has to be in the same Hamachi network as the host to join the server.
The IP Address that needs to be used is that of the host’s Hamachi IPV4 address, you can get this from:
The third method is port forwarding, but I will not be going over it because it is only for people who knows what they are doing with networking (it will be very clear for them, because they know what to do).
If you aim to start forwarding a port, start elsewhere.
FOR PEER:
The peer will have to add the server to their TerraCraft server list:
Server name can be anything.
Server address must be the IP from one of the above guides for the host.
Server port must be what the host chose (the port is chosen during the hosting process).
Create the server and join.
That just wraps it folks, I hope this contributes to any server hosting that will occur in the near future.
Until then, thank you for reading this, and enjoy TerraCraft!