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 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.
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
address: "[::]:14004",
-> address: "[::]:<port>",
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 |
Name | Tag |
---|---|
Debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Version | weekly = download the latest weekly build. nightly = download the latest nightly build. | VERSION | weekly | Yes | Yes |
Server name | The name your server will be displaying | SERVER_NAME | A pterodactyl hosted server | Yes | Yes |
Metrics port | Game port +1 | METRICS_PORT | 14005 | Yes | No |
#!/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 "-----------------------------------------"