Linux Commands and Scripts

Steps to Install Minecraft Bukkit Server on CentOS

In this article, we will show you how to install Minecraft Bukkit server on CentOS server.

Bukkit is a free, open-source, software that provides the means to extend the popular Minecraft multiplayer server.

Bukkit is a Minecraft extension, offering several unique features and plugins to enhance your gaming experience. Bukkit is a community-driven project that makes it possible to write plugins and build additional features for any Java developer.

Get a Minecraft dedicated server.

Let’s get started with the installation.

Step 1 – Keep the server up to date

# yum update -y

Step 2 – Install Java

Next, we need to install Java. For this guide, we are installing JDK 1.8.0.

# yum install java-1.8.0-openjdk -y

If you want to verify the installation, run following command:

# java -version

Step 3 – Download Bukkit using wget command

First, we will create one directory for the Bukkit installation:

# mkdir /root/mc

Now, we will download Bukkit using wget command in the /root/mc directory.

# cd /root/mc && wget https://cdn.getbukkit.org/craftbukkit/craftbukkit-1.16.3.jar

We are downloading 1.16.3 version. To check latest version.

Step 4 – Run Bukkit

Accept the EULA.

# echo “eula=true” > eula.txt

Run Bukkit.

# java -Xmx1G -Xms1G -jar craftbukkit-1.16.3.jar

Note: change the file name with the one you have downloaded.

Replace 1G with the amount of RAM you would like to allocate.

Step 5 – Make Bukkit Persistent

Bukkit does not run in the background by default. Run it in a screen session so that it remains active after you log out.

# screen java -Xmx1G -Xms1G -jar craftbukkit-1.16.3.jar

Replace 1G with the amount of RAM you would like to allocate.

We have successfully install Minecraft Bukkit server on CentOS server.

Related Articles