These instructions are based mostly on the official mac instructions at minecraft site.
In the event you dont want much assist, go there. But if you like footage, begin right here.
This is the first part of a 3 part tutorial:
- Half 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 directory called server and drag the jar file in there.
Make a command file
To make it easy to begin your server, we're going to create a start.command file.Xwcbwill launch your server.
Open TextEdit (/Purposes/TextEdit).
Set the format to plain text.
Copy in the following text.
Make certain to alter the minecraft_server.jar to match the name of the jar in the listing (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 (/Functions/Terminal) and typing
chmod a+x
with an area after it. Drag and drop the start.command file into the terminal window and then press enter.
Double click on the start server to start the server.
If all works a brand new server window will open and you will see a number of errors about missing recordsdata and directories - dont worry this is ok.
Congrats! Youve setup the server. Next we're going to configure Time Capsule so your server runs for everyone on your network.
If you happen to ran into issues, examine this troubleshooting section for fixes.
Troubleshooting server setup
Unable to access jarfile error
If you bought Unable to access jarfile when double clicking the start.command file,
the filename in your start.command file doesnt match the jar file name on disk.
Fix this by opening the beginning.command file
and changing the filename to be correct (be sure you get the numbers, in my case, 1.7.Four included in the file name).
Rich-text-format error
If your text file retains eager to rename itself begin.rtf, its since you havent made the text file plain textual content format. Go over the instructions again above, and make this file plain text format.
Configure Time Capsule
Earlier than any purchasers can connect with our server, we have to configure Time Capsule to keep a static local IP tackle, and inform it what port quantity our server goes to be working on.
You may 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 within the lower proper hand nook. After which the TCP/IP tab.
Where it says Configure IPv4, change that option to Using DHCP with manual address.
Change the IP handle to 10.0.1.x, the place x can be any number from 1 to 100.
Observe the deal with you kind here: 10.0.1.x. You are going to wish it later when we setup the Airport Utility
Hit Okay and return to System Preferences.
You might have to save lots of your adjustments before leaving the Network preferences first. Thats Ok.
Now go to the Sharing part of System Preferences and be sure that Web Sharing is on.
Do this by first clicking on USB Ethernet
After which double clicking Internet Sharing on the left hand side. When it asks you if you actually need to enable 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 in the decrease proper.
Go below Network and ensure the option Router Mode is set to DHCP and NAT. Now, click on the + button underneath the Port Settings.
Sort in the following:
- Description: Minecraft Server (or no matter you want to call it)
- Private IP Handle: The deal with you selected for the 4th step.
Change every part 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.
Ok. At this level try to be good.
You've a server.
You have a router that knows about your server and wont try to vary your IP address.
Subsequent we are going to setup the local client.
And then after that the internet shopper.