Topic closed
There used to be one in old Misc, but no-one's going to spend time looking for it and it's probably outdated and stuff
I'm only going to use CraftBukkit because from what I've heard, Hamachi is slow, and the original Minecraft_Server.exe doesn't have plugins.
Bukkit
1. Download CraftBukkit. (Download Link). That link is for Minecraft version 1.2.5. I will update it as new versions come out.
2. Find the folder where you want your minecraft server to run. Mine is a folder on the desktop. Now place your downloaded craftbukkit.jar file inside the folder.
3. If you are on a Mac, open Textwrangler (you should download it if you don't have it), or if you are on Windows, open Notepad++ (very recommended that you download this ).
4. If you don't have Java installed, install it now.
5. For windows users, paste this into notepad++Code:
@ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar PAUSEthen save it as filename.BAT in the folder you created for the server in step 2.
--
For Mac users, paste this into TextWrangler:Code:
#!/bin/bash cd "$( dirname "$0" )" java -Xmx1024M -Xms1024M -jar craftbukkit.jarSave the file as filename.command in the server folder you created in step 2.
Now open terminal and typeCode:
chmod +xBut do not press enter/return.
Now drag the command file you created into the terminal.
Now press enter/return.
6. Starting the server. Double click the file you made in step 5 to start the server. The file will create lots of folders and files in the folder you created in step 2.
7. Now anyone on your local network will be able to join your server with your local ip address, however you will need to follow the next step to portforward if you want people to join your server via the internet.
8. Go to portforward.com and find your router. Then find Minecraft server in the list of applications to portforward for. There should be detailed instructions and screenshots.
9. Go to whatismyip.com to find out your external ip. This is what other gamers will use to connect to your server. Since you probably have a dynamically changing ip address (you pay extra for static ones) you will probably have a different ip address every time you restart your router. Therefore you will need to follow the next step.
10. Go to no-ip.com and get yourself a free domain name, and also download the no-ip updater which updates your ip address with the no-ip servers.
11. Now open up server.properties file in your server folder, with your favourite text editor and make some preference changes to the file.
12. If you like, you may install some bukkit plugins by dragging the jar files to the plugins folder in your server folder.
13. Let's restart the server. Terminal or command prompt should print some lines, and then it should stop. Your server has loaded. Type commands such as "who" to see who is on and "memory" to see how much memory is being used.
14. To gracefully stop the server type "stop".
You're done!
Troubleshooting
Does your server not work for an unknown reason?
Check that any firewalls and antivirus programs are set to allow traffic to pass through using port 25565 and with the bukkit jar file.
Does your terminal/command prompt close immediately?
Make sure your java directory in the .BAT or .command file is correct. If you have 32-bit Java on a 64-bit version of Windows, you need to change %ProgramFiles% to %ProgramFiles(x86)% or similar.
You Server not coming online for anyone?
Check you've port forwarded correctly with this online tool
http://canyouseeme.org/
Last edited by jji7skyline (2012-05-01 19:00:40)
Offline
You should also probably mention that the batch file can easily be created without downloading anything on Windows with Notepad, as well.
Offline
I just went on my own for making my Minecraft server. I did every single step you listed, yet it doesn't work
Offline
Are you sure you port forwarded properly?
Offline
This is a very nice tutorial, but I'll add a few things I have learned from personal experience:
-If you have any firewalls or parental control software on the computer hosting the server, you have to let the server program through as an exception.
-If you get a "CANNOT BIND TO PORT* error, you need to clear the "server-ip" space in server.properties.
-You need to close as many programs as possible when running the server, or it will start lagging.
-If the batch file opens then closes instantly, It usually means that it can't find java. move java.exe or javaw.exe to the Bukkit folder and change the batch file accordingly.
Also, in Windows you can use "java" instead of the Java directory.
Last edited by fire219 (2012-04-30 19:43:24)
Offline
veggieman001 wrote:
Are you sure you port forwarded properly?
I forwarded port 25565 to my local static ip 192.168.1.250 using "both" as the TCP/UDP protocol selection. It's enabled. But the server comes up as not available when I enter it's URL into minecraft...
Offline
prototype47 wrote:
veggieman001 wrote:
Are you sure you port forwarded properly?
I forwarded port 25565 to my local static ip 192.168.1.250 using "both" as the TCP/UDP protocol selection. It's enabled. But the server comes up as not available when I enter it's URL into minecraft...
When you are getting on a server on the same computer as the server, use "localhost", not the IP.
Offline
fire219 wrote:
prototype47 wrote:
veggieman001 wrote:
Are you sure you port forwarded properly?
I forwarded port 25565 to my local static ip 192.168.1.250 using "both" as the TCP/UDP protocol selection. It's enabled. But the server comes up as not available when I enter it's URL into minecraft...
When you are getting on a server on the same computer as the server, use "localhost", not the IP.
Okay.. Would you be able to try my url (protocraft-mc.servegame.com) in about 10 minutes? I gotta turn the server on. I'll let you know when, okay?
Offline
prototype47 wrote:
fire219 wrote:
prototype47 wrote:
I forwarded port 25565 to my local static ip 192.168.1.250 using "both" as the TCP/UDP protocol selection. It's enabled. But the server comes up as not available when I enter it's URL into minecraft...When you are getting on a server on the same computer as the server, use "localhost", not the IP.
Okay.. Would you be able to try my url (protocraft-mc.servegame.com) in about 10 minutes? I gotta turn the server on. I'll let you know when, okay?
Ok, I'll try.
Offline
fire219 wrote:
This is a very nice tutorial, but I'll add a few things I have learned from personal experience:
-If you have any firewalls or parental control software on the computer hosting the server, you have to let the server program through as an exception.
-If you get a "CANNOT BIND TO PORT* error, you need to clear the "server-ip" space in server.properties.
-You need to close as many programs as possible when running the server, or it will start lagging.
-If the batch file opens then closes instantly, It usually means that it can't find java. move java.exe or javaw.exe to the Bukkit folder and change the batch file accordingly.
Also, in Windows you can use "java" instead of the Java directory.
Good point. I'll add it in a new section called Troubleshooting.
That's should be clear by default and you shouldn't change it unless you have a server with more than one computer.
Common sense, but I'll add it.
I'll add this to troubleshooting.
I think you need to set an environmental variable to be able to do that?
Offline
fire219 wrote:
prototype47 wrote:
fire219 wrote:
When you are getting on a server on the same computer as the server, use "localhost", not the IP.Okay.. Would you be able to try my url (protocraft-mc.servegame.com) in about 10 minutes? I gotta turn the server on. I'll let you know when, okay?
Ok, I'll try.
Sorry, couldn't get it up tonight. I should have it tomorrow.
Offline
jji7skyline wrote:
fire219 wrote:
This is a very nice tutorial, but I'll add a few things I have learned from personal experience:
-If you have any firewalls or parental control software on the computer hosting the server, you have to let the server program through as an exception.
-If you get a "CANNOT BIND TO PORT* error, you need to clear the "server-ip" space in server.properties.
-You need to close as many programs as possible when running the server, or it will start lagging.
-If the batch file opens then closes instantly, It usually means that it can't find java. move java.exe or javaw.exe to the Bukkit folder and change the batch file accordingly.
Also, in Windows you can use "java" instead of the Java directory.Good point. I'll add it in a new section called Troubleshooting.
That's should be clear by default and you shouldn't change it unless you have a server with more than one computer.
Common sense, but I'll add it.
I'll add this to troubleshooting.
I think you need to set an environmental variable to be able to do that?
You would be surprised how many people lack common sense.
And yes, you have to set an environment variable. But sometimes that is done by the Java installer, sometimes not. Not sure why. Not too hard to set the variable if it isn't already, anyway.
@prototype: Ok.
Offline
fire219 wrote:
jji7skyline wrote:
fire219 wrote:
This is a very nice tutorial, but I'll add a few things I have learned from personal experience:
-If you have any firewalls or parental control software on the computer hosting the server, you have to let the server program through as an exception.
-If you get a "CANNOT BIND TO PORT* error, you need to clear the "server-ip" space in server.properties.
-You need to close as many programs as possible when running the server, or it will start lagging.
-If the batch file opens then closes instantly, It usually means that it can't find java. move java.exe or javaw.exe to the Bukkit folder and change the batch file accordingly.
Also, in Windows you can use "java" instead of the Java directory.Good point. I'll add it in a new section called Troubleshooting.
That's should be clear by default and you shouldn't change it unless you have a server with more than one computer.
Common sense, but I'll add it.
I'll add this to troubleshooting.
I think you need to set an environmental variable to be able to do that?You would be surprised how many people lack common sense.
And yes, you have to set an environment variable. But sometimes that is done by the Java installer, sometimes not. Not sure why. Not too hard to set the variable if it isn't already, anyway.
@prototype: Ok.
Welcome to the Internet :3
Offline
You should add http://canyouseeme.org/ :3
Simply run your server, type 25565 (or whatever port you forwarded) into 'What Port?' and if it can connect, you're port-forwarded :3
Offline
Cassiedragon wrote:
You should add http://canyouseeme.org/ :3
Simply run your server, type 25565 (or whatever port you forwarded) into 'What Port?' and if it can connect, you're port-forwarded :3
I tried that, and port 25565 gives out a timeout error... Can anyone verify that protocraft-mc.servegame.com is down? It doesn't come up in minecraft on the server PC, and I've followed every step..
Offline
prototype47 wrote:
Cassiedragon wrote:
You should add http://canyouseeme.org/ :3
Simply run your server, type 25565 (or whatever port you forwarded) into 'What Port?' and if it can connect, you're port-forwarded :3I tried that, and port 25565 gives out a timeout error... Can anyone verify that protocraft-mc.servegame.com is down? It doesn't come up in minecraft on the server PC, and I've followed every step..
Are you using your ip to connect? If so, check it hasn't changed.
Also try using "localhost" to connect.
Thanks for the website Cassie! I'll definitely add it
Offline
I can't find my router type. I'm using Actiontec >.>
Can't tell which string of digits is the 'type' on the router.
Last edited by ProgrammingFreak (2012-05-01 19:50:18)
Offline
Portforward doesn't have my model.
I guess I'll tell them...
Offline
ProgrammingFreak wrote:
I can't find my router type. I'm using Actiontec >.>
Can't tell which string of digits is the 'type' on the router.
You can't find your router model name?
Offline
jji7skyline wrote:
ProgrammingFreak wrote:
I can't find my router type. I'm using Actiontec >.>
Can't tell which string of digits is the 'type' on the router.You can't find your router model name?
The type.
I found it now, but can't find it on Portforward.
Offline
Most actiontec models should have instructions. Try a different actionetc model
Offline
jji7skyline wrote:
prototype47 wrote:
Cassiedragon wrote:
You should add http://canyouseeme.org/ :3
Simply run your server, type 25565 (or whatever port you forwarded) into 'What Port?' and if it can connect, you're port-forwarded :3I tried that, and port 25565 gives out a timeout error... Can anyone verify that protocraft-mc.servegame.com is down? It doesn't come up in minecraft on the server PC, and I've followed every step..
Are you using your ip to connect? If so, check it hasn't changed.
Also try using "localhost" to connect.
Thanks for the website Cassie! I'll definitely add it
I can connect with localhost and my local ip (192.168.1.250) but not my public ip (173.191.235.22) or my server url... My friend tried to connect too from his house and it doesn't work for him either. What is going wrong and how do I fix it? Please help!
Offline
prototype47 wrote:
jji7skyline wrote:
prototype47 wrote:
I tried that, and port 25565 gives out a timeout error... Can anyone verify that protocraft-mc.servegame.com is down? It doesn't come up in minecraft on the server PC, and I've followed every step..Are you using your ip to connect? If so, check it hasn't changed.
Also try using "localhost" to connect.
Thanks for the website Cassie! I'll definitely add itI can connect with localhost and my local ip (192.168.1.250) but not my public ip (173.191.235.22) or my server url... My friend tried to connect too from his house and it doesn't work for him either. What is going wrong and how do I fix it? Please help!
That means you haven't port forwarded correctly
Offline
Topic closed