Skip to content

Instantly share code, notes, and snippets.

@foofoodog
Last active July 6, 2019 19:28
Show Gist options
  • Save foofoodog/184c4227212ecbf9a62ab2b4e07c0a1e to your computer and use it in GitHub Desktop.
Save foofoodog/184c4227212ecbf9a62ab2b4e07c0a1e to your computer and use it in GitHub Desktop.
steamcmd rust server
from ubuntu as patched
run apt-get update; \
apt-get install software-properties-common apt-utils debconf-utils -y; \
apt-get install --reinstall ca-certificates; \
add-apt-repository multiverse; \
dpkg --add-architecture i386; \
apt-get update;
from patched as steamcmd
copy rust.sh .
run echo steamcmd steam/question select "I AGREE" | debconf-set-selections; \
echo steamcmd steam/license note '' | debconf-set-selections; \
echo steamcmd steam/purge note '' | debconf-set-selections; \
apt-get install lib32gcc1 steamcmd -y; \
ln -s /usr/games/steamcmd steamcmd; \
./steamcmd +quit; #First run.
from steamcmd
run mkdir ./rust; \
./steamcmd +login anonymous +force_install_dir ./rust +app_update 258550 +quit;
cmd /bin/sh
#!/bin/sh
clear while : do
exec ./rust/RustDedicated -batchmode -nographics \
-server.ip 127.0.0.1 \
-server.port 28015 \
-rcon.ip 127.0.0.1 \
-rcon.port 28016 \
-rcon.password "rcon password here" \
-server.maxplayers 75 \
-server.hostname "Server Name" \
-server.identity "my_server_identity" \
-server.level "Procedural Map" \
-server.seed 12345 \
-server.worldsize 3000 \
-server.saveinterval 300 \-server.globalchat true \
-server.description "Description Here" \
-server.headerimage "512x256px JPG/PNG headerimage link here" \
-server.url "Website Here"
echo "\nRestarting server...\n" done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment