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

From Science Wiki
Jump to: navigation, search

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



In the event you don’t want a lot help, go there. But when you want pictures, begin right here.



This is the primary part of a three half tutorial:



- Part 1: Setup Server- Half 2: Setup Native Shopper- Half 3: Setup Internet Client



Part 1: Setup Server



Download the minecraft server jar file.



Create a listing known as ‘server’ and drag the jar file in there.



Make a command file



To make it simple to begin your server, we are going to create a ‘start.command’ file. Double clicking this file will launch your server.



Open TextEdit (/Functions/TextEdit).



Set the format to plain textual content.



Copy in the following text.



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



Put it aside in the same listing as your jar file.



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



chmod a+x



with an area after it. Drag and drop the start.command file into the terminal window after which press enter.



Double click the start server to start out the server.



If all works a brand new server window will open and you will note several errors about lacking information and directories - don’t worry this is okay.



Congrats! You’ve setup the server. Next we are going to configure Time Capsule so your server runs for everybody on your community.



If you ran into problems, examine this troubleshooting section for fixes.



Troubleshooting server setup



Unable to entry jarfile error



If you bought ‘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 start.command file



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



Wealthy-text-format error



In case your textual content file retains desirous to rename itself begin.rtf, it’s since you haven’t made the text file ‘plain text format’. Go over the directions again above, and make this file plain text format.



Configure Time Capsule



Earlier than any purchasers can connect to our server, we have to configure Time Capsule to maintain a static local IP deal with, and tell it what port number our server is going to be working on.



You may need your mother or dad for this step (because it will require Time Capsule password).



Open System Preferences > Community



Click the advanced button within the lower proper hand nook. And then the ‘TCP/IP’ tab.



The place it says Configure IPv4, change that choice to ‘Using DHCP with manual address’.



Change the IP address to 10.0.1.x, the place x will be any quantity from 1 to 100.



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



Hit Ok and return to ‘System Preferences.



You might have to save lots of your changes before leaving the ‘Network’ preferences first. That’s Okay.



Now go to the ‘Sharing’ section of System Preferences and ensure that Web Sharing is on.



Do this by first clicking on ‘USB Ethernet’



And then double clicking ‘Internet Sharing’ on the left hand side. When it asks you if you actually wish to allow Internet 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 within the decrease proper.



Go underneath Network and ensure the option Router Mode is about to DHCP and NAT. Now, click the + button underneath the Port Settings.



Sort in the following:



- Description: Minecraft Server (or no matter you need to name it)- Private IP Handle: The tackle you chose for the 4th step.



Change every thing with the phrase port in it to 25565.



It ought to look one thing like this now. skins



Now hit ‘Update’ and replace the Time Capsule.



Ok. At this level you should be good. You will have a server. You could have a router that is aware of about your server and won’t strive to alter your IP address. Subsequent we're going to setup the local consumer. After which after that the web consumer.