Running a Minecraft Server on WHAT???
Vložit
- čas přidán 23. 04. 2024
- Got old Android phones? Spare phones? Nothing to do with them? With this, you can run a completely local Minecraft server on the latest version of Minecraft! No root required!
Termux
github.com/termux/termux-app
AnLinux
github.com/EXALAB/AnLinux-App
Commands for Termux
pastebin.com/cqAJDLnF
~
Twitter: / adriantechguy
Telegram: t.me/adrianstech1
Telegram Channel: t.me/adrianstechlights - Věda a technologie
The program is called screencopy, not scrapy
thanks for the correction, it made sense in my head to call it that way lol
@@adrianstech ive been calling it scrapy for ages tbh
What i call it scrapy
I just call it skurpee
@@Lobsturti call it scurpy
more successful than when i tried it using a literal pc
Sorry but, litterally the easiest thing ever.
@@deivisnx I think he means in performance
@@b-fenix5789 bros phone is better than a pc???1?1?1
@@Meletion1 most people don't host the server on their main pc, at least not permanently.
That spare pc can have mixed results.
my spare pc had core 2 quad, so you can imagine the performance.
not that i even get to use it for more then rosting Jellyfin
@@b-fenix5789 you use linux on it, right? Right????
I mean there's way more advanced things u could do with an old phone, those arm chips are pretty powerful and you can relativley eaisly create a kernel with docker support to even run a basic homelab on it
Yee Basiclt a raspberry pi but looks different
@@sebastianclifford2869you can probably install pi os on the phone
@@sebastianclifford2869 yeah
Yes, awesome idea
I almost was crying when you smashed the phone and then I realized.
Same
😭😭
that pixel 6 pro is still capable, i love the google ui, i want a pixel for myself but they are rare in my country
@@AnisTheLxgend what u country live in I live iñ france
@@javario. i am from algeria.
That's how I run my server to play with my friends:
I have an old phone, screen broken, so no use as a normal phone, with Android 10, rooted with Magisk, I use a module to run a Ubuntu chroot distro directly on the system, which I use to run java, and of course, my Minecraft server, it runs really great, as we are only 4 players. To have some extra "boost" I modified it's zram size to 3GB, and I use some commands to disable android hibernation, screen backlight, battery optimizations and so on.
Everything that I need is adb to control the device.
Hey bro can you say exactly say what you did I wanna do it
how did u make ur friends join?
You have to give them the IP to the servers. On console you gotta use a certain app on your phone to make it joinable
@@Kourz I'm having a problem like making it able to play on t laucher and wen I put the "Phones IP" on the computer I can't join it
@@santiagogamerchannel not really sure tbh
Bro the new 1.20.5 uses Java 21! It was announced in the patch notes. You tried installing all the versions.
I have dual Java now 🥶
yo this is actually a great video! keep up the good work
Damn, that's a great video. Great to follow along, i really enjoyed it. With Java 8 you could do a 1.12.2 or 1.8 Server. With Java 17 1.19. Thanks for the idea. Wanted to play 1.12.2 with my friends and had no idea how to do Java 8 on a recent Ubuntu install. I will try it on an old phone I have laying around and if it's working, it'll go on my homelab. :)
That's definitely a great way of repurposing a phone that wouldn't work for daily use!
yay
Actually amazing content, Subbed.
same
I ran a Minecraft Java server on a Nintendo switch using Ubuntu Linux for ARM. (One that could be port forwarded out to the internet of wished) the performance was ok but not great. Could work as a small smp or a server for a few friends. The phone you ran it on was definitely better than that lol. Love the vid. Nice editing!
Haha that's cool
I ran a minecraft server on my old phone (samsung a70, snapdragon 675 6GB ram), it ran really nicely and could handle 5-6 players at 12 chunks 7 sim distance.
I do not recommend giving the server more than half of your total ram. I gave mine 3GB (3072MB) and it ran fine but the moment I went a tiny bit over androids OOM killer just annihilated the whole termux process lol. You could try disabling the OOM with various tweaks but I didn't feel like doing that since I'd need to root
Woah! That was so cool! Idk you could actually host servers on phones I thought people just booted phones into Linux if they’re in cybersecurity.
he got good quality videos, he is too underrated tbh
bro is underrated keep up the good content bro
Wait this is fucking genius. My S10's screen touch is dead. If i get it to run an MC server through ill finally have a use for my favourite phone that doesnt involve destroying the poor thing.
Keyboard and mouse will help with a adapter
@@Meletion1 yeah that's what I plan on using, but I might also use a screen copy tool I've got
On any Linux distribution the capital letter in a choice is the default answer. You can just press enter to select the default answer instead of typing Y and then entering. Also the software you were using for using the phone's screen (scrcpy) is actually (scr)een (c)o(py).
2:15 I relate so much with this bit that is unreal, mine was a S9 with the same screen & touch issues and i did EXACTLY the same.
Yo I've done this before, it was actually a pretty fun project to do when you have free time. Sadly the phone I used sucked so bad that random chunks in the world get corrupted randomly.
Awesome video! Is there any way to like control the server data via a website, like have a dashboard with start/stop/restart file manager and things like that?
It's actually really easy to host your world on Bedrock by enabling multiplayer (it's enabled by default), but it's really nice to see this working with Java!
Servers can be 24/7 and on separate hardware without graphics rendering, and geyser, Java is also... Java, so you get mods, plug-ins, datapacks etc.
So true, bugrock has nothing on us.
@@Meletion1 PocketMine and BDS (Bedrock Dedicated Server), both can run on Termux!
NOOOOO THE PIXEL
For real.
It was stripped naked though
great video! I wonder if it will run much better when using a relatively new iphone?
Amazing video! This is very good knowledge to have.
Man i really shock when i saw his subscribers 😢
This video is so good you deserve a sub
*no way we even got a mc server on mobile Before GTA 6*
damn
I already did this a year ago lol. It's hella more complicated now than it was.
Gta6 is a lot more complicated than this haha
did it years ago, it's not new.
@@Woodman3hella hard my Dumass bought an Android tablet for a car and did a server
that tnt test is fire
pun intended?
@@MutasimosDoesProgramming probably
@@Clyde6790pCZcams it's explosive hahjahaha I'm so funny (this is being ironic btw)
you have to switch verison manualy using sudo update-alternatives --config java [ its a issue on Ubuntu sometimes ]
Didn't know this, thanks for mentioning it
This should be in description
Underrated content 🔥
i ran my server off a Kindle Fire 8 (10th gen) Tablet I do NOT recomend as it was both a pain int compatibility (had to move it to linux mint for some aspects such as undervolting)
it was a great learning experience but don't do it, I use Apex hosting now
(mobile devices are not meant to run heavy tasks and programs 24/7 and cant dissipate the heat correctly 99% of the time, needing to be modified which for me included cutting a massive hole in the back case of the tablet and placing an 80mm 12v fan powered by a janky power supply)
Frankly, I'm not surprised anymore. On my Samsung Galaxy A54 5G phone, I can download all modpacks via java connected to curseforge: RLCraft modpack, SkyFactory all packages; SkyFactory 2/3/4/FTB/One etc. or dawncraft modpack. On top of that, I'm not surprised at all after learning that I can play optifine mod, JEI mod or all the modpacks and mods you can install on the computer. Even opening a server on the phone seems simple :D In the past, I was tired of looking for addons on MCPE and dealing with .mcpack to play Skyfactory on the phone. Now I bought a USB PD supported hub for the phone, I connect the keyboard, mouse and charging adapter to it and log in to the RLCraft servers with the phone.
Can you make a video tutorial on:
1)How to install a fabric server on the phone
2) How to make it so your friends can join
please? Vanilla is alright but i like fabric because of tbe mods.
The Java version for 1.20.4 is openjdk-19. I did setup a raspberry pi minecraft server just recently and still remember that mojang tested 1.20.4 in java 19
Its JDK 17+
worked great for my z fold 3 with enhanced processing enabled as well i blew up so much tnt.
boom
This was SICK. Got it running on my Galaxy S7, how can you edit the files to make it render more chunks?
This video is really underrated! Amazing!
This is amazing.
10:38 That phone did not deserve that.
that "god fricken damnit" was so real when using linux
you deserve more subs
Nobody's gonna talk about his legendary mc name ?
I remember doing this like 2 years ago, it didn't work that bad :)
yo can you do a tutorial on how to port forward it using ngrok
🤔 can put plugins too? or add-ons? or mods?
well i did think of this, thanks!
Pretty cool stuff!
Great video❤❤ A question I wanted to ask if its possible to port forward for anyone to join?
It is, you can port forward using your router's page and doing it how you would with any other self hosted Minecraft server. I tested running it through ngrok and that also worked
@@adrianstechThe mirror for the ubuntu package is down making it impossible to setup the server
@@Woodman3 theirs probably a archive but I'm not 100
Subscribed❤
Is it possible to get a panel running on that phone? Like Puffer or Pterodactyl? I'm more comfortable with those.
I don't know u can do this :D, actually i am after this video smarter +10IQ up
Btw don't stop, u have good and interesting content. U CAN'T STOP!
Hey man, I got a Xiaomi Mi A1 (also known as radiation phone) that has a screen all surrended by dead pixells. I don have ADB activated so what am I have to do?
If i type java xmx 6129.. the error unable to accsess jar file
what keyboard do you have?
LOL i actually created a minecraft on my old phone using termux without a pc and its running really fine
i have a modded minecraft server running on my old phone since 2021 its ez af to setup
any idea if it is possible to write a start.bat file?
I would have love to have that phone :(
can you show how to do this for a bedrock official server? maybe just a few edits or something to the code
Bro trust me ur gonna be famous
best vid on youtube
Can you make another tutorial on how to make this server crossplay Java/Bedrock
"change of plans" got me so hard. dunno why
wdym-
What if i wanna transfer my world from my pc to the termux world, how do i do that? (my device is rooted)
ayo same keyboard nice
Is there anyway to add forge/fabric + mods on the phone server
funnily enough I've done this aswell with a more crappier phone, it does not run well 😅
what if you use papermc though
Me and my friends always make a server on our phone we use aternos but it's laggy and we use pojavlauncher a java edition launcher for Android
If you wanna port forward and your to lazy or dont know how, install a fabric server and install the PortForwarded mod from modrinth!
My friend litterly do exactly this
now idk how anlinux works but after spinning up the ubuntu VM you should have been able to ssh in from windows and make your life a little easier in the regard of using the terminal
Come faccio ad accendere e spegnere il server e se sono da SP ovvero craccato come gioco
such a high production video for a small channel. kudos to you adrian!!
yeah i expect this from a much bigger channel
true
Alreda did this a few years ago :P
OMG why are you so underated???
Lol I just made that a couple of weeks ago just for fun using ADB haha.
thanks for filling me up with this content!
🤨
i love that the hardest part about this was getting the right java version lmfao
can you show how to do it with bedrock server
how can you connect phone to computer ?
U are proffessional! Did u had a successful youtube channel in the past?
This is my first channel
Pixel 6 pro is my dream phone🗿
why cant use termux on android 5 ? it cant open please help
10:33 that hurts man
can you also make a video for fabric server with mods active?
It's the same deal
what do i do if im getting an error Connection refused: getsockopt
Nice video, how do you see a phone screens on ur PC? Without being able to screen at all
Prior he used usb debugging giving shell
@@Meletion1 ok, can u still turn it on using otg adapter and hdmi? Cuz my device display is 100% dead including the touch
@@epiccc2804 probably you can use hdmi I think it works but I'd google it because I wouldn't make a purchase off some stranger like me.
@@epiccc2804
probably?
literally ran a minecraft server on an android tv box like 2 months ago. its Not good.
Wow
we have mc server on android before gta 6
You can play and host server on your phone
10:48 was that necessary? Edit: Thank god it was already broken. My heart!
Can you do modded servers?
unable to locate build essentials
Been doin this for a WHILE
you're pointing out the fact that you're not faking this so much that I'm starting to get skeptical 😂
that creazy
It never connects to one of the GitHub pages making it impossible to get Ubuntu on android. The mirror seems to be down or something.
I wiped the data on my Termux install and was able to install Ubuntu-Termux just fine. Make sure you're on the Termux build off GitHub, and not the Play Store.
@@adrianstech I got mine from the GitHub when I did this, I had also wiped mine. My phone is fully compatible with the stuff you wanted to run. Done this before, just found it to be weird. Might have another try at this tomorrow.
@@Woodman3 yeah, I haven't tried it but alot of people are having the same issue
So I asking can it use as Minecraft bedrock server
The OP7P is funny
That sooooo point less and that's what I love abt this project x)
well if you don't have any other physical device to host a minecraft server on then maybe it could have a point then
It's usefull
cool video this was a fun watch!
certified comment by.. me?