Learn to Code via Tutorials on Repl.it!

← Back to all posts
Host A Minecraft Server on Repl.it!
Indigos1st (2)

Host A Minecraft Server on Repl.it!

In this tutorial we will be leaning how to create a Minecraft Java server hosted on repl.it.

Many people have wanted a Minecraft server before but they don't want to play expensive fees to host one. In this tutorial I will be showing you how to create a Minecraft server in repl.it for free.

You will need
1. a repl.it account
2. hacker plan (optional if you want your server to be on 24/7)

How to do it
1. first fork the project
2. run the project
3. It will ask for an ngrok token
4. to find your ngrok token click here
5. you may have to create an account if you haven't already
6. you ngrok token will be the text covered in red in this image DO NOT SHARE YOUR NGROK TOKEN WITH ANYONE
7. follow the steps in the terminal when running the program

How to join the server
1. load minecraft
2. click multiplayer
3. enter the ip from ip.txt
4. enjoy the world

How to update the server to the latest version
1. go to https://www.minecraft.net/en-us/download/server/
2. click the button as shown in this image
3. replace the server.jar file on the repl.it project with the server.jar file you created
4. your Minecraft Server is now updated and ready.

Host the server 24/7
sorry but this is for people with the repl.it hacker plan. If you have it great! all you have to do is click the always on button in the repl.it project.