How to Make Bukkit Minecraft Server

Depending on your operating system, follow the steps given below, to install a Bukkit Minecraft Server and to run it.

Windows OS
Pre-requisite:-

Java must be installed on your system first.

Bukkit Server Windows Set-up:-
  • Create a folder, say Bukkit, for keeping things neat.
  • Download the latest official Craftbukkit jar file from http://dl.bukkit.org/. Place this jar file in the Bukkit folder that was created.
  • This jar file is presently titled craftbukkit-1.1-R4.jar . Rename it to craftbukkit.jar
  • Open Notepad and copy-paste the following in it:-

@ECHO OFF
java -Xmx1024M -Xms1024M -jar “%dp0craftbukkit.jar”
PAUSE

  • Save this in the same Bukkit folder, with a .bat extension. For example, you can call it START. Thus you must save it as START.bat (and not START.txt or START.txt.bat).
  • Double click START.bat to start your Bukkit server.
  • When you want to stop the game, type stop in the command window.
MAC OS X
Pre-requisite:-

If you have an older MAC OS X version then you will most probably have Java pre-installed in it. However, if you have MAC OS X Lion (10.7), you will need to explicitly install Java. This can be done from http://support.apple.com/kb/DL1421

Bukkit Server Mac OS X Set-up:-
  • Create a folder, say Bukkit, for keeping things neat.
  • Download the latest official Craftbukkit jar file from http://dl.bukkit.org/. Place this jar file in the Bukkit folder that was created.
  • This jar file is presently titled craftbukkit-1.1-R4.jar . Rename it to craftbukkit.jar
  • Open TextEdit and copy-paste the following in it:-

#!/bin/bash
cd “$( dirname “$0″ )”
java -Xmx1024M -Xms1024M -jar craftbukkit.jar

  • Save this in the same Bukkit folder, with a .command extension. Say, Start_Bukkit.command
  • Open Terminal.app and type the following and hit return:-

chmod +x
Instead of typing the path to the command file, you can also drag and drop the Start_Bukkit.command file into the Terminal.app after typing chmod +x

  • You can then start the server by double clicking on Start_Bukkit.command
  • To stop the server, type stop in the terminal window.
LINUX
Pre-requisite:-

Java must be installed on your system first.

Bukkit Server Linux Set-up:-
  • Create a directory, say Bukkit, using the mkdir command

mkdir Bukkit

  • Download the Craftbukkit Jar file using the wget command

wget http://dl.bukkit.org/latest-rb/craftbukkit.jar

  • Create a shell script document using nano command in the same folder as the craftbukkit.jar

nano craftbukkit.sh

  • Copy-paste the following in it:-

cat > craftbukkit.sh << EOF
#!/bin/sh
BINDIR=$(dirname “$(readlink -fn “$0″)”)
cd “$BINDIR”
java -Xmx1024M -Xms1024M -jar craftbukkit.jar
EOF
chmod +x craftbukkit.sh

  • Save it by hitting Ctrl+O and exit by hitting Ctrl+X.
  • In the terminal window, go to the folder that has these files and run the server by typing:-

./craftbukkit.sh

  • To stop the server type stop in the terminal window.
Note:-

Never close the command/terminal window directly if you want to close the server, in any OS. Always use the ‘stop’ command to stop the server first. Directly closing the terminal window may result in corruption of required files, and might affect playing the game in the future.

Refer BukkitWiki for more.

This entry was posted in How to. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>