![]() (from here on in, you can ssh into the Pi using PuTTY or any other tool and do this, and unplug the Pi from your screen. Set timezone, locale and keyboard layout, fix any overscan settings if you have to and then choose Overclock and set it to modest (this will NOT void your warranty).Ĥ) Now, select memory split and set the GPU memory to 16mb (you won't need to run startx for this guide so you'll want to set as much RAM free as you can for the server) ![]() You'll want to connect your Pi to a screen using HDMI or the SDTV connector before you connect the Micro USB cable.ģ) raspi-config should come up on your screen. This guide isn't too complicated or hard to follow, but it's a bit long!ġ) Flash an SD card (I'm using a 2GB) with Raspbian wheezy (follow the instructions on )Ģ) Put the SD card in the Pi, connect an Ethernet cable (I have no idea how Wifi performance is for this) and connect a Micro USB cable. 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.After tinkering with my Pi for a while, I found out a way of creating a Minecraft server. 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 |