On this page
- What is the difference between Paper and Spigot?
- How much server does a plugin setup need?
- How do I install Paper?
- How do I build Spigot with BuildTools?
- Where do plugins come from, and how are they installed?
- How are plugins configured?
- How do I keep plugins updated without breaking the world?
- Which plugin problems show up most often?
- Questions
What is the difference between Paper and Spigot?
Both run Bukkit plugins; Paper is a fork of Spigot with extra performance work, more configuration and a larger API, and it loads nearly every Spigot plugin unchanged. Spigot sits closer to vanilla behaviour, which some redstone builders prefer. For most community servers Paper is the practical choice, and Spigot remains useful when a plugin explicitly targets it or when you want fewer gameplay changes.
Either way the world format stays the same as vanilla, so you can move an existing world folder into the new server directory. If you are starting from scratch, the Minecraft Java server guide sets up Java, the minecraft user, the firewall rule for TCP 25565 and the systemd unit that this page builds on.
How much server does a plugin setup need?
Plugins add CPU work to every tick and memory for their caches, so allow some headroom over a vanilla world. A small survival server with a dozen common plugins runs well on F2-4 (2 vCPU, 4 GB RAM, 128 GB NVMe). Servers with economy, land claims, dynamic maps and twenty or more players tend to want F3-8. Map renderers and world pre-generation are the heaviest jobs; schedule them for quiet hours.
High Frequency cores are the sensible line for this work, as the game servers page explains, because the main thread decides tick speed no matter how many cores the plan has.
How do I install Paper?
Get the build from the official downloads page at papermc.io. Pick the Minecraft version you want, copy the download link of the newest build, and fetch it on the server as the game user. Paper needs the same Java major as the matching Minecraft release, so check java -version first.
sudo systemctl stop minecraft
cd /opt/minecraft/server
sudo -u minecraft curl -L -o paper.jar "PASTE_LINK_FROM_PAPERMC_DOWNLOADS"
sudo -u minecraft sha256sum paper.jarCompare the checksum with the value on the downloads page. Then point the service at the new jar. A drop-in override keeps the original unit untouched:
sudo systemctl edit minecraft[Service]
ExecStart=
ExecStart=/usr/bin/java -Xms3G -Xmx3G -jar paper.jar --noguisudo systemctl daemon-reload
sudo systemctl start minecraft
sudo journalctl -u minecraft -fThe first start downloads a vanilla jar for patching and writes new folders: plugins/, config/ with paper-global.yml and paper-world-defaults.yml, plus bukkit.yml and spigot.yml. A line ending in Done means it is ready.
How do I build Spigot with BuildTools?
Spigot is not offered as a ready jar; you compile it with BuildTools, which needs Git and a full JDK. Build in a separate folder so the build tree does not mix with the live server.
sudo apt install -y git
sudo apt install -y temurin-21-jdk # from the Temurin repository added in the Java guide
sudo -u minecraft mkdir -p /opt/minecraft/build
cd /opt/minecraft/build
sudo -u minecraft curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
sudo -u minecraft java -jar BuildTools.jar --rev latest
ls spigot-*.jarUse --rev 1.21.4 or another version number when you need a specific release. The build takes several minutes and a few gigabytes of disk on the first run. Copy the resulting spigot-VERSION.jar into /opt/minecraft/server and set it as the jar in the override exactly as shown for Paper. Install the JDK that matches the version JSON of that release; the JRE package alone cannot compile.
Where do plugins come from, and how are they installed?
Download plugins only from their official project pages: Hangar (the Paper plugin repository), Modrinth, SpigotMC resources, or the developer GitHub releases. Check that the plugin lists your Minecraft version. Installation is a file copy followed by a restart:
cd /opt/minecraft/server/plugins
sudo -u minecraft curl -L -o LuckPerms.jar "PASTE_DOWNLOAD_LINK"
sudo systemctl restart minecraft
echo "plugins" | sudo tee /run/minecraft.stdin
sudo journalctl -u minecraft -n 15 --no-pagerGreen names in the list mean the plugin enabled; red names failed, and the journal shows why, usually a missing dependency or a version mismatch. Avoid the /reload command; it leaves many plugins in a broken state. A full restart is cleaner and only takes a few seconds on NVMe storage.
How are plugins configured?
After its first start each plugin creates plugins/NAME/config.yml or a similar file. Edit it as the game user so ownership stays correct:
sudo -u minecraft nano /opt/minecraft/server/plugins/LuckPerms/config.ymlYAML is sensitive to indentation and tabs, so use spaces only. Many plugins offer a reload subcommand of their own (for example lp reload style commands) that is safe to use; when in doubt, restart. Permissions plugins such as LuckPerms are usually the first thing to configure, because other plugins check permission nodes rather than operator status. Give yourself admin rights through the permissions plugin and keep the list of server operators short.
How do I keep plugins updated without breaking the world?
Update in a fixed order: backup, server jar, then plugins, then a test start. Keep the previous jars in a dated folder so you can roll back in a minute.
sudo systemctl stop minecraft
cd /opt/minecraft
sudo -u minecraft tar -czf backups/pre-update-$(date +%F).tar.gz server
sudo -u minecraft mkdir -p old/$(date +%F)
sudo -u minecraft cp server/*.jar server/plugins/*.jar old/$(date +%F)/
sudo systemctl start minecraftWhen a new Minecraft version comes out, wait until your important plugins announce support. Jumping early is the most common way to end up with a half working server. Paper sends an update notice in the console when a newer build of the same version exists; small builds within one version are usually safe to apply.
Which plugin problems show up most often?
- Unsupported API version: the plugin targets a newer Minecraft release than the server. Update the server or pick an older plugin build.
- Unknown dependency: install the library plugin it names, such as ProtocolLib or Vault.
- Lag after adding a plugin: profile with spark, as shown in finding Minecraft lag.
- Permission denied writing config: the file was copied as root. Fix with
sudo chown -R minecraft: /opt/minecraft.
Plans that fit this guide
Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.
Questions about Spigot and Paper plugins
Can I use Forge or Fabric mods on Paper?
No. Mods change both client and server code, while plugins run only on the server. Modded worlds need a Forge, NeoForge or Fabric server instead of Paper.
Do Spigot plugins work on Paper?
In nearly every case, yes. Paper keeps the Spigot API and adds its own on top; only plugins that depend on internal Spigot code can break.
Is it safe to download plugins from any website?
Stick to the official project pages. A plugin runs with the same rights as the server process, which is one more reason the server lives under its own minecraft account and not root.
How many plugins are too many?
There is no fixed number. Ten well written plugins can cost less than one badly written one, so measure tick time with a profiler instead of counting files.
Do I have to rebuild Spigot for every update?
Yes, run BuildTools again with the new revision. Keeping the build folder speeds up later runs because downloaded sources are reused.