Okay, this is cool. I use Git for all my personal projects because it's free and easy to use. This addition called Ungit makes it even easier to manage git without using the command line. Check it out


Minecraft is the ultimate sandbox auto-generated open-world awesomefest. It's packed with stuff to do, and yet demands nothing from the player (except to not die in survival mode). There are no quests. There are no rules. You literally are dropped in a world with nothing and you must figure everything out on your own (or look it up on the wiki).

Anywho, there are plenty of tutorials online that show you how to setup a Minecraft Server on the Mac, but I could not find one that starts from initial setup of the server to making it available to the world. So that's what this is all about. I would normally just run the server on a Windows machine since it's way easier, but I had a spare mac lying around I was not using. Without further adeu, let's get started.

Starting the Server

This is the easy bit, but it's important to at least know the terminal command to start up the server.

  1. Check your installation of Java. It should be installed automatically by Apple Updates, but to check, open up a Terminal window (Terminal is in Applications->Utilities) and type 'java -version' (without quotes). If it is installed, it will show you the version info. If not, use Apple Update to update your Mac or download it online if possible.
  2. Go to and download the server (minecraft_server.jar).
  3. Find a location on your machine to store the server (e.g. ~/Desktop) and create a folder there called 'Minecraft Server' or whatever. Move the minecraft_server.jar into the newly created folder.
  4. To start the server, go to a Terminal window and navigate to its location (a la ~/Desktop/Minecraft\ Server), and type the following command: 'java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui'. To give you an idea of what that does, it's executing the java command which executes the minecraft_server.jar. The -Xmx1024M and -Xms1024M are allocating memory to be used by the server (it's not dynamic), the -jar signifies that it's a jar file, and the nogui is an input to the server saying you'll just use the terminal for log info, thank you very much.
After the server has started successfully, a slew of files will be dumped to the location. This is normal.

Publishing the Server

This part can be tricky because all routers are different. Regardless, I hope this will provide a little more insight than what you'll find elsewhere on the net.

Setting up the router

  1. Go to your router settings. Typically to do this, open a web browser and go to If you're setup to use WPA/WPA2 (password protected), you'll need to give your login credentials.
  2. Once in the router settings, there should be a section called 'Port Forwarding'. In mine, it's in the supersection 'Applications and Gaming' and it's partitioned by Single and Range- Port Forwarding. In this case, we can use a single port.
  3. In this section, add an entry for Minecraft at External and Internal Port 25565 (the default for minecraft server) with an 'Either' or 'Both' for the network protocol. Assign a local IP address such as in the entry. In mine, you need to check the 'Enabled' checkbox. Save the settings.

Setting up the machine's NIC

Go to System Preferences->Network. Click on the Advanced button. In the TCP/IP section, switch the 'Configure IPv4' to 'Manually'. Now set the IPv4 Address to the address we provided earlier (e.g. Make sure to click Ok and then Apply.

At this point, you'll need to restart the server, and you should be done! I ran into one issue which will I'll address in the section below.


One issue I ran into was that whenever folks tried to join the server, they would get an error:

To fix this, open up the '' file that was created in the server folder. Set the online mode to 'false' (online-mode=false).


I don't get a chance to write much C, but it's definitely an intriguing language. When I'm writing C++ I tend to focus all of my efforts on OOP paradigms and do very little of the nitty-gritty, low level memory stuff. I don't have to tell anyone the advantages of OOP, but when you look at some of things you can do in C, you start to realize there is so much taken for granted at the lowest levels. There are also some oddities that will surprise you.

If you're just getting started with C, I highly recommend this video series from Standford:


... is something I'm not very good at, but I do like to experiment with it from time to time. So I made this. Enjoy. :)

If you're curious how I made it, I used this font and these brushes.

Next Page >