How To Install Craftbukkit Server
This page is function of the official Bukkit Documentation
This page has been accepted and included in the official Bukkit Documentation. Y'all tin can hash out discrepancies, bug, or errors in the commodity on its Talk page.
Preliminary notes
-
Annotation: In this guide we refer to the server file equally craftbukkit.jar but the file you download may exist named differently. The file proper noun used in your starting time script must lucifer the proper noun of the file you download. -
Note: Unless you have a multi-homed motorcar and know what this means/requires, server-ip= in server.properties MUST remain unchanged from default and be blank. -
Note: When running a server for the first time, errors volition evidence upwards. Practice not worry equally this is normal; the server is generating files and folders needed to run equally they exercise non exist nonetheless. -
Note: The Bukkit server is intended every bit a complete replacement for the official Minecraft Server downloaded from Minecraft.net and is non commonly ran at the same time on a unmarried computer. It is possible withal, to copy your 'World' data files previously created inside a Minecraft Server into your Bukkit folders to continue utilise of your previous game. As always, fill-in your data and configuration prior to migrating to Bukkit.
Windows
- 1. Get CraftBukkit's latest recommended build: CraftBukkit - Where can I get it?
- 2. Put the .jar file in the directory you'd like the server to run from
- iii. Open up a text editor such every bit Notepad and type:
java -jar craftbukkit.jar PAUSE
- 4. Salvage the document as run.bat (not as a .txt) in the same directory as craftbukkit.jar.
-
Note: With some programs such equally Notepad, it may endeavor saving as run.bat.txt. When saving to a file name, put the proper noun in quotes: "run.bat" - v. Double click run.bat and y'all're away!
- 6. To shut downwardly, outcome the "stop" command in console.
- If you see "'Coffee' is non recognized as an internal or external command, operable program or batch file." so yous need to reinstall Java. Still get this error? Follow this guide to adding Java to your arrangement path.
Linux
- i. Become CraftBukkit's latest build: CraftBukkit - Where tin I become it?
- 2. Put the .jar in a folder, for this example we'll utilise a generic 1: ~/craftbukkit
- three. Move to the in a higher place directory in last with 'cd ~/craftbukkit'
- iv. Create a new file in the minecraft folder and name it craftbukkit.sh
- v. Edit the file and paste this into information technology:
#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" coffee -jar craftbukkit.jar
- half-dozen. Make the file executable, either by running "chmod +ten ~/craftbukkit/craftbukkit.sh" in a last, or past changing the permissions in the file's properties.
- 7. Then, in terminal, blazon '~/craftbukkit/craftbukkit.sh' to run to kickoff the server.
- viii. When you're washed playing around, issue the "end" control in console.
If y'all plan to run the server more permanently an init script similar this ane (recommended) [1]
If yous want to run your server with screen, you can apply a script like this one (recommended) ABM
Mac Bone X
- Install Coffee
- Since OS Ten 10.7 Java does non come packaged with OS X. You lot volition demand to install java from the Apple's website http://support.apple.com/kb/DL1421
- Obtaining the Server Files
- To run a server you will need the server jars, i.due east. the server files. Nosotros will need a identify to put the files.
- Create a New Binder
- Open up finder, and create a new folder in your Home folder named CraftBukkit
- Download the File
- Download the server files. You can download the latest builds from the forepart page of the wiki.
- Note: Download the stable build if you lot are not chasing the cutting edge in the development build
- Motion the File
- Motion the file from the Downloads folder to the CraftBukkit folder you created.
- Obtaining startup script
- To easily start the server you will need a startup script. The following is a basic server script to kickoff your server.
- Open up upward TextEdit set it to apparently text mode nether format and paste the following in
#!/bin/bash cd "$( dirname "$0" )" coffee -Xmx1024M -jar craftbukkit.jar -o true
- Save the file
- Relieve it in your CraftBukkit folder as start_server.command
- Permit the script to run
- Open up Concluding.app
- Blazon into Concluding.app
- chmod a+x
-
Warning:
Do not striking return
- drag the start_server.control into Terminal.app
- hit render
- Starting the server
- From this betoken on you tin can offset the server by double-clicking start_server.command.
- You will demand to run the server once for information technology to generate some configuration files.
-
Alarm:
To stop the server, practice not close the terminal/control prompt window. Instead, type 'stop' into the console. Endmost the terminal window without stopping the server could lead to abuse of the salvage files.
Alternating METHOD [Only for Avant-garde Users]:
Open Last (Found in Application/Utilities) and paste:
cd ~/Desktop/ mkdir BukkitServer cd BukkitServer/ scroll -LO http://cbukk.information technology/craftbukkit.jar echo "cd ~/Desktop/BukkitServer/" >> start.command echo " java -Xmx1024M -jar craftbukkit.jar -o true" >> kickoff.command chmod +10 start.command
The server is installed on your Desktop, in "Bukkit Server". To offset it double click "LaunchServer.command".
Troubleshooting
Troubleshooting Common Problems
Ubuntu Server x64 Setup.
| Language | English • беларуская • Deutsch • español • suomi • français • italiano • 한국어 • Nederlands • norsk • polski • português • русский • lietuvių • čeština |
|---|
Source: https://bukkit.fandom.com/wiki/Setting_up_a_server
Posted by: smithshord1965.blogspot.com

0 Response to "How To Install Craftbukkit Server"
Post a Comment