Have you ever wanted to run a Minecraft server from your phone? No? Well, now you can. With a set of Reddit endmymisouri user instructions, you can use an unrooted Android device to host a Minecraft server. Seriously, it’s a good way to use an old Android phone or tablet that you may have lying around. Sure, your Android device won’t be particularly powerful as a server, but it will work. I installed a Minecraft server on my Samsung Galaxy Note9 running One UI 2.0 and I was able to join from my computer without problem.
If you are interested, it is recommended to use a phone or tablet with at least 4 GB of RAM. Even if a Minecraft server can easily run on 1 GB of RAM, you will need more RAM so that Android itself does not crash. You should also have a fairly powerful processor since Minecraft needs to do some computational work. If all this sounds good to you, keep reading, because it’s time for the instructions.
Configure Minecraft
- The first thing to do is to download Termux and AnLinux, both available from the Play Store.
- Open AnLinux, slide your finger to the left to open the navigation drawer, then click on “Dashboard”.
- Press the “CHOOSE” button and choose Ubuntu.
- Press the “COPY” button then press the “START” button. Termux should now open.
- Let Termux install if necessary. Hold down anywhere in the terminal window for one second, then choose “PASTE”. Press Enter to let it work.
- Once done, it’s time to start Ubuntu. Enter the following commands:
chmod +x start-ubuntu.sh ./start-ubuntu.sh
- If it worked, you should see a prompt that looks something like
[email protected]:~#
. - You now need to install some dependencies. Run the following commands:
apt install software-properties-common add-apt-repository ppa:openjdk-r/ppa && apt update apt install openjdk-8-jre
- You are now ready to install Minecraft.
- Run:
cd ~/
… To make sure you are in the right directory.
- Then run:
mkdir mc && cd mc
- Now run:
wget -O minecraft_server.jar https://launcher.mojang.com/v1/objects/bb2b6b1aefcd70dfd1892149ac3a215f6c636b07/server.jar
This will download the JAR from the Minecraft 1.15.2 server. If you want another version, you can download the JAR here.
- After downloading the JAR file, run this command:
chmod +x minecraft_server.jar
- So what:
echo eula=true > eula.txt
- Finally, run:
java -Xmx1024M -Xms1024M -jar minecraft-server.jar nogui
This will run the Minecraft server with 1 GB (1024 MB) of RAM. If you want to give it more or less RAM to work, change the number “1024M” in the -Xmx argument.
- Let it start.
If all went well, you will now have a Vanilla Minecraft server running on your Android device!
For more advanced instructions, such as SSH access, installing Forge, and publishing your server, be sure to visit the original Reddit thread.
Want more messages like this in your inbox? Enter your email to subscribe to our newsletter.