-
1Step 1
I am going to assume anyone following this tutorial is familiar with booting a Raspberry Pi. Contact me if you need help with this part. Start with a fresh copy of Raspbian. Burn it to your SD card and boot up. At the Raspi-Config screen that pops up on the first boot, we will need to configure a few things.
-
2Step 2
First, expand the file system. We will need that extra space for the world you are about to create. Next, change the password to whatever you want it to be. After that, change the International Options to reflect wherever you live and the appropriate keyboard layout. To make the Raspberry keep up, it will need to be overclocked. Go to the Overclock settings, approve all the warnings, and set to Turbo. Under Advanced Options, change the hostname to something clever if you want, set the Memory Split to 16 and enable SSH. Approve these settings and let the Raspi reboot.
-
3Step 3
Once rebooted, log in with username pi and your new password. Run updates (btw, you need to be connected to the internet through the ethernet port for a while) by typing 'sudo apt-get update' and then 'sudo apt-get upgrade' This will take a while, so go do other things for a while.
-
4Step 4
After the updates are installed, do another reboot, as the kernel was probably updated as well. When it comes back up, we need one more program and a two files. Type 'sudo apt-get install screen' to install a really useful program we will use later. It allows multiple "windows" in a terminal so Minecraft wont shut down every time you exit the terminal.
-
5Step 5
Download PiFi by typing 'wget https://cdn.hackaday.io/files/4224180719616/pifi.sh'
Download Minecraft by typing 'wget https://cdn.hackaday.io/files/4224180719616/setup'
Both of these files need to be made executable. Do this by typing 'chmod +x pifi.sh' and 'chmod +x setup'
-
6Step 6
If you have already inserted the Wifi dongle, power off the Raspberry and take it out. Pulling it out while the Raspberry is running may corrupt your filesystem on the SD card. Now that you are running without the Wifi dongle, lets set up the AP. Adafruit has made a wonderful script that walks you through the whole process seamlessly (as long as you have the right drivers on the Wifi dongle).
From your home directory, where you probably already are, type 'sudo ./pifi.sh'
Follow the guidelines, create a Wifi name and password. If you are reading the lines on the screen during the setup, you will see errors. This is OK. It will reboot and you will see another error about hostapd not starting. This is OK too. Power off the Raspberry, insert the WiFi dongle start it back up. Those error messages should now be gone, and if you use a laptop, smart phone or tablet, you SHOULD see a new wifi connection. Congrats, it worked!
-
7Step 7
This, in itself, is a complete wireless router. If the ethernet cable is connected to an internet connection, then anything connected to the Raspberry's wifi connection should be online as well. If you disconnect the ethernet, the wifi will still work, but it will only be a local wifi network, which is just fine for a Minecraft LAN party. Next we will set up the Minecraft server.
-
8Step 8
I wrote this script to make the server setup go just as easily as the AP setup. To get it going, type './setup' and follow the prompts. This script downloads the bukkit server, modifies the properties files to your liking and creates a startup script.
-
9Step 9
The server is now installed and the AP is up and running. To start the server itself, we are going to start with a new screen. Type 'screen -R Minecraft' to get a new screen. Next go to the Minecraft folder by typing 'cd Minecraft' then type './start-whatever' for the appropriate type of Pi or Linux distribution you are starting the server on.
The initial start is going to be REALLY slow. It has to create the world, spawn points, etc. After this first server start, starting the server will be a faster process (not fast, but faster than the first time) To exit the "Minecraft" screen but keep it running, hit Ctrl+A then D. This [D]isconnects you from that screen. To go back to it, type 'screen -r Minecraft'. Notice the small -r instead of the big -R. R creates a screen with the name you give it, if it doesnt already exist, or connects to the preexisting screen with that same name. The little r only connects to a preexisting screen. Exiting and closing out a screen session is the same as from a standard terminal. Just type exit.
-
10Step 10
Connect your client computers to the server by adding a new server. The address will be 192.168.42.1 over the wifi AP. If the Raspberry is connected to another router, you can also access the server from the ethernet IP address if your client is connected to the same network.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
dream pet link kostenlos spielen is a tile-matching puzzle game where players connect pairs of pet-themed tiles.
Are you sure? yes | no
Mojang offers a free trial for players interested in trying Minecraft for PC Download. The trial version is available for PC, consoles, and mobile devices. This is an excellent way to experience the game without any cost for a limited period.
Are you sure? yes | no
Spotify apk is a uncommon adaptation of the Spotify app. It gives you all the premium highlights for free. You can tune in to music without advertisements and skip melodies as much as you need.
Are you sure? yes | no
<a href="https://spotifypremiumapk.download/"><strong>Spotify apk</strong></a> is a uncommon adaptation of the Spotify app. It gives you all the premium highlights for free. You can tune in to music without advertisements and skip melodies as much as you need.
Are you sure? yes | no
While setting up a Raspberry Minecraft Server, it's assumed that those following the tutorial are already comfortable with booting a Raspberry Pi. If you're new to this, feel free to reach out for assistance. Begin with a clean Raspbian installation on your SD card and boot up. When you reach the Raspi-Config screen during the initial boot, certain configurations will be necessary. Similarly, when considering the cost of Minecraft for PC Download it's important to have a clear understanding of the requirements and setup process to make the most of your gaming experience.
Are you sure? yes | no
pifi.sh is a bash script that will walk you through setting up the wireless access point on the raspberry. It needs to be run as root so it can change the appropriate files in the system. Setup is another bash script that sets up the Minecraft server. Run this as a normal user. Running it as root will cause errors later when you start it up. It wont be able to write to its own files because they will be owned by root instead of the user. The version of Raspbian shouldnt matter. The version I used was the current version as of when I wrote the tutorial. It comes preinstalled with java, which is the important thing. If I remember correctly, I have had 3 playing at the same time on a B+. I havent installed this on the Pi 2 yet, but after seeing how much faster it is than the B+, I feel sure it can handle a few more people as well.
The network question can get complicated. If the system isnt hooked up to anything, then you can only play over the wifi network it is broadcasting (192.168.42.1). If it is also hooked up to a router, then you can connect to it by the IP address the Raspberry has on the routers network as well (192.168.1.X for example). At that point both will work. You can have friends connect wirelessly over the router, wired through the router, and wirelessly from the Raspberry access point, all at the same time. If friends want to play from somewhere that isnt connected to your network (like their house), then router configurations will need to be changed (port forwarding) to enable them to connect. There are forums about that as well. It isnt hard.
Are you sure? yes | no
So I have tried to set up a server with instructions before, and none have worked. I think the main reason is because i running the newest version of Raspbian with Minecraft pre-installed. Will this work on that version of Raspbian?
Are you sure? yes | no
The version of Minecraft that comes on Raspbian is an altogether different thing from the mainstream version. It doesnt require java, and is ported from the Android version of the game (Minecraft Pocket Edition). This tutorial is purely to create a server that you will connect to with a client computer that has the normal version of Minecraft installed. In this case, we wont be using the pre-installed version of Minecraft at all. Let me know if that doesnt makes sense.
Are you sure? yes | no
Okay, yes that makes sense. I do have somethings that I do need clarified. When I type 'sudo ./pifi.sh', it will prompt me for a WiFi name and password for me to setup? And when I type './setup', do I need to run as a root, or can I run it in standard user. And how many people can play on this, and can they play on a different network than the server is on? Finally what version of Raspbian are you running? Would you post the download link in the next comment please?
Sorry if i am annoying you. :
Are you sure? yes | no