Skip to content

Available commands

7thCore edited this page Feb 12, 2022 · 5 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:
add_server Adds a server instance.
remove_server Removes a server instance.
enable_services <server number> 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 <server number> Start the server. If the server number is not specified the function will start all servers. To ignore any errors run the command with ignore
stop <server number> Stop the server. If the server number is not specified the function will stop all servers.
restart <server number> 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 <server number> Attaches to the tmux session of the specified server.
Backup managment:
backup Backup files, if server running or not.
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).
Wine functions:
rebuild_prefix Reinstalls the wine prefix. Usefull if any wine prefix updates occoured.

Clone this wiki locally