If I were going to do it again more seriously, I'd probably get a cheap mini PC and use that instead, but for what it was - me and a friend rediscovering Minecraft after having not played it probably in about 5-10 years - the pi4 held up pretty damn well. I also restarted the server every night, which worked reasonably well as a sort of ultimate GC. Most of our contraptions were turned off by default, or designed not to be too laggy. * Whenever things started lagging, I went on a killing spree for our main farms, and that tended to work well enough. Third, you can install a Minecraft spigot server, with. Paper by default comes with a bunch of optimisations, I enabled some more, although I also disabled some that were interfering with the more technical areas of Minecraft that I enjoy more. But a second option is to install R on the Raspberry Pi itself there are a couple of small headaches. * I used Paper instead of the normal Minecraft server, and I ended up spending a decent amount of time optimising the configuration. * As someone else said, overclocking helped, and I had a reasonable passive cooling case to help there. Your friends and you are now able to join the server with that new custom hostname! No more need to give your IP address to other.It's hard! I only had two users consistently (myself and a friend, and occasionally guests but they taxed the system a lot so it wasn't very often), but I still even up having to fiddle around with a lot. In a few minutes you will be able to enter your minecraft server with "your_hostname:25565" or "your_hostname". Enter your IP address and create an hostname. To do that create an account on and create a new hostname, it should look like the picture above. Now you are going to redirect your IP to a custom hostname. If he can join you can continue to the next step. When you finished opening the ports, ask a friend if he can join the server using: "your_ip_address:25565" or just "your_ip-address" (you can find your ip address on ). To start you need to open port 25565 TCP/UDP, to do that access your router configuration on a web browser but because there is way too many different router I won't be able to help you on that so search online for information about how to open ports on your type of router. If you want to play online with your friends you will have to open ports and redirect your router IP so that you're safe from other knowing your IP. The server is now started and you can join it by using your raspberry pi's ip address in the multiplayer section on minecraft and adding the server. After doing that you can shutdown your Pi with: sudo shutdown now. If you want to stop the server, type and "stop", but do not shutdown your Pi before doing that. Now you may want to create a small shell script to launch the server easier: nano start.shĪnd inside it type: java -Xms2021M -Xmx2021M -jar paper.jar noguiĪnd make this script executable with: sudo chmod +x start.sh There server will close after a few seconds, but don't worry that's normal, it just asks you to agree the EULA, and you can agree them with: nano eula.txtĪnd changing the eula=false to eula=true. You can now start the server: java -jar paper.jar I recommend renaming the server file so its easier to type, I will rename it to paper.jar: sudo cp paper-x.xx.x-xxx.jar /home/pi/minecraft/paper.jarsudo rm paper-x.xx.x-xxx.jar (Don't forget to check to see if there is not a new version available, and replace the link with the new version) Now you can get the server file, don't forget to remove the parenthesis: sudo wget "" You can enter the directory with: cd minecraft You will now need to create a minecraft server folder so everything can be organized: mkdir minecraft
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |