How to install minecraft forge for mac

129 Comments

This was a frustrating process for me, but I finally got it.

Watch this video. It’s good and may give you everything you need.

If not (there were a few extra things I needed to do) read on.

1. Download minecraft forge.

Goto http://files.minecraftforge.net/ and download the ‘Installer’ for the most recent recommended version (1.6.4 at this time of writing).

To skip the adds, click the ‘*’ beside the word ‘Installer’ on the ‘1.6.4-Recommended’ and download the jar file (it will save to your downloads directory).

minecraft-forge-downloads

mincraft-forge-download-mac-directory

2. Save old profile.

The next thing we are going to do is save your current minecraft configuration, before blowing it all away with the new minecraft forge client.

Open up your ‘finder’ and click ‘Go to Folder…’

minecraft-forge-finder-goto

Then type in exactly exactly what you see below into the textfield and hit the ‘Go’ button.

minecraft-forge-finder-applications

This will take your to your minecraft application directory where your profile is stored (sorry, I forget to mention you will need to install minecraft on your Mac first before installing forge).

Once there drag and drop these files and folders to your desktop.

minecraft-forge-directories-to-blow-away

minecraft-forge-saved-files

Then blow everything else away in the directory.

3. Create forge profile.

Now start your minecraft application. This is going to download the latest minecraft version.

Now here is where things differ from the video. If your minecraft client version (1.7.3), is different from the latest forge version (1.6.4), it’s not going to work (at least not yet).

We need to create a 1.6.4 profile (the same version as forge) and then things will work.

So if your latest client version differs from the forge version, create a new profile matching them up.

For example to to create a 1.6.4 profile, click ‘Profile Editor’ at the top of your login screen.
Then click ‘New Profile’.

minecraft-forge-new-profile

Then file in the profile name (pick whatever you want, maybe put 1.6.4 in there so you know the version), and then select ‘release 1.6.4’ for the Use Version, and then ‘Save Profile’.

minecraft-forge-new-profile2

Now you have a compatible client that is going to work with your forge!

No you can go back to your login screen, select your new 1.6.4 profile, and login.

minecraf-forge-login

Click ‘Quit Game’ and shut down your minecraft launcher (Command-Q) or right click quit in your application toolbar.

minecraft-forge-quite

4. Install forge client

Drop the files we dragged to the desktop earlier, back into the minecraft application folder we deleted everything from earlier.

minecraft-forge-drop-files-back

Select ‘Apply to All’ and then ‘Replace’

minecraf-forge-select-all-replace

Then double click your minecraft forge jar file that we downloaded at the start (downloads directory).

minecraft-forge-double-click

If you get this warning message

cant-be-opened

Open your ‘Finder’ and go to your ‘Downloads’ directory manually and ‘right-click’ on the jar file and select open

right-click-open

The click ‘Open’ to run the installer

open

Click install client, and make sure that the path in the install directory points to the directory where we stored all your profile stuff. It should look something like this:

minecraft-forge-install-client

We are almost there! Click ‘OK’.

You should then see a completion window that says ‘Successfully installed client profile …’

5. Create client forge profile.

Open up minecraft. In the profile areas, a profile option should now appear!

minecraft-forge-client

Select that. Click the ‘Play’ button. And congrats! You should be in.

minecraft-forge-running-forge-client

You can tell your are running forge by the data in the bottom left hand corner.

6. Installing mods.

Forge mods go in the ‘mods’ folder in that directory we where looking at earlier where we did all our profile stuff.

minecraft-forge-application-finder-library

minecraft-forge-mods

This is where you put your forge mods.

That’s it for now! Happy forging!

Advertisements

How to setup minecraft server on a mac – Part 3: Setup Internet Client

4 Comments

This is the third part of a three part series on how to setup a multiplayer server on a Mac.

Part 1: Setup Server
Part 2: Setup Local Client
Part 3: Setup Internet Client

Part 3: Setup Internet Client

With our server setup (Part 1), and proof that we can connect to it locally (Part 2), we are now ready to share our server with the rest of the world (Part 3).

There are three things we need to do before the world can connect to our server.

1. Setup port forwarding.

2. Turn off our firewall.

3. Connect.

Warning
Before following these instructions please note that running server software on your computer without a clear understanding of what you are doing may seriously harm your system and lead to vulnerabilities.

