I'm hosting a Minecraft Server for 2 Months now and would like to share my experience. It's especially a guide for beginners, because i felt a little bit helpless without any good tutorials how to set up a server and WHERE to search for the right files.
I'm just explaining the setup of the server on a linux server, because a real server has to run on a rootserver and in most cases linux is running on it. A general knowledge how to deal with linux on console is required as well. Else, there is a tutorial dealing with this topic: http://www.minecraftforum.net/viewtopic.php?f=1013&t=23122
- download official server files (minecraft_server.jar)
- download latest craftbuckkit (craftbuckkit.jar)
- run server with "java -Xmx1024M -Xms1024M -jar craftbukkit.jar nogui"
- create folder "plugins" and move your plugins in it!
- configure your config files
How to start
Download the official server files from minecraft.net. There now should be a "minecraft_server.jar" in your favored directory. After it you should get the latest build of CraftBukkit (well, the project is known as Bukkit, but actually the used version is CraftBukkit, since Bukkit itself is for developers. So don't make the mistake to download Bukkit).
The latest snapshot is in general a good start, but you should look after a build (listed in the left table) which is marked with a green star, which points out a recommenced version. After a rename you should now have the official server "minecraft_server.jar" and a "craftbukkit.jar" in your directory.
It's now time for a first start. Run the server with the command:
This is exactly the same command from minecraft.net, but instead of minecraft_server.jar you point to the craftbukkit.jar.
If everything went well and you can see
[INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
(or a similar message) when starting the server, you got the first, most important step.
Improving game experience
Now, the best thing of bukkit is that you can extend it by just creating a "plugins" folder in the directory of your server and move every plugin you download from the link I gave you above into that folder. If it is a .zip archive, just unpack it. You can edit the config files which are often in a folder with the same name like the plugin. Sometimes the config files are just generated when you restart the server and sometimes they create them in the root directory of your server.
Updating and helping
As a good server administrator you want to live on the bleeding edge of development and heres your task. You have to follow the development of every single plugin you add. Since every plugin produces server load, you should care about the amount. If you discover a bug or you have a suggestion: Feel free to ask in the Thread of the plugin. Bukkit and the plugins are under heavy development. Feel also free to thank the plugin developers for their work.
Since Bukkit and the plugins are under heavy development it could happen (it will happen ...) that bugs occur. As soon as you got a working combination of CraftBukkit build and plugins, you should make a BACKUP!!! This state is also a chance for you to see your suggestions realized very quick.
ADVICE: I never used bookmarks seriously before, but since I host this server i follow the development of the plugin I'm using. Bookmarks in your browser are a good way to keep track and a fast way to check, if your server and your plugins are up to date. Unfortunatly there isn't a general update system implemented in CraftBukkit so everything is done manualy.
Hope this guide helped you, contact me for questions, suggestions to improve this howto or if there is a far better howto, just tell me to delete it :wink.gif:.
Sorry for being noobish, but I'm having trouble with the "run server with the command" part.
I don't get this either, can someone help us with that?
Ok guys you need to copy that code into a notepad document, click on save as and call it run.bat
Click on the save as type dropdown menu and select "All Files" and save it in the same folder as your craftbukkit.jar
Now all you have to do is double click on that and it should start your server. It will come up with a few errors when it first starts but thats fine. After it has finished, stop the server and edit any files as necessary. Start up the server with run.bat and it should work fine