How You Can Setup Minecraft Server On A Mac Part 1 Setup Server

From E-learn Portal
Jump to: navigation, search

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



If you don’t need a lot assist, go there. But when you like pictures, start here.



That is the first part of a 3 part tutorial:



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



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 start your server, we're 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 text.



Be certain to alter the minecraft_server.jar to match the name of the jar within the listing (in my case minecraft_server.1.7.4.jar).



Reserve it in the same listing as your jar file.



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



chmod a+x



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



Double click on the start server to begin 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 fine.



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



In case you ran into problems, check 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 begin.command file doesn’t match the jar file title on disk.



Fix this by opening the beginning.command file



and changing the filename to be right (be sure you get the numbers, in my case, 1.7.4 included in the file name).



Rich-text-format error



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



Configure Time Capsule



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



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



Open System Preferences > Community



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



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



Change the IP deal with to 10.0.1.x, the place x can be any number from 1 to 100.



Observe the address you type right here: 10.0.1.x. You are going to want it later once we setup the Airport Utility



Hit Ok and go back to ‘System Preferences.



You may need to save your adjustments earlier than leaving the ‘Network’ preferences first. That’s Ok.



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



Do that by first clicking on ‘USB Ethernet’



After which double clicking ‘Internet Sharing’ on the left hand facet. When it asks you if you really need to allow Internet Sharing say ‘OK’.



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



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



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



Kind in the following:



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



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



It should look something like this now.



Now hit ‘Update’ and replace the Time Capsule.



Ok. At this point you should be good. You have a server. You could have a router that knows about your server and won’t strive to alter your IP handle. Next we're going to setup the native consumer. And then after that the internet consumer.