The following prerequisites are required to create a Minecraft network:
For the purpose of this guide we’re going to use the simple-network example as a pre-configured Minecraft network.
Download Gate as a zip and extract the
Being inside the
examples/simple-network folder you see a
config.yaml for Gate configuration.
# This is a simplified config where the rest of the # settings are omitted and will be set by default. bind: 0.0.0.0:25565 onlineMode: true servers: server1: localhost:25566 server2: localhost:25567 try: - server1 - server2
Gate will listen for connection on all IPs on the host at port 25565 (default port) and register two servers that players can be redirected to.
Looking inside the server folders we:
Make sure you have a terminal open inside the same path as the
config.yaml and run the Gate binary with:
-h flag to display help.)
In the same directory you find a
server2 (folder names are not of importance).
Open a terminal for each server inside the appropriate directory and start the server jar:
java -jar <server.jar>
The first start will generate all other files.
Now you can join
localhost:25565 with the appropriate Minecraft client version and use the
/server command to switch your server!
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.