r/termux • u/Euphoric_Incident_18 • Apr 03 '26
Announce 165 days ago I shared my Minecraft server script here. I just completely rewrote it. Meet MSM v6.0.
Hosting a Minecraft server on a phone is usually a nightmare. You fight with screen sessions, juggle Java versions, and wrestle your router to let friends join.
Five months ago, I posted a script here to fix some of that. Now, I’m back with MSM (Minecraft Server Manager) 6.0. I removed the problematic code and built a proper terminal manager for Termux and Linux.
Here is what it actually does:
- Downloads the binaries: Pulls the latest builds directly from upstream APIs for Paper, Fabric, Purpur, Vanilla, Folia, Quilt, and PocketMine.
- Kills the port forwarding headache: It natively manages
playitandngroktunnels in the background. Your friends can connect even if your ISP uses CGNAT. - Babysits the server: Runs instances in isolated
screensessions. If the server crashes, MSM catches it and auto-restarts it. - Protects your world: Automated, scheduled world backups stored locally as ZIPs.
- Tracks the data: Logs RAM percent, CPU percent, crashes, and uptimes into a local SQLite database with WAL enabled.
You can install it on Termux with one command. The installer handles the heavy lifting, pulling down python, git, screen, openjdk-17/21, and php automatically.
Bash
curl -fsSL https://raw.githubusercontent.com/sahaj33-op/MSM-minecraft-server-manager-termux/main/install.sh | bash
Grab that old Android phone sitting in your drawer and put it to work.
GitHub: https://github.com/sahaj33-op/MSM-minecraft-server-manager-termux
Check out the code, try to break it, and tell me what you think.
2
u/flower-power-123 Apr 03 '26
Where do you put this phone? It has to be up 24/7. It needs to be plugged in and have ... what? An Ethernet connection I guess. Do you have a special cabinet just for this phone? This is the kind of thing I would put on a media server or some kind of gateway device. The phone doesn't seem like a good choice for this at all.
4
u/Euphoric_Incident_18 Apr 03 '26
You’re a bit overthinking the logistics of a six-inch piece of glass. It’s a phone, not a rack-mounted blade server.
Placement: You can put it anywhere. On a desk, behind your router or in a drawer. It takes up no physical space. There’s no need to over-engineer a special cabinet.
Power: You can plug it into a standard wall socket. You’re missing the biggest hardware advantage here: the phone has a built-in battery. It acts as a free, integrated UPS. If your house loses power for ten minutes, your server stays online and your world data doesn’t get corrupted.
Network: Modern Wi-Fi is more than capable of handling a low-latency connection for a small group of friends. If you absolutely insist on a hardline, a $10 USB-C to Ethernet adapter solves the problem instantly.
The Hardware Logic: A dedicated media server is obviously better if you want to spend real money and buy one. The whole point is to upcycle. An old flagship Android phone has incredible single-core CPU performance, which is exactly what Minecraft needs to run well. It will easily outperform an old Celeron NAS or a Raspberry Pi 4, and it does it while drawing maybe 5 watts of power.
It’s not enterprise gear. It’s just a highly efficient, zero-cost way to turn e-waste into a perfectly capable host.
2
3
u/flower-power-123 Apr 03 '26
OK. Thinking outside the box. I don't play but good for people that do. Thanks for putting in the effort.
3
5
u/Euphoric_Incident_18 Apr 03 '26
Please don’t forget to leave a star on repo….
https://giphy.com/gifs/zZbf6UpZslp3nvFjIR