Skip to content

Cubic Odyssey

Embark on a galactic journey in Cubic Odyssey, an open-world adventure where you explore vibrant planets, craft tools, build vehicles, and fight the Red Darkness. Uncover ancient mysteries, and shape a universe full of life, danger, and limitless possibilities!

egg-cubic-odyssey.json

updated

Ports

Add an allocation on the node for each port.

  • Server Port 27015

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
3858450
Steam login
optional
Install script
40 lines

Images

New servers use the first image. Users can change it on the Startup page.

  • Wine Latest default ghcr.io/ptero-eggs/yolks:wine_latest
  • Wine Staging ghcr.io/ptero-eggs/yolks:wine_staging

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.

13 variables

Startup command

wine ./server/CubicOdysseyServer.exe -Port=20000 -Password="{{SERVER_PASSWORD}}" -Gamemode=adventure -MaxNumPlayers=20
  • A steam username of an account that owns the server tool is required

    STEAM_USERUsers can edit

    nullable|string

  • Steam User Password

    STEAM_PASSUsers can edit

    nullable|string

  • Steam Auth Code required if the Steam Account is using Steam Auth. Slow installs will cause the code to expire before it can be used.

    STEAM_AUTHUsers can edit

    nullable|string

  • The name of the server, this will be shown on the server-list

    SERVER_NAMEUsers can edit

    required|string

  • If enabled players must enter the password to join the server

    SERVER_PASSWORDUsers can edit

    nullable|string

  • This sets the port the server will bind to

    GAME_PORTUsers can edit

    required|numeric

  • This will set the maximum number of allowed players

    MAX_PLAYERSUsers can edit

    required|string

  • Sets the desired game mode, it's adventure by default, available options: adventure, creative

    GAMEMODEUsers can edit

    required|in:adventure,creative

  • This will make the server private/public

    PRIVATE_SERVERUsers can edit

    required|in:TRUE,FALSE

  • This sets the seed used by the server

    GALAXY_SEEDUsers can edit

    required|string|max:11

  • autoupdate Server on start or restart. 1 = on; 0 = off

    AUTO_UPDATEUsers can edit

    required|boolean

  • SRCDS_APPIDUsers cannot see

    required|string|in:3858450

  • Required to always install and update the correct version of the game.

    WINDOWS_INSTALLUsers cannot see

    required|boolean

Wings

Stop command
^C (SIGINT)
Running when the console shows
Lobbies (OnCreateLobbyFinished): lobby created.

Files Wings edits

Wings sets these values in these files before each start.

config/server_config.txt file

serverName
serverName "{{server.build.env.SERVER_NAME}}"
privateServer
privateServer {{server.build.env.PRIVATE_SERVER}}
galaxySeed
galaxySeed {{server.build.env.GALAXY_SEED}}

Readme

Cubic Odyssey

Steam Game Page

Embark on a galactic journey in Cubic Odyssey, an open-world adventure where you explore vibrant planets, craft tools, build vehicles, and fight the Red Darkness. Uncover ancient mysteries, and shape a universe full of life, danger, and limitless possibilities!

Requirements

You must have a Steam account that owns the Cubic Odyssey Dedicated Server tool (free) to run the server.

Server Port

Cubic Odyssey requires one port. You can use any available port.

Port Default (example)
Server Port 27015

Changes

  1. Small tweaks to the egg

    · Red Banana · 98f8ca5

  2. Update egg

    · Daniel Barton · 1450b84

  3. Update egg-cubic-odyssey.json

    · Red Banana · d871a46

  4. Update egg-cubic-odyssey.json

    · Red Banana · fe40c12

  5. Add files via upload

    · Red Banana · 54eaa82

  6. Fix: Assetto Corsa admin password (#282)

    · Francky D · 0c8321f

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 40 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/bin/bash

## 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 and request app license
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_license_request 3858450 $( [[ "${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

## 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

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