Methods To Setup Minecraft Server On A Mac Half 1 Setup Server

From Open Source Bridge
Jump to: navigation, search

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



For those who don’t want much help, go there. But if you want footage, start here.



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



- Half 1: Setup Server- Half 2: Setup Local Client- Half 3: Setup Web Shopper



Part 1: Setup Server



Obtain the minecraft server jar file.



Create a directory 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 next textual content.



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



Save it in the identical directory as your jar file.



Make this command executable by opening a terminal (/Applications/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 beginning server to start the server.



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



Congrats! You’ve setup the server. Next we're going to configure Time Capsule so your server runs for everyone on your network.



For those who ran into issues, examine this troubleshooting part for fixes.



Troubleshooting server setup



Unable to access jarfile error



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



the filename in your begin.command file doesn’t match the jar file identify on disk.



Fix this by opening the beginning.command file



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



Wealthy-textual content-format error



In case your textual content file retains eager to rename itself begin.rtf, it’s because you haven’t made the text file ‘plain text 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 to our server, we need to configure Time Capsule to maintain a static local IP address, and tell it what port quantity our server goes to be running on.



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



Open System Preferences > Network



Click on the advanced button in the lower right hand corner. After which the ‘TCP/IP’ tab.



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



Change the IP deal with to 10.0.1.x, where x will be any quantity from 1 to 100.



Note the tackle you type here: 10.0.1.x. You're going to wish it later once we setup the Airport Utility



Hit Okay and return to ‘System Preferences.



You may need to save your modifications before leaving the ‘Network’ preferences first. That’s Ok.



Now go to the ‘Sharing’ part of System Preferences and make it possible for Web 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 need to enable Web Sharing say ‘OK’.



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



Click on the Time Capsule picture and then the ‘Edit’ button in the decrease right.



Go beneath Network and make sure the choice Router Mode is set to DHCP and NAT. Now, click the + button beneath the Port Settings.



Kind in the following:



- Description: Minecraft Server (or whatever you wish to name it)- Personal IP Tackle: The tackle you chose for the 4th step. Minecraft servers



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



It ought to look something like this now.



Now hit ‘Update’ and replace the Time Capsule.



Okay. At this level you ought to be good. You might have a server. You have a router that knows about your server and won’t try to alter your IP deal with. Next we're going to setup the local client. And then after that the internet client.