Step 1: Setup port forwarding

If others are going to connect to your server, they are going to need an address on where to connect to. Port forwarding enables your kids friends to directly connect to your computer by forwarding the data on through your wifi router (which masks it) to your computer.

Download Port Map.

http://www.codingmonkeys.de/portmap/

portmap

Unzip it, install it, and run it. When you do you will see something as follows (ignore the minecraft line entry for now).

Screen Shot 2013-12-15 at 5.24.29 PM

What you are seeing here is how your computer looks within your network (that’s the 10.0.1.4 internal LAN IP address) and then how it looks external to the outside world (in this case the numbers with the 68.x.x.x.

What we want to do is give your friends the external IP address (68.x.x.x) along with the port number they can connect to (25565 by default for minecraft).

We are going to give them this information

68.x.x.x:25565

which they can then use to connect to us. But before we do we need to do what’s called port forwarding on your server (computer). That means if any network traffic comes in on this external ports, they will be forward to your internal server. It maps the external traffic internally, and vice-versa.

To setup port forwarding on your mac server, hit the ‘+’ sign in Port Map, and then enter the following data:

portmap-configuration

After that your Port Map configuration should look something like this:

mapped-ports

Step 2: Turn off your firewall

For others to connect to your server you need to poke holes in, or turn off, your firewall.

Open System Preferences -> Security

security

Click the ‘Firewall’ tab, then hit the lock at the bottom, enter you account password, turn off, and then save changes.

firewall

Step 3: Connect

Go back to Port Map and write down these numbers depending on whether you are connecting via local wifi or internet:

port-forward-local

port-forward-internet

For your friends who are on your wifi, gave them the same information we used to Part 2 when connecting locally.

Have your friends fireup the minecraft client and ‘Directly Connect’ replacing the numbers below with your own as follows:

Wifi

This is for friends who are sitting beside on you your local wifi.

10.0.1.4:25565

direct-connect-wifi

Internet

This is for your friends who aren’t nearby, who want to connect from their homes.

68.xx.xx.98:32772

Note: Public port number may be different than local.

direct-connect-internet

Yourself

And this is for you to connect to your own server locally. 127.0.0.1 (or localhost) means connect to my own machine.

direct-connect-local-host

Voila! If all goes well you should see a screen that looks like this:

minecraft-logging-in

How to setup minecraft server on a mac – Part 2: Setup Local Client

2 Comments

This is the second part of a three part series on how to setup a multiplayer server on a Mac.

Part 1: Setup Server
Part 2: Setup Local Client
Part 3: Setup Internet Client

Part 2: Setup Local Client

With our server setup from Part 1 we are now ready to try connecting to it with a local client.

Download the Minecraft client for Mac if you haven’t already.

download-client

Fire it up, hit the ‘Play’ button, select ‘Multiplayer’ or ‘Play with my crew’

multiplayer

Now to play locally we need your local IP address. To get this go (System Preferences > Network)

network

And then note the 10.0.1.x address. That’s your local IP address and the address that your server is running on locally. We are going to connect to that from this computer (kind of like connecting to ourselves).

local-ip-address

Anyone else wishing to connect to use could use this information also if they are on our wi-fi.

So let’s connect to ourselves. Go back to Minecraft, click ‘Add Server’ and enter the following:

edit-server-info

The 10.0.1.x is the local IP address of your machine.
25565 is the port number Minecraft listens on for incoming connections.

If that works, you should see something like this with green bars.

running-server

If it doesn’t work you will see something like this with a red x.

bad-server

To connect to your new local server, simply highlight and click ‘Join Server’.

And if everything works, you should now be connected to your very own Minecraft server!

minecraft-running

Coming soon. Part 3 – How to let others on the internet connect to your server.

How to setup minecraft server on a mac – Part 1: Setup Server

11 Comments

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

If you don’t need much help, go there. But if you like pictures, start here.

This is the first part of a three part tutorial:

  • Part 1: Setup Server
  • Part 2: Setup Local Client
  • Part 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.

download-servercreate-a-directory

Make a command file

To make it easy 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 text.

make-plane-text

Copy in the following text.

#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx1G -Xms1G -jar minecraft_server.jar

Be sure to change the minecraft_server.jar to match the name of the jar in the directory (in my case minecraft_server.1.7.4.jar).

Save it in the same directory as your jar file.

command-file-directory-of-jar

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

chmod a+x

with a space after it. Drag and drop the start.command file into the terminal window and then press enter.

give-run-permissions

Double click the start server to start the server.

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

server-running

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 ran into problems, check this troubleshooting section for fixes.

Troubleshooting server setup

Unable to access jarfile error

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

wrong-server-name

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

Fix this by opening the start.command file

edit-text-file

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

names-match

Rich-text-format error

If your text file keeps wanting to rename itself start.rtf, it’s because you haven’t made the text file ‘plain text 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 address, and tell it what port number our server is going to be running on.

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

Open System Preferences > Network

network

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

tcpip

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

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

Note the address you type here: 10.0.1.x. You are going to need it later when we setup the Airport Utility

Hit OK and go back to ‘System Preferences.

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

Apply-changes

Now go to the ‘Sharing’ section of System Preferences and make sure that Internet Sharing is on.

sharing

Do this by first clicking on ‘USB Ethernet’

click-port

And then double clicking ‘Internet Sharing’ on the left hand side. When it asks you if you really want to enable Internet Sharing say ‘OK’.

internet-sharing-on

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

airport-utility

click-edit-button

Click the Time Capsule image and then the ‘Edit’ button in the lower right.

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

Type in the following:

  • Description: Minecraft Server (or whatever you want to call it)
  • Private IP Address: The address you chose for the 4th step.

Change everything with the word port in it to 25565.

private-ip-address

It should look something like this now.

hit-update

Now hit ‘Update’ and update the Time Capsule.

OK. At this point you should be good.
You have a server.
You have a router that knows about your server and won’t try to change your IP address.
Next we are going to setup the local client.
And then after that the internet client.

Coming soon.

Part 2: Setup Local Client
Part 3: Setup Internal Client

How to setup, install, and connect to a minecraft server on a Mac

4 Comments

My sons really like minecraft. So this weekend (with the hopes that they will learn something about the internet) I figured out how and host your own minecraft servers on the Mac.

This article is for moms and dads who are looking for instructions on how to setup and host minecraft servers for their kids. It will help if you know a little bit about programming and the internet. Of course eventually the hope here by having mom and dad setup a server, the kids will learn about programming and the internet, and will be able to get jobs and no longer rely on mom and dad (hurray!).

Anyways, here are some bare bones instructions on how to get this going on a Mac.

Step 1: Download minecraft server

https://minecraft.net/download

Download the jar file version near the bottom. Once downloaded, unzip, open a ‘terminal’ and type:

> java -Xmx1024M -Xms1024M -jar minecraft_server.jar

Replacing minecraft_server.jar with whatever version of minecraft your downloaded.

This command starts the server. Once running your are in effect hosting a minecraft server on your machine.

minecraft-server

It will create a whole bunch of files and directories. To stop it type:

> stop

Step x: Create a server

create-server

Step 2: Setup port forwarding

If others are going to connect to your server, they are going to need an address on where to connect to. Port forwarding enables your kids friends to directly connect to your computer by forwarding the data on through your wifi router (which masks it) to your computer.

Download Port Map.

http://www.codingmonkeys.de/portmap/

portmap

Unzip it, install it, run it, and configure it as follows:

portmap-configuration

Step 3: Turn off your firewall

Open preferences -> Security

Screen Shot 2013-09-08 at 8.06.41 AM

You may need to click the lock at the bottom, enter you account password, turn off, and then save changes.

turn-off-firewall

Step 4: Connect

Go back to Port Map and write down these numbers depending on whether you are connecting via local wifi or internet:

port-forward-local

port-forward-internet

Then have your friends fireup the minecraft clients and ‘Directly Connect’ replacing the numbers below with your own as follows:

Wifi

10.0.1.3:25565

direct-connect-wifi

Internet

68.xx.xx.98:32772

Note: Public port number may be different than local.

direct-connect-internet

Wifi means you are all on the same local Wifi network.
Internet means your friends are at home across the city.

Voila! If all goes well you should see a screen that looks like this:

minecraft-logging-in

Trouble Shooting

If you fail to connect – don’t despair. There are lots of other videos and how-tos out there. I created this one specifically for the Mac because no one told me about the firewall step.

Keep googling, keep trying stuff, and have fun!

%d bloggers like this: