Learn How To Setup Minecraft Server On A Mac Part 1 Setup Server

From World History
Jump to: navigation, search

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



If you happen to don’t want a lot help, go there. But if you like photos, begin right here.



This is the primary part of a 3 half tutorial:



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



Part 1: Setup Server



Download the minecraft server jar file.



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



Make a command file



To make it simple to start your server, we are 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 textual content.



Be certain to change 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. minecraft realms servers Drag and drop the start.command file into the terminal window after which press enter.



Double click the beginning server to begin the server.



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



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



If you happen to ran into problems, check this troubleshooting part for fixes.



Troubleshooting server setup



Unable to access jarfile error



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



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



Repair this by opening the start.command file



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



Wealthy-textual content-format error



If 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 directions once more above, and make this file plain text format.



Configure Time Capsule



Earlier than any clients can connect to our server, we need to configure Time Capsule to maintain a static local IP handle, and inform it what port number our server is going to be working on.



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



Open System Preferences > Network



Click on the superior button in the lower proper hand nook. And then the ‘TCP/IP’ tab.



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



Change the IP address to 10.0.1.x, where x can be any quantity from 1 to 100.



Note the address you kind right here: 10.0.1.x. You're going to need it later when we setup the Airport Utility



Hit Okay and return to ‘System Preferences.



You may have to save your changes earlier than 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 that by first clicking on ‘USB Ethernet’



And then double clicking ‘Internet Sharing’ on the left hand side. When it asks you if you actually need to allow Internet Sharing say ‘OK’.



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



Click the Time Capsule image and then the ‘Edit’ button within the decrease proper.



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



Kind in the next:



- Description: Minecraft Server (or no matter you need to call it)- Personal IP Handle: The address you selected for the 4th step.



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



It ought to look one thing like this now.



Now hit ‘Update’ and replace the Time Capsule.



Okay. At this point try to be good. You've got a server. You may have a router that knows about your server and won’t attempt to vary your IP handle. Subsequent we are going to setup the local client. After which after that the internet client.