The Best Way To Setup Minecraft Server On A Mac Part 1 Setup Server

From Valentino Fans
Jump to: navigation, search

These directions are based on the official mac instructions at minecraft site.



When you don’t need much assist, go there. But if you want photos, begin here.



That is the first a part of a 3 half tutorial:



- Half 1: Setup Server- Part 2: Setup Local Consumer- Half 3: Setup Web Client



Part 1: Setup Server



Obtain the minecraft server jar file.



Create a directory called ‘server’ and drag the jar file in there.



Make a command file



To make it easy to start your server, we're going to create a ‘start.command’ file. Double clicking this file will launch your server.



Open TextEdit (/Applications/TextEdit).



Set the format to plain textual content.



Copy in the following text.



Be certain to vary the minecraft_server.jar to match the title of the jar within the directory (in my case minecraft_server.1.7.4.jar).



Save it in the same listing as your jar file.



Make this command executable by opening a terminal (/Purposes/Terminal) and typing



chmod a+x



with a space after it. Drag and drop the beginning.command file into the terminal window after which press enter.



Double click on the start server to begin the server.



If all works a new server window will open and you will see a number of errors about missing recordsdata and directories - don’t fear this is okay.



Congrats! You’ve setup the server. Subsequent we're going to configure Time Capsule so your server runs for everybody in your network.



In case you ran into issues, examine this troubleshooting section for fixes.



Troubleshooting server setup



Unable to entry jarfile error



If you got ‘Unable to entry jarfile’ when double clicking the beginning.command file,



the filename in your start.command file doesn’t match the jar file title on disk.



Repair this by opening the beginning.command file



and altering the filename to be appropriate (make sure you get the numbers, in my case, 1.7.Four included within the file title).



Rich-textual content-format error



In case your textual content file keeps wanting to rename itself begin.rtf, it’s because you haven’t made the text file ‘plain textual content format’. Go over the instructions once more above, and make this file plain textual content format.



Configure Time Capsule



Earlier than any shoppers can connect with our server, we need to configure Time Capsule to keep a static native IP deal with, and tell it what port number our server goes to be working on.



You might have your mother or dad for this step (as a result of it would require Time Capsule password).



Open System Preferences > Network



Click the advanced button in the decrease right hand nook. After which the ‘TCP/IP’ tab.



Where it says Configure IPv4, change that option to ‘Using DHCP with guide address’. Minecraft



Change the IP handle to 10.0.1.x, where x may be any number from 1 to 100.



Be aware the deal with you kind right here: 10.0.1.x. You are going to wish it later after we setup the Airport Utility



Hit Okay and return to ‘System Preferences.



You may need to save lots of your modifications earlier than leaving the ‘Network’ preferences first. That’s Okay.



Now go to the ‘Sharing’ part of System Preferences and make sure that Internet Sharing is on.



Do this by first clicking on ‘USB Ethernet’



After which double clicking ‘Internet Sharing’ on the left hand aspect. When it asks you if you actually want to allow Web Sharing say ‘OK’.



Now, open up AirPort Utility and edit your Time Capsule settings.



Click on the Time Capsule picture after which the ‘Edit’ button in the decrease right.



Go underneath Community and make sure the option Router Mode is set to DHCP and NAT. Now, click the + button below the Port Settings.



Kind in the following:



- Description: Minecraft Server (or whatever you wish to name it)- Private IP Deal with: The address you selected for the 4th step.



Change the whole lot with the phrase port in it to 25565.



It should look one thing like this now.



Now hit ‘Update’ and replace the Time Capsule.



Okay. At this level try to be good. You might have a server. You may have a router that knows about your server and won’t attempt to vary your IP tackle. Subsequent we are going to setup the local shopper. And then after that the web client.