So, you installed a few mods, but the creator doesn't provide any server files? Or you just don't want to set up a whole server? Or you want all the Single Player World creation options at hand?
Simply follow these steps, and you can play any mod working in 1.3+ in Multiplayer. The hosting player can choose between port forwarding, and changing the networks' priority
The hosting player
Port forwarding
- Install your client side mods
- Start Minecraft, open your world to LAN
- Forward the port given to you to your computer
Changing the networks' priority
Windows
- Install your client side mods
- Download Hamachi, create a Network
- Press Windows + R
- Enter ncpa.cpl
- Right click Hamachi, click 'Properties'
- Select 'Internet Protocol Version 4 (TCP/IPv4)
- Click 'Properties', then 'Advanced'
- Deselect 'Automatic Metric', and enter 1 as the new interface metric
- Start Minecraft, open your world to LAN
- Remember to reset the metric to 'Automatic' after you're done
Mac + Linux
- Install your client side mods
- Download Hamachi, create a Network
- On Mac + Linux, open your command line, and type in "sudo ifconfig ham0 metric 1". (You need to be administrator to do that)
- Start Minecraft, open your world to LAN
- After playing, reset the metric to 0
- Note: I didn't always get it to work, so you might want to use a windows as the server
The joining player[s]:
- Install your client side mods
- (If 'Changing the networks' priority' was chosen) Download Hamachi, join the host's network
- Click on Multiplayer
- Join your friend's server directly [IP is posted in the chat on server creation]
I tested this [windows as host, mac as player], and it does work. Have fun playing! =)
So this allows any mod that can at least work in LAN-Multiplayer with MC 1.3.x to also be played like a normal server by using Hamachi to extend the reach of your LAN. You've provided excellent and detailed instructions.
Seems like this would be a good place to also mention a complementary method for doing this, one that doesn't use Hamachi but does require port forwarding and requires it to be redone each time you open a game (So not very convenient but might be useful for some).
Seems like this would be a good place to also mention a complementary method for doing this, one that doesn't use Hamachi but does require port forwarding and requires it to be redone each time you open a game (So not very convenient but might be useful for some).
hi this is probably a dumb question but when i try to do this on mac i get the error "Operation not supported on socket" anyone know how to fix this?
When doing what, exactly? 'sudo ifconfig ham0 metric 1'?
On my macbook, it did work. Perhaps you don't have Hamachi installed? Try typing 'ifconfig', and send me the part where 'ham0' is mentioned. That might help =)
This is just great! So /public makes it run like an actual server instead of a LAN world?
I am going to use this together with your Alcoholcraft mod!
/publish Actually does open it up as a LAN world (afaik) x)
A LAN world is pretty much like a 'normal' server, except that it is bound to a playing client, and has restricted Gui functionality right now. Mojang could easily exapnd that feature into publishing the game as a 'normal' server; however, because they didn't do it yet, you need this workaround
I got a bit of a problem here.
I've tried this method with my friend but it did not really work.
When using this method (port forwarding) with a Vanilla jar, it worked perfectly. He first had an error but after rejoining he joined my game and we were able to play.
When using this method (port forwarding) with a jar with Alcoholcraft in it, he just got a communication error and end of stream.
Is this because of the port forwarding method, so does Hamachi work? He does not want to install that (and I rather not too), so that will suck...
You have to make sure your jars and settings are completely in sync, only then will it work.
Both of you need to install the exact same mods, in the same order, and your properties files need to be set up the same way, too. Then you should encounter no problems, using whatever method =)
That might be your problem. I did make a few changes here and there, because Mojang decided to roll over my chosen IDs. It might be that you have different versions of the properties files. Try deleting both, and trying again =)
"Forward the port given to you to your computer" what do you mean when i go to port forward its say what game you would like to port forward not a ip plz HELP
I can't help you figure that out for your particular rooter. The IP-Forwarding setup is different for each system; You just have to figure out how it works on yours. Use google, or something =)
I had this exact problem. It was due to the group execute bit being set to 0 on the root directory (not /private, not /private/etc). Be sure that both the owner and group execute bits of the directories containing /private/etc are all set to true, otherwise sudo won't be able to open the sudoers file.
There's more than one solution proposed here. If none of these help, I recommend just using google a bit more. I didn't encounter this problem, and it seems it only occurs with a small bunch of people. It's more of an issue with your sudo command, than the actual command itself
***:~ ***$ sudo ifconfig ham0 matric 1
[color=#ff0000]sudo: /private/etc/sudoers is mode 0446, should be 0440[/color]
sudo: no valid sudoers sources found, quitting
***:~ ***$
Yes, I did. Just search for a solution on google. It's a problem rooting from your computer, not my command lines. I can't help you with it any better than google x)
I know there was already a post about this a while ago, but does anybody know what the 'operation not supported on socket' means? I'm on mac os x 10.8.2. I saw someone wanted the ham0, so here it is:
Simply follow these steps, and you can play any mod working in 1.3+ in Multiplayer. The hosting player can choose between port forwarding, and changing the networks' priority
The hosting player
Port forwarding
- Install your client side mods
- Start Minecraft, open your world to LAN
- Forward the port given to you to your computer
Changing the networks' priority
Windows
- Install your client side mods
- Download Hamachi, create a Network
- Press Windows + R
- Enter ncpa.cpl
- Right click Hamachi, click 'Properties'
- Select 'Internet Protocol Version 4 (TCP/IPv4)
- Click 'Properties', then 'Advanced'
- Deselect 'Automatic Metric', and enter 1 as the new interface metric
- Start Minecraft, open your world to LAN
- Remember to reset the metric to 'Automatic' after you're done
Mac + Linux
- Install your client side mods
- Download Hamachi, create a Network
- On Mac + Linux, open your command line, and type in "sudo ifconfig ham0 metric 1". (You need to be administrator to do that)
- Start Minecraft, open your world to LAN
- After playing, reset the metric to 0
- Note: I didn't always get it to work, so you might want to use a windows as the server
The joining player[s]:
- Install your client side mods
- (If 'Changing the networks' priority' was chosen) Download Hamachi, join the host's network
- Click on Multiplayer
- Join your friend's server directly [IP is posted in the chat on server creation]
I tested this [windows as host, mac as player], and it does work. Have fun playing! =)
So this allows any mod that can at least work in LAN-Multiplayer with MC 1.3.x to also be played like a normal server by using Hamachi to extend the reach of your LAN. You've provided excellent and detailed instructions.
Seems like this would be a good place to also mention a complementary method for doing this, one that doesn't use Hamachi but does require port forwarding and requires it to be redone each time you open a game (So not very convenient but might be useful for some).
[ Source = ricar144 ]
[EDIT] I might as well also add a link to my older post regarding LAN-Server mode working inside of Firewalls at work and such.
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
- Dungeon Generator for the Open Cubic Chunks Mod
- QuickSAVE-QuickLOAD for the Open Cubic Chunks Mod
Good call! I added it in the OP.
Hm, you are probably right. I guess I was too tired yesterday
So, if a mod sees this, feel free to move it to either 'Mods discussion' or 'General discussion'.
Edit: Awesome! Thanks, unnamed mod! =D
Perhaps a Moderator or Admin would be kind enough to move this thread to the Tutorials section?
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
- Dungeon Generator for the Open Cubic Chunks Mod
- QuickSAVE-QuickLOAD for the Open Cubic Chunks Mod
When doing what, exactly? 'sudo ifconfig ham0 metric 1'?
On my macbook, it did work. Perhaps you don't have Hamachi installed? Try typing 'ifconfig', and send me the part where 'ham0' is mentioned. That might help =)
/publish Actually does open it up as a LAN world (afaik) x)
A LAN world is pretty much like a 'normal' server, except that it is bound to a playing client, and has restricted Gui functionality right now. Mojang could easily exapnd that feature into publishing the game as a 'normal' server; however, because they didn't do it yet, you need this workaround
You have to make sure your jars and settings are completely in sync, only then will it work.
Both of you need to install the exact same mods, in the same order, and your properties files need to be set up the same way, too. Then you should encounter no problems, using whatever method =)
That might be your problem. I did make a few changes here and there, because Mojang decided to roll over my chosen IDs. It might be that you have different versions of the properties files. Try deleting both, and trying again =)
I can't help you figure that out for your particular rooter. The IP-Forwarding setup is different for each system; You just have to figure out how it works on yours. Use google, or something =)
This should help you:
There's more than one solution proposed here. If none of these help, I recommend just using google a bit more. I didn't encounter this problem, and it seems it only occurs with a small bunch of people. It's more of an issue with your sudo command, than the actual command itself
That's still a problem with you sudo. I can't help you fix that, is has nothing to do with the ifconfig command x)
Yes, I did. Just search for a solution on google. It's a problem rooting from your computer, not my command lines. I can't help you with it any better than google x)
Error is: