-
Notifications
You must be signed in to change notification settings - Fork 7
Command Line Usage
atlasmanager [Global Options] <command> [Command Options] [Command Args] [Instances]
--help
|
Prints some help on using the command |
--version
|
Prints the atlasmanager version |
--verbose
|
Exposes the output of SteamCMD |
--dots
|
Prints dots for progress |
--spinner
|
Uses a spinner for progress |
upgrade-tools
|
Upgrades the ATLAS server tools to the latest version |
uninstall-tools
|
Uninstalls the ATLAS server tools |
redis
|
Options to start, stop, restart, backup, or check status of Redis
|
run
|
Runs the server without putting it into the background |
list-instances
|
Lists the available instances
|
useconfig
|
Legacy command for specifying an instance for the following command(s) |
remove-mods
|
Remove the specified mods from the |
All of the following commands take @instancename
arguments to specify
one or more instances, with the special @all
instance selecting all
instances.
run
|
Runs the server without putting it into the background |
start
|
Runs the server and puts it into the background
|
stop
|
Stops the server if it is running
|
restart
|
Runs the
|
install
|
Downloads and installs (or validates an existing install) of the ATLAS server |
update
|
Updates an install of the ATLAS server (or installs it if it’s not already installed)
|
cancelshutdown
|
Cancels a pending update / shutdown / restart that was run with
the |
checkupdate
|
Checks if an ATLAS server update is available
|
checkmodupdate
|
Checks if any mods need updating on the server
|
installmods
|
Installs all mods specified in the instance config into the
|
uninstallmods
|
Deletes all mods from the |
installmod <modnum>[,<modnum>[,…]]
|
Installs the specified mods into the |
uninstallmod <modnum>[,<modnum>[,…]]
|
Deletes the specified mods from the |
removemod <modnum>[,<modnum>[,…]]
|
Deletes the specified mods from the SteamCMD workshop directory |
reinstallmod <modnum>[,<modnum>[,…]]
|
Runs the |
enablemod <modnum>
enablemod <modnum>=<modtype>
|
Enables the
|
backup
|
Backs up the saved world and game config files to a compressed tar file in the backups directory specified in the config |
broadcast "message"
|
Broadcasts a message to players connected to the server using
the RCON |
saveworld
|
Saves the world using the RCON |
rconcmd "command"
|
Sends the specified RCON command to the server and prints its response |
notify "message"
|
Sends the specified message using the configured Discord webhook |
status
|
Prints the status of the ATLAS server |
install-cronjob <command>
|
Installs a cron job that executes the specified command.
This accepts any of the options the specified command accepts,
as well as the following options. In order to specify an
argument to the command (e.g. to the
|
remove-cronjob <command>
|
Removes a cron job previously installed by |
Global configuration is stored in /etc/atlasmanager/atlasmanager.cfg
and/or ~/.atlasmanager.cfg
.
The following options cannot be overridden in the instance config files:
atlasstChannel
|
Specifies the release channel (git branch) to use when upgrading the ATLAS server tools |
install_bindir
install_libexecdir
install_datadir
|
Set by the installer to specify where to install the executable and data files |
configfile_<name>
|
Paths to the specified instance config files |
defaultinstance
|
The default instance to use if no instance is specified |
steamcmd_user
|
The user under which the tools should be run. Set to |
The following options can be overridden on a per-instance basis:
steamcmdroot
|
The directory in which |
steamcmdexec
|
The |
steamcmd_appinfocache
|
The path to the Steam appinfo cache file.
Most systems will have this in |
steamcmd_workshoplog
|
The path to the Steam workshop log file.
Most systems will have this in |
steamdataroot
|
The path to the SteamCMD data.
Defaults to |
steamworkshopdir
|
The path to the SteamCMD workshop directory.
Defaults to |
atlasserverexec
|
The relative path within an ATLAS server install where the
ATLAS server executable can be found.
For the standard ATLAS server, this should be |
atlasbackupdir
|
The directory in which to store backups. Can be overridden in the instance config. |
atlaswarnminutes
|
The number of minutes over which the shutdown and update warnings should be run |
atlasautorestartfile
|
The relative path within an ATLAS server install to place the autorestart lock file |
atlasAlwaysRestartOnCrash
|
Set to |
atlasAutoUpdateOnStart
|
Set to |
atlasBackupPreUpdate
|
Set to |
atlasStagingDir
|
Sets the staging directory in order to download updates before shutting down the server |
atlasMaxBackupSizeMB
|
Limits the size of the stored backups |
atlasPriorityBoost
|
Attempts to boost the priority of the ATLAS server.
Negative values give a higher priority, and positive values give a lower priority.
Requires |
atlasCpuAffinity
|
Attempts to set the CPU affinity of the ATLAS server.
Setting is a comma-delimited list of processor indices on which the server should run.
Requires |
msgWarnUpdateMinutes
msgWarnUpdateSeconds
msgWarnRestartMinutes
msgWarnRestartSeconds
msgWarnShutdownMinutes
msgWarnShutdownSeconds
|
Templated messages for warnings, where |
msgWarnReason
msgTimeMinutes
msgTimeSeconds
msgReasonUpdateApp
msgReasonUpdateMod
msgReasonUpdateAppMod
msgReasonRestart
msgReasonShutdown
|
Alternative templated messages for warnings with the following replacement parameters:
|
discordWebhookURL
|
Discord Webhook URL - server status messages and update warning messages will be sent through this if specified |
notifyTemplate
|
Template to use for sending messages through Discord webhook, with the following replacement parameters:
|
notifyMsgShuttingDown
|
Message to be sent when shutting down. Use |
notifyMsgStarting
|
Message to be sent when starting. Use |
notifyMsgServerUp
|
Message to be sent when server starts listening. Use |
notifyMsgStoppedListening
|
Message to be sent when server has stopped listening for more than 1 minute. Use |
notifyMsgServerTerminated
|
Message to be sent when server has crashed and is being restarted. Use |
noNotifyWarn
|
Disable notification at start of shutdown warning period |
logdir
|
Specifies where to store log files |
appid
|
The Steam AppID of the ATLAS server |
mod_appid
|
The Steam AppID of the ATLAS client (used for downloading mods) |
mod_branch
|
The Mod branch ( |
ATLAS server options:
serverMap
|
The map the server should use |
serverMapModId
|
Uses the |
atlas_<optname>="<optval>"
|
Specifies the options to use in the |
atlas_<optname>=""
|
Specifies an option without a value - |
atlasflag_<optname>=<anything>
|
Specifies a dash-option without a value (i.e. flag) - e.g.
|
atlasopt_<optname>="<optval>"
|
Specifies a dash-option with a value - e.g.
|
Instance config files are stored under
/etc/atlasmanager/instances/<instancename>.cfg
,
~/.config/atlasmanager/instances/<instancename>.cfg
or as specified in the configfile_<instancename>
options in
the global config.
atlasserverroot
|
The directory under which the ATLAS server is installed |
serverMap
|
The map the server should use |
serverMapModId
|
Uses the |
atlas_<optname>="<optval>"
|
Specifies the options to use in the |
atlas_<optname>=""
|
Specifies an option without a value - |
atlasflag_<optname>=<anything>
|
Specifies a dash-option without a value (i.e. flag) - e.g.
|
atlasopt_<optname>="<optval>"
|
Specifies a dash-option with a value - e.g.
|
atlasmod_<modnum>=<modtype>
|
Specifies a mod that can be enabled or disabled using
|
atlas_TotalConversionId=<modid>
|
Specifies the Total Conversion to use |
atlas_GameModIds=<modid>,<modid>,…
|
Specifies the Mod IDs to use |
atlas_SessionName="<sessionname>"
|
The name under which the server should announce itself |
atlas_RCONEnabled="True"
|
Enabled RCON |
atlas_RCONPort=<portnum>
|
The port on which the server listens for RCON commands. Must be unique on the host. |
atlas_Port=<portnum>
|
The port on which the server listens for client connections. Must be unique on the host. |
atlas_QueryPort=<portnum>
|
The port on which the server listens for queries. Must be unique on the host. |
atlas_ServerPassword="<password>"
|
Specifies the password needed to connect to the server |
atlas_ServerAdminPassword="<password>"
|
Specifies the server admin password, which is also the RCON password. Use of this option is discouraged - please store the password in the GameUserSettings.ini file instead. |
atlas_MaxPlayers=<numplayers>
|
The maximum number of players allowed to connect to the server |
atlas_AltSaveDirectoryName="<dirname>"
|
Alternative directory under |
atlasflag_NoBattlEye=true
|
Disables BattlEye |