I forwarded a port so people outside of my LAN could join the server (I followed this guide). Next, I edited the paper.yml, bukkit.yml, and spigot.yml configuration files according to this guide.Īfter these optimizations, the server runs at around 15 to 20 TPS, which is good enough for me. java -Xms100M -Xmx750M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 =true -jar paper-1.16.5-466.jar nogui First, I used Aikar’s optimization flags for the JVM and changed the max memory value to 750 MB. My Raspberry Pi model only has 1GB of RAM, so the server was very slow at first. So, I had to specify the amount of RAM to allocate, and then it worked: java -Xmx100M -Xms500M -jar paper-1.16.5-466.jarĮverything else was the same as the tutorial. We can skip directly to making a folder for the Minecraft server and downloading the file into that folder: mkdir /home/pi/minecraft You can get the link for the latest build on the downloads page. The Paper JARs are pre-compiled, so there’s no need to compile it on the Raspberry Pi. Unlike the tutorial linked above, we’re using Paper. ![]() You can access the configuration menu with: sudo raspi-config Setting up Paper I also configured it to be headless (so the GUI Desktop is disabled). I used SSH to connect to my Raspberry Pi. I mainly followed the instructions in this tutorial, with a few differences. Here is how I set it up: Setting up the Raspberry Pi I used a Raspberry Pi 3 Model B and the PaperMC server. I recently created a survival multiplayer Minecraft server to play on with my friends.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |