HOW TO: Set Up a Minecraft Server
#1
Posted 19 June 2009 - 09:10 PM
SETTING UP YOUR SERVER
1. Download the .zip file at http://www.minecraft...raft-server.zip and extract it to your desktop (or a different location if you like)
2. Go to that location and open the minecraft-server folder
3. Now you'll see a bunch of files. There should be 2 files called server. Open one of them. If you can't open the file, select 'Notepad' from the window that pops up. If this file is blank, open the other server file.
4. Find the line that says port=xxx, by default this is 25565. Go to http://www.portforward.com and find your router model for a step-by-step guide to forward the port. If you do not forward the port, others will not be able to join your server.
Customization
To name your server, change the name after server-name=. This is what will appear on the public server list.
To change the Message of the Day, change the text after motd=. This is what will appear when players connect to your server.
To change the amount of players allowed, change the number after max-players=. This number is how many players (including you) can be in the server at one time.
6. Save and close the server file. Now open the admins file. Add your in-game name to this file, as well as any other people that you want to be an admin, or op. Skip a line for each name. Names are not case-sensitive, but must be exact. Save and close the admins file.
7. If you want to add players from the Ban List at the Minecraft Wiki, copy and paste the list into the banned file. If you want to ban any IP addresses, copy and paste them into the banned-ip file. Banned IPs must have a / before each entry. For both banlists, each name or IP must be on its own line. Save and close the banned and banned-ip files.
8. Aaaaannnnd... you're done! Click start server to launch the server. A black command window should pop up, and soon it should display information such as the external URL. Once it shows the external URL, you can join your server through the URL in the command window (or the externalurl file) or by clicking it in the public server list.
9. To close your server, simply exit out of the black command window. The map is saved automatically, so you don't need to use the save button in the in-game menu.
UPDATING YOUR SERVER
After an update, you should update your server to the latest version. This can be done by downloading the .zip file at http://www.minecraft...raft-server.zip and opening it once it's downloaded. Now drag and drop the following files to your minecraft-server folder: minecraft-server, server (the one with your server info, not the chat log), and start server. You'll have to rewrite the server info (name, motd, etc).
If you're having trouble joining your own server, or any other problems, read through Grif's thread or Thi3f's thread.
To load a level you downloaded onto your server, replace the server_level.dat file with the new map. Save the old map somewhere else so you can load it again if you change your mind.
THE END
#2
Posted 21 June 2009 - 01:38 AM
#3
Posted 22 June 2009 - 08:55 PM
#4
Posted 22 June 2009 - 11:41 PM
#5
Posted 23 June 2009 - 06:25 AM
Can be added to any Minecraft related website
#6
Posted 11 July 2009 - 04:10 PM
#7
Posted 09 October 2010 - 06:05 PM
#9
Posted 12 November 2010 - 07:09 PM
1. When i try to open "minecraft-server", I get the message, "Failed to load Main-Class manifest attribute from blahblahblah"
2.When I try to run "start server", cmd prompt opens up and says "'java' is not recognized as an internal or external command, operable program, or batch file. (next line) press any key to continue."
Am I doing something wrong?
Pre-Indev, Son.
#10
Posted 17 November 2010 - 07:03 AM
Best Minecraft Shooting Seshion EVER! http://www.youtube.c...h?v=GyZk1zI6ZYQ
300+ Minecraft Pixel Art Creations http://www.youtube.c...h?v=IcbRF0fdEKw
#12
Posted 03 December 2010 - 08:41 AM
Tgdrake10 said:
1. When i try to open "minecraft-server", I get the message, "Failed to load Main-Class manifest attribute from blahblahblah"
Tgdrake10 said:
http://forum.ragezon... ... al-527269/
http://wiki.answers.... ... batch_file
I have a question of my own:
I have just set up my own server and when i try to join using localhost it says i have to login.
I logged in before i even was able to access multiplayer.
But to top it off the client crashed and gave this error report.
--- BEGIN ERROR REPORT a1dce528 --------
Generated 3/12/10 7:33 PM
Minecraft: Minecraft Alpha v1.2.4_01
OS: Windows 7 (amd64) version 6.1
Java: 1.6.0_22, Sun Microsystems Inc.
VM: Java HotSpot 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 4800 Series version 3.3.10317 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NullPointerException
at ia.a(SourceFile:396)
at ia.a(SourceFile:140)
at ng.a(SourceFile:123)
at jp.a(SourceFile:221)
at ia.a(SourceFile:39)
at of.g(SourceFile:40)
at net.minecraft.client.Minecraft.i(SourceFile:1001)
at net.minecraft.client.Minecraft.run(SourceFile:595)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 229897f9 ----------
Please help.
#13
Posted 19 December 2010 - 05:12 PM
--- BEGIN ERROR REPORT a1dce528 -------- Generated 19/12/10 17:08 Minecraft: Minecraft Alpha v1.2.6 OS: Windows 7 (x86) version 6.1 Java: 1.6.0_22, Sun Microsystems Inc. VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc. LWJGL: 2.4.2 OpenGL: AMD Radeon HD 6800 Series version 4.0.10243 Compatibility Profile Context, ATI Technologies Inc. java.lang.NullPointerException at ib.a(SourceFile:395) at ib.a(SourceFile:139) at nh.a(SourceFile:123) at jq.a(SourceFile:223) at ib.a(SourceFile:39) at og.g(SourceFile:40) at net.minecraft.client.Minecraft.i(SourceFile:1004) at net.minecraft.client.Minecraft.run(SourceFile:595) at java.lang.Thread.run(Unknown Source) --- END ERROR REPORT d14bea0c ----------
Also http://www.minecraft...raft-server.zip gives a 404 - and has done for the past few days ...
#14
Posted 24 December 2010 - 06:58 PM
Tgdrake10 said:
1. When i try to open "minecraft-server", I get the message, "Failed to load Main-Class manifest attribute from blahblahblah"
2.When I try to run "start server", cmd prompt opens up and says "'java' is not recognized as an internal or external command, operable program, or batch file. (next line) press any key to continue."
Am I doing something wrong?
The same thing happened to me. You need to download the latest java, and then set it as a path. Look on the mine craft wiki and search server setup or something like that. It'll show you what to do.
#15
Posted 24 December 2010 - 07:02 PM
Aloivnevets
#16
Posted 30 December 2010 - 03:11 AM
Exception in thread "main" java.lang.NoClassDefFoundError: com/mojang/minecraft/
server/MinecraftServer
Caused by: java.lang.ClassNotFoundException: com.mojang.minecraft.server.Minecra
ftServer
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.mojang.minecraft.server.MinecraftServer. Pro
gram will exit.
Press any key to continue . . .
Help please
#17
Posted 30 December 2010 - 08:43 AM
GTFO. G said:
[code]--- BEGIN ERROR REPORT a1dce528 --------
Generated 19/12/10 17:08
Minecraft: Minecraft Alpha v1.2.6
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_22, Sun Microsystems Inc.
VM: Java HotSpot Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 6800 Series version 4.0.10243 Compatibility Profile Context, ATI Technologies Inc.
java.lang.NullPointerException
at ib.a(SourceFile:395)
at ib.a(SourceFile:139)
at nh.a(SourceFile:123)
at jq.a(SourceFile:223)
at ib.a(SourceFile:39)
at og.g(SourceFile:40)
at net.minecraft.client.Minecraft.i(SourceFile:1004)
at net.minecraft.client.Minecraft.run(SourceFile:595)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT d14bea0c ----------[/code
#18
Posted 30 December 2010 - 09:19 AM
Punx said:
There happens to already be a sticky:
viewtopic.php?f=10&t=836
However, it seems that thread deals mostly with Port Forwarding. With the consent of other Moderators, this might get stickied. But don't get your hopes up.
Quote
#19
Posted 30 December 2010 - 09:43 AM
ShellOnTheBeach said:
Punx said:
There happens to already be a sticky:
viewtopic.php?f=10&t=836
However, it seems that thread deals mostly with Port Forwarding. With the consent of other Moderators, this might get stickied. But don't get your hopes up.
That post was a year old, but I still think we need a new tutorial post.
#20
Posted 03 January 2011 - 03:01 AM

This topic is locked









