Learn to Code via Tutorials on Repl.it!

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

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.

Voters
Edgarin350
rdempsey
CraftyRyteRyte
nicknase27
ragik
VitalLifeOficia
JTpotato
TechV
s1f2z3
Indigos1st
Comments
hotnewtop
RedstoneRadiant

how to add custom domain

Grantrocks
RedstoneRadiant

@Grantrocks
Would it work for replit? Since the IP is dynamic.

Grantrocks

@RedstoneRadiant idk about replit they dont allow it but somewhere else maybe

RedstoneRadiant
mhamadhamada124

Failed to download vanilla jar
javax.net.ssl.SSLProtocolException: Received close_notify during handshake
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:129)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:356)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:312)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:303)
at java.base/sun.security.ssl.Alert$AlertConsumer.consume(Alert.java:250)
at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:202)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:171)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1497)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1403)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:441)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:412)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:574)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1653)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
at java.base/java.net.URL.openStream(URL.java:1167)
at io.papermc.paperclip.Paperclip.checkVanillaJar(Paperclip.java:191)
at io.papermc.paperclip.Paperclip.checkPaperJar(Paperclip.java:122)
at io.papermc.paperclip.Paperclip.setupEnv(Paperclip.java:95)
at io.papermc.paperclip.Paperclip.main(Paperclip.java:49)

Arrows12

how to add custom domain

start8417

How to use commands?

Evo-Pro

It says "Can't keep up! Is the server overloaded? Running 2829ms or 56 ticks behind"

SaiSaaketh11

error status 137 i am getting this error when i run it

Gimmieurdata
s1f2z3

TY

IntellectualGuy

Private Repl

Indigos1st