Building a Minecraft server on a Raspberry Pi This involves setting up a Raspberry Pi to host your Minecraft game.
Building a Minecraft server on a Raspberry Pi This involves setting up a Raspberry Pi to host your Minecraft game.
You have the ability to try and see if it works, I believe it won’t function properly. However, keep in mind: Nat routing when using home internet to connect to the server (often called opening ports). Some essential tips for Linux command line. It’s suggested to set up a lightweight Linux system for Pi 2… possibly Arch Linux or Raspberry Pi OS (Puppy). I haven’t used a Pi 2 before. On most Pi 3 or 4 I use Ubuntu, though they warn against using Mate on Pi 2. For a basic server, install Java OpenJDK 8 and OpenJRE 8 ARM versions (some sources suggest 7 for Minecraft, but 8 offers better performance). I run Forge even if it’s vanilla or modified. Get the Forge 1.16.3 installer from the official site (recommended version 1.16.3 - 34.1.0). Make a folder for your Minecraft server and put the installer inside. Run this command: java -jar forge-1.15.2-31.2.0-installer.jar --installServer. Wait for completion, then set up server.properties (confirm your IP, choose LAN IP if using home internet, pick static IP instead of dynamic), and agree to the EULA (eula.txt). To start the server simply execute: java -Xmx1G -Xms1G -jar forge-1.16.3-34.1.0.jar nogui. Of course, you can adjust settings a bit more, but this is the first step to verify if the server launches correctly.