I taught you how to create a minecraft server, today we will do almost the same thing, but now we will use bukkit, which means that we will be able to install plugins on our server. I repeat, the process is eerily similar to installing a regular server, so don’t be surprised if you experience déjà vu.
Let's get started, first we need to download bukkit. It is absolutely free and can be downloaded from the official website. Here is the link where you can always download the most latest version:
After downloading, put it in an empty folder (for our convenience). Now we need to figure out the launch. If you have Windows, then create a new one in this folder text file, we write the following in it:
Java -Xms512M -Xmx1536M -jar craftbukkit-1.2.5-R1.0.jar
Attention, the number 512 is the minimum amount of RAM that will be allocated to the server. Number 1536 - maximum ram. And instead of “craftbukkit-1.2.5-R1.0.jar” there should be the name of your bukkit file. I’ll say right away that if you read the article in the future, the file you downloaded most likely has a different name, because with each update a new version number is written in its name.
Now let’s save our file with the extension “.bat”. For example, I saved it as “run.bat”.
When you run this file, our server will start up. Well, actually, let's launch it. A console window should appear with various messages. We wait until a message like this appears (I waited 25 seconds):
21:12:59 Done (24,943s)! For help, type "help" or "?"
Now we turn off the server by typing the “stop” command in the console. We turned the server on and off so that it generated a map and created the necessary folders and files.
Let's take a look at the files that appeared in our folder. Basically these are the same files that were in the standard server. I won’t describe them, because I did it on a standard server. In addition to them, there are 3 more exclusively bukkit files:
- help.yml - stores data about commands installed plugins And brief information to them. This file is generated automatically and does not need to be modified.
- permissions.yml - it specifies permissions for users. To be honest, I don’t know at all how to use it, since it was introduced relatively recently and out of habit we use third-party plugins that do their job well.
- bukkit.yml - basic server settings, now we’ll look at everything in detail.
So, meet bukkit.yml:
#Attention! All .yml files do not allow tabs, use spaces settings: #whether to allow edge: allow-end: true #whether to output system messages to the console if the server is overloaded: warn-on-overload: true #spawn radius. Affects the protection of the spawn territory: spawn-radius: 16 #path to the file with permissions: permissions-file: permissions.yml #if you have a folder /update in the /plugins folder, then at startup #fresh versions of plugins will be taken from it and replaced old: update-folder: update #this function, according to the off-wiki, is temporarily not working: ping-packet-limit: 100 #if you get stuck in blocks when entering the game, try changing this to true: use-exact-login- location: false #something like outputting debugging information about plugins, it’s better not to touch: plugin-profiling: false #time that must pass after leaving the server before you can log in again. #Indicated in milliseconds, that is, 1000 = 1 second. Protects against DDoS: connection-throttle: 4000 ticks-per: #means that animals will spawn every 400 ticks (1 tick = 1/20 second): animal-spawns: 400 #monsters will spawn every tick: monster-spawns: 1 #auto-updater, I’ve never used it, which I advise you to do auto-updater: #is the updater enabled: true #what to do if a bug is found in the current build? now you should "write to the console" and #"write opam": on-broken: - warn-console - warn-ops #what to do if you quit new version bukkita? now you should “write to the console” and # “write to op”: on-update: - warn-console - warn-ops #on which channel to look for updates ("rb", "beta" or "dev"). "rb" - Recommended #Build, that is, there are only proven, stable versions. "beta" - apparently #more experimental versions. "dev" - the newest, but raw and test versions, #which may have many bugs: preferred-channel: rb #where to look for updates. There is no need to change this parameter. Never: host: dl.bukkit.org #not a word about this item in the documentation: suggest-channels: true #some settings for the database, in the official documentation they are advised not to change: database: username: bukkit isolation: SERIALIZABLE driver: org .sqlite.JDBC password: walrus url: jdbc:sqlite:(DIR)(NAME).db
We also have a “plugins” folder. Typically, plugins are installed by copying the plugin's .jar file into this folder and restarting the server.
If you know English, then get the plugins from here:
Actually, that’s all, we set it up, launch it and play. The commands are the same as for a regular server, plus here are some new ones:
- /plugins— displays a list of plugins that are installed on the server
- /reload— if you want to install the plugin on the server without rebooting the server, then copy the plugin to a folder and run this command. It will reload all plugins. But I still don’t recommend using it, it’s not always stable.
- /say<сообщение> — write to chat on behalf of the server.
- /tell<ник> <сообщение> — send a private message
- /version— find out the bukkit server version
- /whitelist add<ник> — add a player to the whitelist
- /whitelist remove<ник> — remove a player from the whitelist
- /whitelist off- disable whitelist
- /whitelist on— enable whitelist
- /whitelist list— view whitelist
- /whitelist reload- reload whitelist from file
This guide will tell you how to install and run the Bukkit minecraft server.
To get started, you will need to complete three simple steps. Download java to your computer. Here you can download the version for .
Then, you need to download the Bukkit server file itself - which has a rar extension.
(downloads: 1276)
After you have downloaded everything necessary files. Place the Bukkit server jar file in the folder where your server is located. As you can see, everything is quite simple.
Running a server on Windows
You can download ready-made packages and unzip the required batch file into the folder with the Minecraft server. You can edit the things you need, for example, change the size of RAM allocated by the server (by default it is 1 GB). Also, after downloading, you can safely skip points 1-3 described above.
Next, you need to create a text document in the folder with the minecraft server; it will be the basis for launching your server. Warning: The text below, if you copy and paste it into your text document, should not contain any extra characters; if they appear there, delete them.
Launch code for 32 bit system
@ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" java -Xincgc -Xmx1G -Dfile.encoding=UTF-8 -jar craftbukkit.jar
If this code doesn't work, try the next one.
"%ProgramFiles%Javajre7injava.exe" -Xmx1024M -jar craftbukkit.jar
-Xms1024M -Xmx1024M
This is the amount of RAM consumed by the server.
craftbukkit.jar
The server name, which is included in the file name. jar.
Having written down everything necessary, we save the resulting document with the extension - your name.bat. If using Windows you are unable to save with the required extension. Then use the totalcommander program. In it, press the keys ctrl+m and in the box labeled extension, enter - bat and click apply.
Now you can start the server with one click, just double-click on the file - your name.bat. If everything is done correctly, the Minecraft server window will open.
In order to stop the minecraft server, you just need to enter the usual command - stop.
Launch code for 64-bit system
Everything is the same as for 32-bit, only you need to write a different code, the one given below.
@echo off "%ProgramFiles(x86)%Javajre7injava.exe" -Xms1024M -Xmx1024M -jar -Dfile.encoding=UTF-8 craftbukkit.jar nogui
Running a server on Linux
This method is universal for all Linux systems. First, download java/ then we need to place the server file with the jar extension in a folder, for example, it will be /home/minecraft. Having done this, open the console, then applications/standard/terminal. For Ubuntudekstop, you can use the key combination - ctrl+alt+t.
Go to the server folder by entering the command - cd/home/minecraft/
Enter the command - nanostart.sh
And insert the following code:
#!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$BINDIR" java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true
Now all that remains is to make the file executable by entering the command - chmod +x /home/minecraft/start.sh
cd /home/minecraft/ To start you need to enter - ./start.sh
If suddenly you can’t do it, try sequentially entering 1) cd / home/minecraft/ 2) sudo ./start.sh.
If everything worked out, repeat for the next launch:
To go to the directory, enter - cd /home/minecraft/ To start you need to enter - ./start.sh
To stop the server, enter stop in the console.
You will find the server settings in the file - serversproperties. You can find out what is responsible for what by looking under the spoiler.
#Minecraft server properties
#Sat Mar 02 14:08:14 MSK 2013 File creation
generator-settings= Won't be needed
allow-nether=true Allows transition to the lower world
level-name=world Name of the world map folder
enable-query=false It's unlikely you'll need it
allow-flight=false will allow you to fly
server-port=25565 Server port
level-type=DEFAULT Type of world. DEFAULT / FLAT / LARGEBIOMES Standard/Flat/"Huge" Biomes
enable-rcon=false Remote access to the server console.
level-seed= Server LED
server-ip= Server IP (you don’t have to write it, especially if it’s dynamic)
max-build-height=256 Maximum height from bottom to top
spawn-npcs=true Villager spawn
white-list=false Enable whitelist (list of players who are allowed to play on the server)
spawn-animals=true Animal spawn
snooper-enabled=false Sending statistics to developers
hardcore=false Hardcore mode (you don't respawn when you die)
texture-pack= The name of the zip archive with textures located in the server folder
online-mode=false Premium Account Authentication
pvp=true Allow PVP
difficulty=1 Difficulty from 0 to 3
server-name=VlomServer ServerName
gamemode=0 Game mode. 0 - Survival, 1 - Creative, 2 - Adventure (available in new versions)
max-players=20 Maximum number of players
spawn-monsters=true Spawn monsters.
view-distance=10 Distance range, with “lags” can be reduced
generate-structures=true Generates villages
spawn-protection=16 Number of unbreakable blocks from spawn
motd=Sozdatserver.ru Server description (up to 60 characters)
Installing and configuring Bukkit plugins is not easy. Here we'll walk through the process of installing the basic plugins that are required to run a multiplayer server (not a Vanilla server). First, let's install the Essentials plugin. Open new tab in your web browser and go to http://dev.bukkit.org/server-mods/essentials/
Click "Download" on the right side of the page. On the page that opens, click “Download” again. Now open the downloaded ZIP file and copy the JAR files that are in the archive. Go to your server's files folder. In it, find the “plugins” folder; open this folder and paste the copied JAR files into it.
Return to the main server files folder. Locate and double-click the "run.bat" file to start the server. Several messages will appear on the screen with the word “Essentials” - this is the process of creating the necessary files in the “plugins” folder. Now enter the stop command to stop the server.
The Essentials plugin is now installed on the server. Go to the main server files folder and then locate and open the "server.properties" file. A pop-up window may appear asking you to find a program to run the file - in this case, simply click on the option to select one of the programs, then click OK and select Notepad.
You can configure your server in the “server.properties” file. For example, you can specify the maximum number of players and activate a “white list”, which will allow only those players you specify (in another file) to connect to the server. To disable or enable a specific setting, change the value from “true” (enable) to “false” (disable) and vice versa. For example, by default the "allow-nether" parameter, which activates the Nether, is set to "true". The nether world, as a rule, slows down the server. Therefore, change the value of this parameter from "true" to "false".
Another example is to change the default game mode. This mode is survival mode. Change the value from "0" to "1" so that the main mode becomes Creative mode.
Save the "server.properties" file and close it. Now double click on the "run.bat" file to start the server and then run Minecraft game. Log into Minecraft, go to the multiplayer server page, select "Connect" and enter "localhost" (without the quotes). You will connect to the created server. IN command line enter the command: op<имя вашей account>. This command will grant your account operator status, which gives access to almost all commands. In the world of Minecraft, select a beautiful area, press the "T" key and enter the command /setspawn
Now that you have established an entry point for new players, learn how to forward ports so that other players can connect to your server.
Bukkit is a server modification designed to simplify the creation of plugins. Bukkit is currently the most popular plugin management system. In this article we will look at a question that interests many Minecraft lovers: how to install a Bukkit server.
How to download the server distribution
Before installation, you need to download the Minecraft Bukkiit server from here: www.dl.bukkit.org. You can always find the latest version of Bukkit at this address.
Installing Bukkit on PC
If you do not already have the Java package installed on your computer, you will need to install it. You can download the package from here www.java.com.
In the same directory where we have the Bukkit distribution, create a .bat file with the following command:
java -Xms512M -Xmx1536M -jar [filename of the Bukkit distribution]
In this command, 512 and 1536 are the minimum and maximum sizes of RAM to allocate for the server. Depending on your computer configuration, these values may vary.
Executing the created .bat file starts the bukkit server, and a console window with system messages appears on the screen. At the first start, the server creates all the directories and files necessary for its operation; all this should take less than a minute.
Let's look at what files were created as a result of the first run:
- banned-ips.txt – players banned by ip;
- banned-players.txt – nicknames of banned players;
- ops.txt – list of administrators (ops);
- server.log – log where service information is recorded;
- server.properties – server settings;
- white-list.txt – players who are allowed access to the server;
- permissions.ym - permissions for players;
- help.yml - help on plugin commands;
- bukkit.yml - server settings.
In addition, the following directories appeared:
- Plugins - directory for plugins;
- World- - directory for placing the main world
- World_nether - directory for placing the lower world (Hell, Nether)
Configuring server settings
Let's take a closer look at what the settings are in the Minecraft Bukkit server. The parameters for each command are given numeric, text, or Boolean (true/false) values.
bukkit.yml file
- allow-end: true - permission to set the edge of the world;
- warn-on-overload: true - output a system message to the console when the server is overloaded;
- spawn-radius: 16 - spawn radius;
- permissions-file: permissions.yml - location of the permissions file;
- update-folder: update - the folder in which updates are stored;
- use-exact-login-location: true - parameter that controls login to the game;
- plugin-profiling: false - affects the output of debugging information;
- connection-throttle: 4000 - time after logging out, after which you can log into the server again;
- ticks-per: time in ticks after which they will spawn;
- animal-spawns: 400 - animals;
- monster-spawns: 1 – monsters;
- enabled: true - whether automatic updating is enabled;
- on-broken: - actions when a bug is detected;
- warn-ops - write to the administrator;
- on-update: - actions when an update is detected (same options as above):
- warn-console - write to the console;
- warn-ops write to administrator;
- preferred-channel: rb - channel through which updates are searched;
- host: dl.bukkit.org - update location.
server.properties file
- allow-nether=true - allow transition to the lower world;
- level-name=world - the name of your world (the folder where the world will be stored);
- enable-query=false - calling statistics from the server;
- allow-flight=false - ability to fly around the world;
- server-port=25565 - server port address;
- level-type=DEFAULT - server map type;
- enable-rcon=false – receive remote access to the console;
- level-seed= – level seed;
- max-build-height=256 – maximum height for buildings (from 64 to 256);
- spawn-npcs=true - whether spawning of villagers is allowed;
- white-list=true – white list;
- spawn-animals=true – permission to spawn animals;
- online-mode=true - true for licensed ones, false - for pirated ones;
- pvp=true – PVP permission;
- difficulty=1 - game difficulty (from 0 to 3);
- gamemode=0 – game mode, 0/1 – survival/creative;
- max-players=20 – maximum number of players on the server;
- spawn-monsters=true – permission to spawn monsters;
- generate-structures=true – permission to generate villages and other structures;
- view-distance=10 – visible range;
- motd=A Minecraft Server – message displayed in the list of servers, no more than 60 characters.
Installing new plugins
Downloaded plugins (.jar files) must be copied to the Plugins folder. It is important to remember that the plugin starts working only after the server is restarted.
Teams for the game
- /help – full list commands;
- /kick – disconnects a player from the server;
- /ban – ban a player;
- /pardon – unban a player;
- /ban-ip – ban by IP address;
- /pardon-ip – unban by IP address;
- op – make the player Op;
- deop – demote Op to player;
- tp – transfer of one player to another;
- /give – give the player an item;
- /tell – send a message;
- /stop – stop the server;
- /save-all – save the map;
- /list – list of players;
- /say – output a message to the chat;
- /gamemode – determines the game type;
- /time set – sets the time of day.
Well, are there any more questions about how to create a Minecraft Bukkit server? Then go ahead, launch the server and invite all your friends to join! Good luck in the game!