Server
Minecraft Server running on PaperMC with Vane plugins.
Installationโ
automatic startโ
[Unit]
Description=Minecraft Server
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/<user>/minecraft
ExecStart=java -Xms4G -Xmx4G -jar /home/<user>/minecraft/paper.jar --nogui
User=baumi
Restart=on-failure
[Install]
WantedBy=multi-user.target
sudo systemctl enable minecraft.service
sudo systemctl start minecraft.service
Update componentsโ
Updating PaperMC.jar
Unfortunately there is no offical download link to the latest available version yet. Thats why the latest download link has to be looked up.
In the future there might be a script, to get the latest download link e.g. via file-paper-versions.json or use a bash script like this utils.sh
Check the latest available version on PaperMC and replace <version>
and <build>
.
wget -q --show-progress https://api.papermc.io/v2/projects/paper/versions/<version>/builds/<build>/downloads/paper-<version>-<build>.jar -O paper.jar
Pluginsโ
All of the plugins need to be placed in <server>/plugins
Updating ProtocolLib.jar
ProtocolLib is needed for the Vane plugins.
wget -q --show-progress https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/build/libs/ProtocolLib.jar -O ProtocolLib.jar
Updating Vane plugins
Download the latest vane plugins - these are available as individual files or all as a zip file.
# download the all-plugins.zip archive
wget -q --show-progress https://github.com/oddlama/vane/releases/download/v1.17.3/all-plugins.zip -O all-plugins.zip
# just extract the files with unzip
unzip all-plugins.zip
The all-plugins.zip
also includes the permissions plugin, which is not used currently. To deactivate the plugin, simply rename the file mv vane-permissions-1.17.3.jar vane-permissions-1.17.3.jar.disabled
Datapacksโ
Updating Vanilla Tweaks
Download the latest Vanilla Tweaks for the following tweaks:
- Devorative Cosmetic/Player Head Drops
- Devorative Cosmetic/Armor Statues
- Convience/Timber
- Convience/Dragon Drops
- Convience/Elevators
- Gameplay Changes/Anti Enderman Grief
- Gameplay Changes/Anti Ghast Grief
- Informative/AFK Display
- Admin Tools/Custom Villager Shops
The datapacks must be stored in the folder <server>/world/datapacks