Tutorial: How to setup a bukkit minecraft server
Warning: Jenkins is temporarily unavailable due to high load. There's a status thread on the forums: http://forums.bukkit.org/threads/jenkins-temporarily-unavailable.55174/
This will work with any version of java and windows. If for some reason it doesn't work try each one below.
java -Xmx1G -Xms1G -jar craftbukkit-1.0.1-R1.jar
@ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.0.1-R1.jar PAUSE
If you are running Java 7 beta, type this instead:
@ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre7\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.0.1-R1.jar PAUSE
Please note that the full directory of the java.exe doesn't need to be entered. just entering "Java" will do just fine, so one could use the following codes to ensure universal compatibility.
@ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" java -Xincgc -Xmx1G -jar craftbukkit-1.0.1-R1.jar PAUSE
Or, the following can be used (although may not work on all machines) It is a lot shorter than the previous ones.
@ECHO OFF java -Xincgc -Xmx1G -jar "%dp0craftbukkit-1.0.1-R1.jar" PAUSE
cat > minecraft.sh << EOF #!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" java -Xincgc -Xmx1G -jar craftbukkit-1.0.1-R1.jar EOF chmod +x minecraft.sh
6. Save the shell and make sure that it is executable, then open it in terminal. A console window will open and close quickly.
If you plan to run the server more permanently an init script like this one is recommended: 
For CentOS Users - A little more detailed page for CentOS.
|Warning:||Do not hit return|
|Warning:||To stop the server, do not close the terminal/command prompt window. Instead, type 'stop' into the console. Closing the terminal window without stopping the server could lead to corruption of the save files.|
ALTERNATE METHOD [Only for Advanced Users]:
Open Terminal (Found in Application/Utilities) and paste:
cd ~/Desktop/ mkdir BukkitServer cd BukkitServer/ curl -O http://ci.bukkit.org/job/dev-CraftBukkit/promotion/latest/Recommended/artifact/craftbukkit-1.0.1-SNAPSHOT.jar mv craftbukkit-1.0.1-SNAPSHOT.jar CraftBukkit.jar echo "cd ~/Desktop/BukkitServer/" >> start.command echo "java -Xincgc -Xmx[RAM]M -jar CraftBukkit.jar" >> start.command chmod +x start.command echo "You should update your server weekly!" open -a TextEdit start.command
Textedit should open a document called "LaunchServer.command". Find [RAM] and replace it with:
512 or 1024 or 1536 or 2560 or 3072 or 5120
That is the ram amount the server will have.
512=512MB; 1024=1GB; 1536=1.5GB; 2560=2.5GB; 3072=3GB; 5120=5GB
The server is installed on your Desktop, in "Bukkit Server". To start it double click "LaunchServer.command".
Also there is this mini guide for setting up a bukkit server:
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.minecraft...?f=1013&t=23122
Files / Download locations:
official server files: http://www.minecraft.net/download.jsp (bottom)
bukkit files: http://bamboo.lukegb...ev-CraftBukkit/
plugins for bukkit: http://plugins.bukkit.org/
- 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:
java -Xmx1024M-Xms1024M-jar craftbukkit.jar nogui
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
(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.
useful standard plugins
There are tons of useful and funny plugins which I want you to browse on your own. But I recommence to look after:
+ name: permissions
|-> description: a plugin, which allows you to control who is allows to do what. It has in integrated group system and
many, many plugins support it (the alternative is GroupManager but i'm not fimilar with it)
|-> link: http://forums.bukkit...sions-493.5974/
+ name: iconomy
|-> description: adds an extendable economy system to your server. Many plugins are supporting it.
|-> link: http://forums.bukkit...ease-update.40/
+ name: multiverse
|-> description: if you think to use multiple worlds -> this is the way how u realize it!
|-> link: http://forums.bukkit...orlds-400.3707/
+ name: LWC
|-> description: A plugin to protect each ones chests, doors and furnances
|-> link: http://forums.bukkit.....%20t-493.967/
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.
Short Title: Tutorial: How to setup a bukkit minecraft server
Full Title: Tutorial: How to setup a bukkit minecraft server
Raw Date: 2013-09-30 06:18:43
Nice Date: 6:18 am, September 30, 2013
Content Length: 10979
You need to Login or Signup to Add a Comment.