Learn to Code via Tutorials on Repl.it!

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

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
CodeMaster007 (53)

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

zorahiscool (2)

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

CodeMaster007 (53)

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