Egg Repository

Pterodactyl Community Egg Repository

Veloren

Veloren is a multiplayer voxel RPG written in Rust. It is inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft.

Read Me

Veloren

From their Site

Veloren is a multiplayer voxel RPG written in Rust. It is inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft.

Veloren is fully open-source, licensed under GPL 3. It uses original graphics, musics and other assets created by its community. Being contributor-driven, its development community and user community is one and the same: developers, players, artists and musicians come together to develop the game.

Server Ports

Due to there new config file you have to set the game port manual in the config file!!

/home/container/userdata/server/server_config/settings.ron

  • Line 4: address: "[::]:14004", -> address: "[::]:<port>",
  • Line 7: address: "0.0.0.0:14004",-> address: "0.0.0.0:<port>",

Ports required to run the server in a table format.

Port default
Game 14004
Metrics 14005

Mods/Plugins may require ports to be added to the server

Yolks
NameTag
Debianghcr.io/ptero-eggs/yolks:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Versionweekly = download the latest weekly build. nightly = download the latest nightly build.VERSIONweeklyYesYes
Server nameThe name your server will be displayingSERVER_NAMEA pterodactyl hosted serverYesYes
Metrics portGame port +1METRICS_PORT14005YesNo
Install Script
#!/bin/bash

apt update
apt install -y curl wget unzip git jq

mkdir -p /mnt/server
cd /mnt/server

ARCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "x86_64" || echo "aarch64")

if [ -z "${VERSION}" ] || [ "${VERSION}" == "weekly" ]; then
    echo -e "weekly"
    DOWNLOAD_URL=https://download.veloren.net/latest/linux/${ARCH}/weekly
elif [ "${VERSION}" == "nightly" ]; then
    echo -e "nightly"
    DOWNLOAD_URL=https://download.veloren.net/latest/linux/${ARCH}/nightly
else
    echo -e  "something went wrong"
fi

echo -e "download url: ${DOWNLOAD_URL}"
wget ${DOWNLOAD_URL} -O files.zip

unzip -o files.zip
rm files.zip

chmod +x veloren-server-cli

## generate config because there is no better way to get it.
mkdir -p /mnt/server/userdata/server/server_config/
if [ ! -f /mnt/server/userdata/server/server_config/settings.ron ]; then
    wget https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/veloren/settings.ron -O /tmp/settings.ron
    sed "s/14004/${SERVER_PORT}/g" /tmp/settings.ron > /mnt/server/userdata/server/server_config/settings.ron
    rm /tmp/settings.ron
    echo "config file pulled"
fi

echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"