Raspberry Pi 4 - Minecraft Bedrock Dedicated Server (Part 1 - Nukkit)

Subscribers:
1,330
Published on ● Video Link: https://www.youtube.com/watch?v=P3vK-Jtj0FM



Minecraft
Game:
Minecraft (2011)
Duration: 17:14
29,571 views
0


BLM are a terrorist organisation founded by communists. This video was made by a white person. Minecraft was made by a white person. White history matters.

Save lives, stop wearing masks, stop social distancing, stop hiding from a virus which is less deadly than the stupid people telling you it is. You're killing yourselves, you're killing future generations by following snowflakes. Get educated.

Fight the enemy. Words don't work, fight back.

Slowly migrating over to BitChute: https://www.bitchute.com/channel/EcD5VVAOKtOw/



Part 2 (Java Edition): https://youtu.be/NMg76s4Ws2w

Raspberry Pi 4 dedicated server playlist:
https://www.youtube.com/playlist?list=PLoKC73clba2Kn_eRi3V0SrYcTXQIdOnWM

This was sort of requested. I hate Minecraft, have no interest in every playing it but I was curious about performance.

This is sort of split in to 2 parts covering both 'cost' Minecraft versions. Part one is for Bedrock Edition (such as Desktop and mobile). Part 2 is for the old Java Edition.

Minetest is a free version of Minecraft and the one I'd play, if I had a choose. I haven't made a video for this, but I have run the server on this 4GB Pi 4. Perforamnce was slightly better than the base installation of Nukkit. Both Nukkit and Minetest come with no plugins and minimal functionality, which is likely why they perform so much better than Java Edition servers.

Turns out the Pi 4 can run any of the servers quite well. CPU usage on the Java Edition can hit up to 390% if pushing it hard with only a single player (flying around to new areas). Popup is always slow regardless of settings, presumably there are bottlenecks on the CPU which makes the 4GB of memory almost redundant.

In part we're installing and using OpenJDK. In part 2 I uninstall and switch to Oracle Java to check for performance differences. That's on a Java Edition server as it's way more CPU intensive out of the box.


My Equipment / Prerequisites:
=============================
- Pi Model 4
-- With 64GB class 10 SD card (U1)
-- Using ethernet.
-- I have the 4GB version
- I have a small fan on my Pi 4 which I took off my old Pi 3. There's no mount so I just taped it on. it doesn't make a big difference to core temp, but it's better than nothing.
- Raspbian Buster with desktop (10/07/2019)

- Desktop PC
-- i7-5820K, 16GB DDR4, NVIDIA 1060 6GB, mechanical drives.
-- For installing Minecraft client and testing server.


Resources:
=========
- Minecraft Nukkit server
-- https://github.com/Nukkit/Nukkit
-- Direct download because the Git link isn't working (at the moment):
--- https://drive.google.com/file/d/1QdXoiZetHTAN12gUlC8q6ErgxfOFhoOR/view?usp=sharing
- That Python temperature script
-- https://drive.google.com/open?id=1qtmqnFUZpam9s7H3Stk5R4TsSulbmLZl
- Nukkit mob plugin
-- https://nukkitx.com/resources/mobplugin.3/


Timestamps:
===========
00:00 - 01:10.... Intro
01:10 - 05:54... Server and OpenJDK installation
05:54 - 07:00... Playing/benchmarking
07:00 - 08:46... Garbage collection example
08:46 - 12:19... Changing properties, increasing server memory to 2GB
12:19 - 13:32... Playing/benchmarking (2)
13:23 - 14:10... Garbage collection (2)
14:10 - 16:06... Playing/benchmarking (3)
16:06 - end... Summary







Tags:
pi
pi 4
raspberry pi
raspberry pi 4
minecraft
dedicated server
guide
how to
nukkit
minecraft dedicated server
bedrock
setup
performance



Other Statistics

Minecraft Statistics For 1738 Creations

Currently, 1738 Creations has 59,679 views for Minecraft across 4 videos. The game makes up 1 hour of published video on his channel, or 1.57% of the total watchable video for Minecraft on 1738 Creations's YouTube channel.