BukkitWiki

Welcome to the BukkitWiki!

This Wiki is home to Bukkit's documentation and regulations surrounding the Bukkit Project and it's services. Want to help out? We would love to have you! Signup to get started!

READ MORE

BukkitWiki
Advertisement
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is part of the official Bukkit Documentation

This page has been accepted and included in the official Bukkit Documentation. You can discuss discrepancies, issues, or errors in the article on its Talk page.

Poznámky k návodu

Lightbulb Note: In this guide we refer to the server file as craftbukkit.jar but the file you download may be named differently. The file name used in your start script must match the name of the file you download.
Lightbulb Note: Pokud máte stroj, který využívá více IP adres a víte co to znamená/obnáší, server-ip= v souboru server.properties MUSÍ zůstat beze změny z původního nastavení a být prázdná.
Lightbulb Note: Pokud spouštíte server poprvé, budou se zobrazovat chyby. Nezoufejte, je to normální – server vytváří potřebné soubory a složky, které ještě nebyly vytvořeny.
Lightbulb Note: Bukkit server je určen jako kompletní náhrada za oficiální Minecraft Server stažený z Minecraft.net a nemůžou běžet oba současně na jednom počítači. Je však možné, zkopírovat vaše světy z Minecraft.net serveru do serveru Bukkit, abyste mohli nadále pokračovat ve vaši rozdělané práci. Jako vždy, zálohujte vaše data a konfigurace před migrací na Bukkit.

Windows

1. Stáhněte nejnovější doporučenou verzi Craftbukkitu: CraftBukkit - Where can I get it?
2. Vložte stažený .jar soubor do složky, ze které chce server spouštět.
3. Otevřete textový editor (třeba Poznámkový blok) a vložte do něj:
java -Xmx1024M -jar craftbukkit.jar -o true
PAUSE
4. Uložte dokument jako run.bat (soubor musí být ve formátu .bat, ne .txt) ve stejné složce, kde máte soubor craftbukkit.jar.
Lightbulb Note: Některé programy, jako Poznámkový blok se snaží uložit soubor ve formátu .txt. Při ukládání souboru vložte název do uvozovek: "run.bat"
5. Spusťte soubor run.bat a je hotovo!
6. Pro vypnutí serveru napište příkaz "stop" do konzole.
Pokud se vám zobrazuje chyba "Java is not recognized as an internal or external command, operable program or batch file.", musíte přeinstalovat Javu. Stále se vám zobrazuje chyba? Pomocí tohoto návodu zjistěte, jak správně přidat Javu.

Linux

1. Stáhněte nejnovější doporučenou verzi Craftbukkitu: CraftBukkit - Where can I get it?
2. Put the .jar in a folder, for this example we'll use a generic one: ~/craftbukkit
3. Move to the above directory in terminal with 'cd ~/craftbukkit'
4. Create a new file in the minecraft folder and name it craftbukkit.sh
5. Edit the file and paste this into it:
#!/bin/sh
 BINDIR=$(dirname "$(readlink -fn "$0")")
 cd "$BINDIR"
 java -Xmx1024M -jar craftbukkit.jar -o true
6. Make the file executable, either by running "chmod +x ~/craftbukkit/craftbukkit.sh" in a terminal, or by changing the permissions in the file's properties.
7. Then, in terminal, type '~/craftbukkit/craftbukkit.sh' to run to start the server. 
8. 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 (recommended) [1]

If you want to run your server with screen, you can use a script like this one (recommended) ABM

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.
  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 set it to plain text mode under format and paste the following in
      #!/bin/bash
      cd "$( dirname "$0" )"
      java -Xmx1024M -jar craftbukkit.jar -o true
    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 a+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 -LO http://cbukk.it/craftbukkit.jar
echo "cd ~/Desktop/BukkitServer/" >> start.command
echo " java -Xmx1024M -jar craftbukkit.jar -o true" >> start.command
chmod +x start.command

The server is installed on your Desktop, in "Bukkit Server". To start it double click "LaunchServer.command".

Komunitní návody

Ubuntu Server x64 Setup.


Language   EnglishбеларускаяDeutschespañolsuomifrançaisitaliano한국어Nederlandsnorskpolskiportuguêsрусскийlietuviųčeština
Advertisement