• Contact
  • Contact Us
  • Disclamer
  • Home 1
  • Home 2
  • Home 3
  • Privacy Policy
Friday, May 9, 2025
How VPS - How to use/setup VPS
  • Login
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon
No Result
View All Result
How VPS - How to use/setup VPS
No Result
View All Result
Home Operating System Arch

Setup Spigot Server on Arch Linux

How VPS by How VPS
February 13, 2020
in Arch, Uncategorized
0
0
SHARES
90
VIEWS
Share on FacebookShare on Twitter

Contents

  1. Installation
  2. Extra Information
  3. Want to contribute?


This tutorial explains how to set up a Minecraft server using Spigot on Arch Linux.

This tutorial assumes that you are a normal user (not-root) and have sufficient rights to sudo. This is because using the AUR to build packages should not be done as root, but as a normal user.

Installation

Using the AUR package “spigot” is a great way to install Spigot as it builds a package that is tracked by pacman. This allows you to remove it quickly and upgrade it quickly. Plus, the package uses systemd and tmux to manage the server, and it has all of the scripts ready for you to use.

Before we begin building the package, we need to install some dependencies first.

sudo pacman -Sy base-devel jdk8-openjdk jre8-openjdk fontconfig tmux git

Now with those installed, we can begin to build the spigot package. Using curl, download the tarball for the package.

curl -O https://aur.archlinux.org/packages/sp/spigot/spigot.tar.gz

After the download finishes, extract it and change into the spigot folder.

tar -xvzf spigot.tar.gz
cd spigot

Now, using makepkg, build the package. This can take a few minutes.

makepkg -ci

If you didn’t pass the -i flag to the makepkg command, you use pacman to install it.

sudo pacman -U *.pkg.tar.xz

Start your server for the first time to gain access to the eula.txt file. Then, immediately stop it.

sudo systemctl start spigot
sudo systemctl stop spigot

After that’s done, open the file /srv/craftbukkit/eula.txt and change the line eula=false to eula=true. This provides you with a working server, but you may still want to modify the /srv/craftbukkit/server.properties file. Information about this file can be found on the Minecraft Wiki.

Once you are happy with your settings, fire up the server!

sudo systemctl start spigot

To start it on boot:

sudo systemctl enable spigot

You now have a working Spigot server!

Extra Information

The contents of the server are located in /srv/craftbukkit/ and are owned by the user craftbukkit and group craftbukkit. You must make sure when installing plugins or other files that they are owned by craftbukkit:craftbukkit.

If you want to access the server console, run the following command (assuming that you have the correct sudo permissions).

sudo -u craftbukkit tmux attach

To close out of the server console, press Ctrl + B, then D.

Another thing to consider is if you want to allocate more RAM to the server. If so, run the following command. The $newram placeholder is where you specify the new value. This will also create a backup file in case you need to revert to it.

sudo -u craftbukkit sed -i.bak 's/1024M/$newram/g' /srv/craftbukkit/spigot.sh

If you put in a bad value for the new amount of ram, you can revert by running this command.

sudo -u craftbukkit mv /srv/craftbukkit/spigot.sh.bak /srv/craftbukkit/spigot.sh

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article
Previous Post

Installing Arch Linux On a Vultr Server

Next Post

Setup a Team Fortress 2 Server on Arch Linux

Next Post

Setup a Team Fortress 2 Server on Arch Linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Recent Post

Install Imagemagick on CentOS
CentOS

Install Imagemagick on CentOS

by How VPS
June 28, 2023
0

This is how I installed Imagemagick on a vanilla CentOS server Start off by installing the prerequisites yum install php-pear...

Read more
how to Check phpinfo

How to Check phpinfo of Hosting or VPS?

June 28, 2023
Failed to download metadata for repo 'appstream' on Centos 8

How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

February 25, 2022
How to Fix MySQL Error "Plugin 'InnoDB' registration as a STORAGE ENGINE failed"?

How to Fix MySQL Error “Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed”?

November 17, 2020
How to optimize Mysql or MariaDB

How to optimize Mysql or MariaDB

November 3, 2020

Recent News

  • Install Imagemagick on CentOS
  • How to Check phpinfo of Hosting or VPS?
  • How to fix error: Failed to download metadata for repo ‘appstream’ on Centos 8

Category

  • Arch
  • Authentication
  • Backups
  • BSD
  • Centmin Mod
  • CentOS
  • Control Panels
  • CoreOS
  • CWP
  • Debian
  • Directadmin
  • Encryption
  • Fedora
  • Firewalls
  • Hocvps Script
  • Hosting providers
  • Kloxo-MR
  • Linux
  • Mitigations
  • Operating System
  • Plesk
  • Reviews
  • Securing VPS/Servers
  • Security Patches
  • SSL Certificates
  • Uncategorized
  • Upgrading
  • VPS/Servers management guides
  • Vulnerability Detection
  • Web servers software
  • Webhosting Control Panel
  • About
  • Advertise
  • Careers
  • Contact

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Management guides
    • Web servers software
      • Directadmin
      • Hocvps Script
      • Centmin Mod
      • CWP
      • Kloxo-MR
      • Plesk
    • Control Panels
    • Securing VPS/Servers
      • SSL Certificates
      • Upgrading
      • Authentication
  • Operating System
    • CentOS
    • Fedora
    • Debian
    • Linux
    • Arch
    • BSD
    • CoreOS
  • Reviews
  • Coupon
    • Domain Coupon
    • Hosting Coupon

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Thabet