Unfortunately at the moment it is not possible to have LAN server that works without an internet connection although one can be mad that does not use internet through gameplay (when you have limited or slow internet) This is not possible because if you play minecraft without being connected to minecraft.net your username is always called “Player” no matter what you tried to login as. A person with the username “Player” can play on the LAN server perfectly well but the problem is if two people try to connect to the server and are both called “Player” the second person to connect will kick the first and it will say:
Disconnected by Server
You logged in from another location
Because of this only one player can be called “Player” and all others must have individual accounts which unfortunately means without editing the minecraft files it is impossible to play multiplayer via a LAN server without any internet connection.
To setting up the LAN server, first of all you need to set up a server as normal.
(I may update this later on how to do that if too many people are confused although there is a lot of help out there. The tutorial that helped me the most was on the Minecraft Wiki:
After doing that, do as following:
1. Open "server.properties"
2. Set online mode to "false"
3. Run the server and it will say stuff about how insecure and stuff it is (a heap of rubbish) If you have no problems it should say the Spawn area is ready.
4. To connect from the computer that is running the server click multiplayer and type in as the address: "localhost" hit connect and you should be in almost instantly (if that does not work for whatever reason try this: “127.0.0.1” although I doubt that will do any different).
5. To get others to connect you first need to connect and set up whatever you are using (e.g. Diverter, Ethernet adapter LAN, Tunnel adapter, built-in wireless router, etc.)
Next, on the computer that is running the server, open a command engine:
On a Windows XP open the start menu and use “Run”.
On a Windows Vista or newer (up to Windows 7) open the start Menu and type in “cmd” and select “cmd.exe” from the list. (C:\Windows\System32)
Edit: On a Mac you DO NOT use terminal. (It is possible but more difficult using the command "ifconfig")
Instead open the Apple menu (the very top right corner of screen) and hit system preferences. A window with lots of icons in sections will show up with titles such as: Personal, Hardware, Internet & Wireless, etc. Open up 'Network' in "Internet and Wireless" and go into the tab that has whatever connection you are using (e.g. Ethernet) and there should be an Ip Address - use that.
If you have an older (or newer) version of Mac and this does not work I am sorry but I again cannot help you. So please again post if you know how it is done or whether it actually has any difference/
Once you have “Run” or “Command Prompt” (“cmd”) open type in the command “ipconfig” and hit enter and scroll down until you find the type of connecter you are using with has an IP address next to it (if you cannot tell disconnect whatever you are using, and run the Command Engine in a separate window and try again and you can check what is different and that will be it). Any IPv4, IPv6 or Default Gateway addresses should work (whichever looks most like an IP address (188.8.131.52 or anything similar). Give one of these to all the people trying to connect and if they put it in they should be able to connect! (If not try a different one) Enjoy!
To all who thinks this is me asking you a question or that it is just an "idea" You are wrong!!! This works perfectly well (if not a bit laggy) and my friends and I use this everytime we are together!!!
- I have had this working on a Mac and a Windows Vista
Wired is much faster than wireless
I have not tested on a Windows XP and I am not 100% sure about whether and how ipconfig works for "Run"
If you have any questions, problems or if you have any suggestions to this topic feel free to post, I hope I helped.
Feedback is greatly appriciated and is never to silly (as long as it is on topic and your question has not already been answered. So if your have read this please tell me what you think even if it is a minor suggestion such as: "Blue text is annoying and people don't like it"
So tell me exactly what you think so you can help me help others by improving this thread!!!