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.net/minecraft-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
Rollback Post to RevisionRollBack
"Thomas". There, now this thread has a reference to Thomas.
What's the process when using Mac OSX 10.5.7? I'm not terribly familiar with the terminal, so any help would be appreciated. In the meantime I'll keep looking over the forum to see if this has already been answered. Thanks.
Hey, I'm trying to set up a server so I can play with one or two of my friends, but I keep encountering an error...two actually.
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."
Hey, I'm trying to set up a server so I can play with one or two of my friends, but I keep encountering an error...two actually.
1. When i try to open "minecraft-server", I get the message, "Failed to load Main-Class manifest attribute from blahblahblah"
I believe thats because you dont actually have to run that but i could be mistaken.
Quote from Tgdrake10 »
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."
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(TM) 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 ----------
Hey, I'm trying to set up a server so I can play with one or two of my friends, but I keep encountering an error...two actually.
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?
's to whoever helps me :wink.gif:
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.
I followed the steps correctly and when I open the start server file it shows up and says this
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 . . .
[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(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 ----------[/code
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.
Rollback Post to RevisionRollBack
"Can you point to the object that represents a resilient parasite of an idea caught in the tangled nature of the subconscious human mind? Thaaaat's right!"
For everyone with the source-data errors when starting the servers. One good thing to try is RIGHT clicking the Minecraft_Server.exe file and running it as an Administrator. I've never had a problem on XP computers, but no Vista/7 you have to right click and run as Admin.
SETTING UP YOUR SERVER
1. Download the .zip file at http://www.minecraft.net/minecraft-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.net/minecraft-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
Can be added to any Minecraft related website
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?
's to whoever helps me :wink.gif:
Pre-Indev, Son.
300+ Minecraft Pixel Art Creations http://www.youtube.com/watch?v=IcbRF0fdEKw
Follow both of these.
http://forum.ragezone.com/f428/tut-fixi ... al-527269/
http://wiki.answers.com/Q/How_do_you_st ... 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(TM) 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.
http://www.speedtest.net/result/1062344638.png
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.
Aloivnevets
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
watch this and no this isnt my video
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.