Learn to Code via Tutorials on Repl.it!

← Back to all posts
HOW TO RUN A MINECRAFT BEDROCK SERVER ON REPL.IT
zorahiscool (5)

Requirements- Ngrok Account

First start by making a new bash repl.

In the file names main.sh type-
php -S 0.0.0.0:3000 ip.txt & bash mc.sh

Then you want to type this in the console-
wget https://replit.com/@zorahiscool/MCB-Server#mc.sh

Next, you want to make a new file and call in .env.

Then you want to put this in your .env-
ngrok_token=(your ngrok token)
ngrok_region=us

Then type this in the console-
wget bedrock-server-1.16.210.06.zip https://minecraft.azureedge.net/bin-linux/bedrock-server-1.16.210.06.zip

Then type this in the console-
unzip bedrock-server-1.16.210.06.zip

Now start server and you should be good to go!! Enjoy.

Comments
hotnewtop
OtakuGames0774 (0)

They changed how env files work so now im trying to get it to work but i cant figure it out

SparkKnight (0)

I did everything and my server is running, but when I run my repl it shows different port on the Web window and different port on the Console window.
I put both of the ports and tried to join the server via my mcpe but it said Unable to connect to world. , I know this error shows up when we enter a wrong port of the server we are joining.
Please help and tell me how do I join.

jospashd (0)

I cant unzip the file: End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.

jospashd (0)

I also tried copying the replit and adding my own keys but i cant join

M4g0g354re46f19 (0)

I have a problem...I can't run it why?

CodeMaster007 (109)

Cool! I tried to get this working but it says "Minecraft server starting, please wait" and nothing loads.

zorahiscool (5)

@CodeMaster007 Im sorry I forget a step look and read through the updated instructions.

CodeMaster007 (109)

Yeah, no problem. I see its fixed. Cool! @zorahiscool