* If there are backups in backup dir. Fixes#1140
* mainly improves logging #1098
* Better logging, output & compatibility #1098
* fn_check_cfgdir for Rust fixes#1141
* fn_set_config_vars is not for every game
removing some games i know don't use it
* Install config if missing fixes#1142
* Clear more logs #1137
* Putting all this into functions & prepare noprompt
* noprompt & shutdownonbackup #1098
* fix syntax & messages #1098
* messages that make more sense #1098
* New backup vars
# Backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"
* Should fix missing cached mem #1143
* fix the fix for #1143 (close double quote)
* move -type f before -mtime
* New gameservers & features (#1158)
* Two # is now one block of settings & descriptions
* directories comments and logs naming
* dgibbs revision and root check
* update_steamcmd.sh Check is now done out of functions
* Better way to detect screen #1154 and #1156
* Backup function improvements (#1161)
* Added no of days since last backup
* Added lock file creation to logs
* Improvements up command_backup.sh
Changes to the messages displayed on screen
added trap and improved lockfile support
renamed some functions
other misc changes
* Updated Version numbers
* Two # is now one block of settings & descriptions
* directories comments and logs naming
* dgibbs revision and root check
* Backup & Layout rework
* removed duplicate updateonstart
* Fixed missing space on [ERROR ]
[ ERROR ] instead of [ERROR ]
* Error space wasn't missing
Used to fit other comment sizes, i guess
* Anonymous login is now an info
Since login variable is removed for servers that don't need steam auth, this won't show a failure anymore but a simple info and anonymous login will be used.
* update_steamcmd.sh Check is now done out of functions
* solves hanging on update if steamuser is not set
* New gameserver layout & functionalities
* Better way to detect screen
As per #1154 and #1156
* Moved to LinuxGSM-DevTools
https://github.com/GameServerManagers/LinuxGSM-DevTools/blob/master/GameServer-Template/gameserver
This is needed for @Epoch.
It does not crash my @Exile server when left empty (@Exile does not need this to be specified, I think it uses the standard path)
added parameters. descriptions taken from: https://community.bistudio.com/wiki/Arma_3_Startup_Parameters
-servermod
Loads the specified sub-folders for different server-side (not broadcasted to clients) mods. Separated by semi-colons. Absolute path and multiple stacked folders are possible.
-autoinit:
Automatically initialize mission just like first client does. Note: Server config file (server.cfg) must contain Persistent=1; , if it's 0 autoInit skips.
-loadmissiontomemory:
Server will load mission into memory on first client downloading it. Then it keeps it pre-processed pre-cached in memory for next clients, saving some server CPU cycles
I useful feature for developers.
This will enable a log to be created of everything that ran when
executing a command. It uses the set command.
When you run a command a file dev-debug.log is created and will output
set -x
--no-check-certificate presents a possible security risk.
--no-check-certificate is only used because older distros do not
recognise githubusercontent.com and will fail to download files. I have
decided to remove remove this option for now. It may be the case later
that I all this with older distros if there is a need for it.