* 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
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.
* All functions names have been reviewed and renamed to make it easier
to identify what the function is for. This is for my benefit as there
are now over 50 functions to manage.
* New details feature. It has been reworked to add more useful info and
fix any bugs with details not always being displayed.
* Main script file e.g csgoserver should no longer require any updates
from this point. All code modifications should be made from the
functions. Any future edits would relate to server specific config.
* servername variable has been moved to its own function if name is
gathered from a config file. The same applies for ports, usernames and
passwords.
* new function fn_details_distro gathers all the required OS info for
fn_details and other functions that require this info
* Various improvements and bug fixes that I cannot remember.