Login

Sign Up

We will not share your personal details with any third party.

Welcome to Minecraft Age
Minecraft Age - Your source for Minecraft News

Tutorial: How to setup a bukkit minecraft server

6449

Preliminary notes

Warning 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/

Lightbulb.png Note: The name of the craftbukkit .jar file must match the one you download. (currently craftbukkit-1.0.1-R1.jar)
Lightbulb.png Note: Unless you have a multi-homed machine and know what this means/requires, server-ip= in server.properties MUST remain unchanged from default and be blank.
Lightbulb.png Note: When running a server for the first time, errors will show up. Do not worry as this is normal; the server is generating files and folders needed to run as they do not exist yet.

Windows

Auto Installer:

  1. ImminentFate's CraftBukkit Installer

Manual (recommended):

  1. Download CraftBukkit's latest build: CraftBukkit - Recommended Build cb_rec_date_mcver_bold.png
  2. Put the .jar file in the directory you'd like the server to run from
  3. Open notepad and type:


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
Lightbulb.png Note: If you are running java in 32-bit mode on a 64-bit machine, change %ProgramFiles% to %ProgramFiles(x86)%

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

4. Save the document as RUN.bat (not as a .txt)
5. Double Click RUN.bat and you're away!
6. When you're done toying, issue "stop" command in console.

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

Linux

See also: Setting up a remote Linux server
  1. Download CraftBukkit's latest recommended build.
  2. Put the .jar in a folder, for this example we'll use a generic one: ~/minecraft
  3. Move to the above directory in terminal with 'cd ~/minecraft'
  4. Create a new text document in the minecraft folder and name it minecraft.sh
  5. Edit the document and paste this into it:
 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. 

6. Then, in terminal, type '~/minecraft/minecraft.sh' to run to start the server. 
7. When you're done playing around, issue the "stop" command in console.

If you plan to run the server more permanently an init script like this one is recommended: [1]

For CentOS Users - A little more detailed page for CentOS.

Mac OS X

  1. Install Java
    Since OS X 10.7 Java does not come packaged with OS X. You will need to install java from the Apple's website http://support.apple.com/kb/DL1421
  2. Obtaining the Server Files
    To run a server you will need the server jars, i.e. the server files. We will need a place to put the files.
    1. Create a New Folder
      Open up finder, and create a new folder in your Home folder named CraftBukkit
    2. Download the File
      Download the server files. You can download the latest builds from the front page of the wiki.
      Note: Download the stable build if you are not chasing the cutting edge in the development build
    3. Move the File
      Move the file from the Downloads folder to the CraftBukkit folder you created.
    4. Rename the File
      We will rename it craftbukkit.jar
  3. Obtaining startup script
    To easily start the server you will need a startup script. The following is a basic server script to start your server.
    1. Open up TextEdit and paste the following in
      #!/bin/bash
      cd "$( dirname "$0" )"
      java -server -Xmx2G -jar ./craftbukkit.jar
    2. Save the file
      Save it in your CraftBukkit folder as start_server.command
    3. Allow the script to run
      1. Open up Terminal.app
      2. Type into Terminal.app
        chmod +x
        Warning Warning: Do not hit return
      3. drag the start_server.command into Terminal.app
      4. hit return
  4. Starting the server
    From this point on you can start the server by double-clicking start_server.command.
    You will need to run the server once for it to generate some configuration files.
    Warning 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". 

Via the wiki, which is currently down at the moment...

 

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/

Summary
- 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

Quote

[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.

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/


Conclusion
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.

 

Thread Source

 

Videos on How to setup a bukkit server

Comments

add a comment

posting as Anonymous login or signup

comment

Category: page

Share

Page Details

Views: 6449
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
Rating: 0
Content Length: 7998

Tutorial: How to setup a bukkit minecraft server Incoming Search Tags

More from page

Release News: Minecraft 1.2 is Out!

Its going to be the best weekend ever! New Minecraft patch and a lot of rain. ;) From the official mojang site:   Minecraft version 1.2 (actually 1.2.1) is now officially released! Get it ..

Minecraft 1.3 - Almost there with patch 12w..

So here’s the new snapshot! This week got interrupted by the Swedish National Day, and we are focusing on finishing up stuff in order to release Minecraft 1.3. Also, we’re moving to our ne..

