Learn to Code via Tutorials on Repl.it!

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

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
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 (105)

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

zorahiscool (4)

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

CodeMaster007 (105)

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