Skip to content

Available commands

7thCore edited this page Jan 26, 2022 · 3 revisions

Script commands

Command Description
Basic script commands:
help Prints out available commands and their description
diag Prints out package versions and if script files are installed.
status Display status of server.
Configuration and installation:
config_script Configures the script, enables the systemd services and installs the wine prefix.
config_steam Configures steamcmd, automatic updates and installs the game server files.
config_discord Configures discord integration.
config_email Configures email integration. Due to postfix configuration files being in /etc this has to be executed as root.
config_tmpfs Configures tmpfs/ramdisk. Due to it adding a line to /etc/fstab this has to be executed as root.
Server services managment:
enable_services Enables all services dependant on the configuration file of the script.
disable_services Disables all services. The server and the script will not start up on boot anymore.
reload_services Reloads all services, dependant on the configuration file.
Server and console managment:
start Start the server. If the server number is not specified the function will start all servers.
start_no_err Start the server but don't require confimation if in failed state.
stop Stop the server. If the server number is not specified the function will stop all servers.
restart Restart the server. If the server number is not specified the function will restart all servers.
save Issue the save command to the server.
sync Sync from tmpfs to hdd/ssd.
attach Attaches to the tmux session of the specified server.
attach_commands Attaches to the tmux session of the commands script for the specified server.
Backup managment:
backup Backup files, if server running or not.
autobackup Automaticly backup files when server running.
delete_backup Delete old backups.
Steam managment:
update Update the server, if the server is running it will save it, shut it down, update it and restart it.
verify Verifiy game server files, if the server is running it will save it, shut it down, verify it and restart it.
change_branch Changes the game branch in use by the server (public,experimental,legacy and so on).
Game specific functions:
crash_kill If the aluna crash handler is running and is frozen, this function kills it.
delete_save Delete the server's save game with the option for deleting/keeping the server.json and other server files.
Wine functions:
rebuild_prefix Reinstalls the wine prefix. Usefull if any wine prefix updates occoured.

Clone this wiki locally