Minecraft 1.4.4 Pre-release

There were two important new problems in the 1.4.3 pre-release that we had to fix, so here’s a pre-release of 1.4.4 instead! We hope to publish it in the launcher in the middle of next week. Th..

Minecraft Pi Edition almost released

Yes its almost here. The Pi Edition of Minecraft, yet another reason to get your hands on this awesome little piece of hardware. Here is the official post. Have you ever thought about learning to p..

1.4 Update is HERE!!! Scary..

Yes its here and this is what i need to update ;)   Nice quick links:   MC Patcher: https://github.com/pclewis/mcpatcher/downloads   Dokucraft: The Saga Continues [OFFICIAL] [32x..

Minecraft Snapshot Week 22 - 12w22a

Snapshot time! Quick overview of changes: Trading with villagers has been updated Enchantment system has been rebalanced A new Redstone-activating block Better Creative inventory Pausing should..

#Minecraft 1.3 Updates - 12w16a! Bonus Ches..

  Here’s the development snapshot of week 16, 2012! This week’s list of changes is not as hidden as before: Added a demo mode for non-premium users (won’t be available unt..

Can i Host a Minecraft Server & Minecraft B..

This is just a short post, i found this page quite useful. It basically tells you that you cant host one, unless you have awesome bandwidth (which i dont). Anyway Here is the link: http://caniho..

SinglePlayer Level.dat Editor - Gain Experi..

SpL EditorSinglePlayer Level.dat Editor Information:SpL Editor is multiple world level.dat editor for Singleplayer, aimed at the convenience and multiplatform support.Features:Screenshot says, but so..

Update 1.1 Minecraft Changes

Bows are now enchantable, with four new enchantments specific to bows: Power, Punch, Infinity, and Flame. Arrows which are on fire now set entities they hit on fire. Gol..

How to taim and ride horses in 1.6 minecraf..

Get a Hay bale, and put it near or next to the horse. Feed it some wheet. Have a horse saddle, or some horse armor and right click the horse with it. then you can right click on the horse to ride it..

Minecraft Showcase: Animator - Long-Range W..

  Minecraft Showcase: Animator    I think this one just blew my mind just a little bit. Only when he zooms out a bit, you can see the wiring involved! Anyway check out the video. ..

Minecraft 1.2.4 - Update Patch Released

  Minecraft 1.2.4 + Chat history and much better chat editing+ A few new decoration blocks+ “Back” and “Quit” buttons to OutOfMemoryScreen+ Made cats mor..

Minecraft Potions Guide and FAQ

To start making potions you will need a brewing stand and some glass vials. Creating your first potion Most potions are based on the awkward potion, which is created by adding Nether Wart above so..

New Weekly Minecraft Snapshot 12w07a is out

New Weekly snapshot 12w07a is out and its packed full of new features! I havent checked this one out just yet, but looks pretty interesting.     Here are the new features. Added..

Minecraft 1.3 Info + Snapshot w27 + More Ju..

So here is the official jucy details, this is a big one: This week Dinnerbone (Nathan Adams) has arrived to the Mojang office in Stockholm. He’ll be working full-time on Minecraft here, and..

Minecraft Weekly Snapshot 12w2b - The jucy ..

Time for a new snapshot! One big difference this time is that you don’t need the server jar to play single-player. Also, Villagers will trade items (they are cheap ********, though!) Added a..

Minecraft Snapshot 12w08a, New Mob added Ir..

Here’s the development snapshot of week 8, 2012! We’ve been a little bit busy with the LEGO trip and Mojam, so the list of changes is a bit shorter than usual: Added a defense mob to ..

Official Update - Minecraft - Pocket Editio..

As you may remember with the last update for Minecraft – Pocket Edition we started to introduce the “Survival” aspects of the game (health, mobs, day/night). We knew that the next ..

Minecraft Snapshot 12w17a - Write your own ..

    Here’s the development snapshot of week 17, 2012! This week’s list of changes: Added editable books Wooden half slabs in four colors (and they act as wood instead o..

Quick Links

Share This

Gallery

Just Added

#minecraft

x
Page generated in 0.2972 seconds. Users Online: 49