Rising World Unity
Rising World is a voxel based open-world sandbox game, featuring a procedurally generated world, playable in single and multi-player.
Ports
Add an allocation on the node for each port.
- Game 4255
- Query 4254
- RCON 4253
Image
- source image ghcr.io/ptero-eggs/games:source
Panel features
- steam_disk_space
The Panel tells the user when SteamCMD does not have enough disk space.
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
11 variables
Startup command
./RisingWorldServer.x64 +Server_Port=4255Dotted values come from the server settings. These values are examples.
SRCDS_APPIDUsers cannot see
required|string|max:20
SRCDS_BETAIDUsers can edit
nullable|string|max:20
LD_LIBRARY_PATHUsers cannot see
required|string|max:20
Server name (shows up in server list)
SRV_NAMEUsers can edit
required|string|max:40
Server password. If set, users are prompted to enter the pw to join the server. Leave blank for no pw
SRV_PWUsers can edit
nullable
Default world game mode (only used when a new world is created). Either "Survival" or "Creative"
GAME_MODEUsers can edit
nullable|string|in:,Survival,Creative
Name of the world which should be loaded (if it does not exist, it will be created)
WORLD_NAMEUsers can edit
required|string|max:20
Determines whether or not the RCON tool should be enabled
RCONUsers can edit
required|string|in:true,false
Password required for RCON login. Min 6 characters (!)
RCON_PASSUsers can edit
required|nullable|min:6
Port used to connect to RCON. Must be allocated to the server for RCON to work.
RCON_PORTUsers can see
required|integer|between:1024,65536
Update the server on start/restart
AUTO_UPDATEUsers can edit
required|boolean
Wings
- Stop command
- ^C (SIGINT)
- Running when the console shows
- Dedicated server is ready!
Files Wings edits
Wings sets these values in these files before each start.
server.properties file
- Server_Name=
- Server_Name={{server.build.env.SRV_NAME}}
- Server_Password=
- Server_Password={{server.build.env.SRV_PW}}
- Password=
- Password={{server.build.env.SRV_PW}}
- World_GameMode=
- World_GameMode={{server.build.env.GAME_MODE}}
- World_Name=
- World_Name={{server.build.env.WORLD_NAME}}
- RCON_Enabled=
- RCON_Enabled={{server.build.env.RCON}}
- RCON_Password=
- RCON_Password={{server.build.env.RCON_PASS}}
- RCON_Port=
- RCON_Port={{server.build.env.RCON_PORT}}
Readme
Rising World Unity Version
Rising World is a voxel based open-world sandbox game, featuring a procedurally generated world, playable in single and multi-player.
Server Ports
Rising World requires up to 3 ports.
- The RCON port is optional
- Game ports require both TCP and UDP
- The server port can be set in the server.properties file (see "Server_Port"). By default, the server uses port 4255 TCP and UDP. The query port (which is required for the server to show up in the server list) is always serverport-1 TCP (so when using the default server port, it's 4254 accordingly).
| Port | default |
|---|---|
| Game | 4255 |
| Query | 4254 |
| RCON | 4253 |
Changes
- Rising world unity: Allow user to edit steam beta ID and update default
· jackdaniels552 · 8712ee5
- Add steamcmd based eggs
· Daniel Barton · 60ef9fb
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 75 lines bash in ghcr.io/ptero-eggs/installers:debian Show Hide
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/ptero-eggs/installers:debian'
##
#
# Variables
# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.
# WINDOWS_INSTALL - if it's a windows server you want to install set to 1
# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch
# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.
# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.
# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.
#
##
# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
apt -y update
apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.\n"
echo -e "Using anonymous user.\n"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
if [ -f "$HOME/server.properties" ]; then
echo "-----------------------------------------"
echo "server.properties found."
echo "-----------------------------------------"
else
echo "-----------------------------------------"
echo "renaming server.example.properties"
echo "-----------------------------------------"
mv /mnt/server/server.example.properties /mnt/server/server.properties
fi
rm -fR $HOME/linux_screen.sh
rm -fR $HOME/linux_startscript.sh
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"