These directions are primarily based on the official mac directions at minecraft site.
If you happen to don’t need a lot help, go there. But when you like pictures, begin right here.
That is the first part of a 3 half tutorial:
- Part 1: Setup Server
- Half 2: Setup Local Consumer
- Part 3: Setup Internet Client
Part 1: Setup Server
Download the minecraft server jar file.
Create a directory referred to as ‘server’ and drag the jar file in there.
Make a command file
To make it straightforward to begin your server, we are going to create a ‘start.command’ file. Double clicking this file will launch your server.
Open TextEdit (/Purposes/TextEdit).
Set the format to plain text.
Copy in the next text.
Make sure 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).
Put it aside in the identical listing as your jar file.
Make this command executable by opening a terminal (/Purposes/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 begin the server.
If all works a new server window will open and you will see a number of errors about missing recordsdata and directories - don’t fear this is okay.
Congrats! You’ve setup the server. Subsequent we're going to configure Time Capsule so your server runs for everyone in your network.
In the event you ran into issues, verify this troubleshooting section for fixes.
Troubleshooting server setup
Unable to entry jarfile error
If you got ‘Unable to access jarfile’ when double clicking the start.command file,
the filename in your begin.command file doesn’t match the jar file identify on disk.
Repair this by opening the beginning.command file
and changing the filename to be correct (ensure you get the numbers, in my case, 1.7.4 included within the file name).
Wealthy-text-format error
If your text file keeps desirous to rename itself begin.rtf, it’s since you haven’t made the textual content file ‘plain textual content format’. Go over the directions again above, and make this file plain textual content format.
Configure Time Capsule
Earlier than any clients can hook up with our server, we need to configure Time Capsule to keep a static native IP address, and tell it what port quantity our server is going to be working on.
You might have your mom or dad for this step (because it will require Time Capsule password).
Open System Preferences > Community
Click on the advanced button within the decrease proper hand corner. After which the ‘TCP/IP’ tab.
The place it says Configure IPv4, change that choice to ‘Using DHCP with guide address’.
Change the IP tackle to 10.0.1.x, where x will be any quantity from 1 to 100.
Notice the handle you kind right here: 10.0.1.x. You're going to want it later when we setup the Airport Utility
Hit Ok and return to ‘System Preferences.
You may have to save lots of your modifications 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 that by first clicking on ‘USB Ethernet’
And then double clicking ‘Internet Sharing’ on the left hand aspect. When it asks you if you really want to enable Web Sharing say ‘OK’.
Now, open up AirPort Utility and edit your Time Capsule settings.
Click the Time Capsule picture and then the ‘Edit’ button within the decrease proper.
Go beneath Community and make sure the choice Router Mode is about to DHCP and NAT. Now, click the + button under the Port Settings.
Type in the next:
- Description: Minecraft Server (or whatever you need to name it)
- Private IP Tackle: The tackle you chose for the 4th step.
Change everything with the word port in it to 25565.
It should look one thing like this now.
Now hit ‘Update’ and replace the Time Capsule.
Ok. At Minecraft servers should be good.
You will have a server.
You have a router that is aware of about your server and won’t strive to vary your IP tackle.
Next we are going to setup the local consumer.
And then after that the web shopper.
Log in to comment