The Minehut External Servers Docs provides a step-by-step guide on how to connect a Minecraft server to the Minehut network.
<aside> ⚠️ External Servers are an advanced feature. Setting up an external server may be challenging if you do not have experience configuring a proxy. In addition, since you are hosting your own server, the Minehut support team will have a limited ability to help.
</aside>
External servers are servers hosted outside of Minehut. In order to connect an external server to Minehut, you first need to pick an external hosting provider and create a server on their platform. The instructions for doing this vary depending on your host, and you will need to figure this part out on your own.
Things to consider
<aside> 👍
Before continuing, make sure that you can connect to your server!
</aside>
Before players can connect to your server through Minehut you will need to set up your server to use Minehut’s authentication service. Players will only be able to join if you complete this step.
Depending on the type of proxy or server you created in Step 1, follow the directions as listed below:
Velocity
Add the following CLI flag to your start script:
-Dmojang.sessionserver=https://api.minehut.com/mitm/proxy/session/minecraft/hasJoined
When you are done, your script may look something like the following:
java -Dmojang.sessionserver=https://api.minehut.com/mitm/proxy/session/minecraft/hasJoined -jar velocity.jar
Bungeecord