Minecraft Blogs / Tutorial

How to make a server on a Mac

  • 481 views, 1 today
  • 2
  • 0
  • 3
ChunksOWisdom's Avatar ChunksOWisdom
Level 19 : Journeyman Narwhal
0
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/bash
cd "$(dirname "$0")"
exec java -Xmx1G -Xms1G -jar minecraft_server.jar nogui"

or "#!/bin/bash
cd "$(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.
Tags

Create an account or sign in to comment.

1
04/03/2014 9:17 pm
Level 1 : New Miner
Mariofun7
Mariofun7's Avatar
*This*
1
04/03/2014 9:15 pm
Level 1 : New Miner
Mariofun7
Mariofun7's Avatar
I can`t get on my server i made with thi post.
1
05/31/2012 3:53 pm
Level 3 : Apprentice Miner
anonpmc100471
anonpmc100471's Avatar
[deleted]
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome