Skip to content

Available commands

7thCore edited this page Feb 12, 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_discord Configures discord integration.
config_email Configures email integration. Due to postfix configuration files being in /etc 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.
attach <server number> Attaches to the tmux session of the specified server.
Backup managment:
backup Backup files, if server running or not.

Clone this wiki locally