How to make a Minecraft server on a Mac
There are two ways to make a server on a mac. First, download minecraft_server.jar(the link goes to the download page). Then, make a new folder titled something along the lines of “minecraft server”,”Minecraft_Server”,etc. After that, you can do one of both things. You can run the minecraft_server.jar using archive utility or some other jar launcher. There will be many errors/warnings, just ignore those. Your server will be ready for personal use at this point. Keep the Minecraft_sever.jar running, otherwise you can’t get on the server. To use it on the computer you are running the server on, go to minecraft, multiplayer, direct connect or add server, and for the ip type “LocalHost” without the quotations and call it whatever you want. That should work just fine. If not, post a comment and I’ll see if I can help. The other way to do it is to open textedit or your favorite textediting program (Textwrangler is a good one) and in textedit, go to Format>Make Plain Text. Then type
“#!/bin/bashcd “$(dirname “$0″)”exec java -Xmx1G -Xms1G -jar minecraft_server.jar nogui”or “#!/bin/bashcd “$(dirname “$0″)”exec java -Xmx1G -Xms1G -jar minecraft_server.jar”
Without the quotations. save it as “start.command” without the quotations. I use the nogui to keep it going faster, and you can change the amount of ram by editing the spot where it says 1G to however much ram space you want it to have. Once you save that, open terminal and type “chmod a+x ” without the quotes. DO NOT FORGET THE LITTLE SPACE IN THERE!!!!! It is not “chmod a+x” it is “chmod a+x “. Anyways, once you get that done drag start.command into terminal and press enter. That gives permission to run start.command. Now that you have finished that, just double-click start.command to run your server. It will do the same as just running the minecraft_server.jar, but it can save space and make the server less laggy (I think). Now that you have made your server, you want other people on, right? If you don’t, the rest of this is irrelevant to you. If you only want people that are connected to the same router as you to join, just go to www.whatismyip.com/ and enter that in as the ip. That will only work if they are connected to the same router as you, so basically if it is in your house, it is using your router. If you want only your friends on your server only tell your friends your ip. you will need to port forward your server to let your friends on, or anyone on, so as soon as I figure out how to do that, I will make a new post on how to port forward.