Skip to main content

Prerequisites

Install the required system packages before proceeding:

Directory structure

All server files live under a single root directory:

Installation steps

1

Create the server directory

Create the directory tree and take ownership of it:
2

Install serv

Copy the serv CLI to /usr/local/bin and make it executable:
3

Install snapshot.sh

Copy the snapshot script to /usr/local/bin and make it executable:
4

Install start.sh

Copy the startup loop script into the server directory and make it executable:
5

Install log4j2.xml

Copy the log4j configuration file into the server directory. This suppresses noisy console output:
6

Place server.jar

Drop your PaperMC or Vanilla server.jar into the server directory. The file must be named exactly server.jar.To download the latest PaperMC build directly:
Alternatively, use serv update after completing the rest of this guide to pull the latest build automatically.
7

Accept the EULA

Minecraft requires you to accept the end-user license agreement before the server will start:
8

Install the alert datapack

The PopLock datapack provides the in-game alert sound used by the snapshot countdown. Download it directly into the datapacks directory:
The world/datapacks/ directory is created by the server on its first run. If you are installing the datapack before the first launch, create the directory manually first:
Once the server is running, activate the datapack once from the console:
It will load automatically on every subsequent restart.

Next steps

With installation complete, set up the automated daily snapshot cron job so worlds are backed up every night — see Snapshot & Cron.