Giter Site home page Giter Site logo

arksurvivalascended-docker's Introduction

Tools for managing ARK Survival Ascended on Linux

What does it do?

This script will:

  • Download Proton from Glorious Eggroll's build
  • Install Steam and SteamCMD
  • Create a steam user for running the game server
  • Install ARK Survival Ascended Dedicated Server using standard Steam procedures
  • Setup a systemd service for running the game server

What this script will not do:

Provide any sort of management interface over your server. It's just a bootstrap script to install the game and its dependencies in a standard way so you can choose how you want to manage it.

Features

Because it's managed with systemd, standardized commands are used for managing the server. This includes an auto-restart for the game server if it crashes and auto-update on restarts.

By default, the game server will automatically start at boot!

Installation on Debian 12

To install ARK Survival Ascended Dedicated Server on Debian 12, download and run server-install-debian12.sh as root or sudo.

Debian 12 support tested on Digital Ocean, OVHCloud, and Proxmox.

Quick run (if you trust me, which you of course should not):

sudo su -c "bash <(wget -qO- https://raw.githubusercontent.com/cdp1337/ARKSurvivalAscended-Linux/main/server-install-debian12.sh)" root

Managing your Server

Start, Stop, Restart

Start your server:

sudo systemctl start ark-island

Restarting your server (and updating):

The service will automatically check Steam for the newest version of the game on restart.

sudo systemctl restart ark-island

Stopping your server:

sudo systemctl stop ark-island

Configuring the game ini

Configuration of your server via the configuration ini is available in /home/steam/island-GameUserSettings.ini

sudo -u steam nano /home/steam/island-GameUserSettings.ini

Sssshhh, I use vim too, but nano is easier for most newcomers.

Adding command line arguments

Some arguments for the game server need to be passed in as CLI arguments.

sudo nano /etc/systemd/system/ark-island.service

And look at the line

ExecStart=/home/steam/(wherever-steam-is)/compatibilitytools.d/GE-Proton8-21/proton run ArkAscendedServer.exe TheIsland_WP?listen

Command line arguments can just be added to the end. When done editing, reload the system config:

(This DOES NOT restart the game server)

sudo systemctl daemon-reload

Automatic restarts

Want to restart your server automatically at 5a each morning?

Edit crontab sudo nano /etc/crontab and add:

0 5 * * * root systemctl restart ark-island

(0 is minute, 5 is hour in 24-hour notation, followed by '* * *' for every day, every month, every weekday)

arksurvivalascended-docker's People

Contributors

cdp1337 avatar bhemert avatar thijmengthn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.