Daniel Gibbs
12 months ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
2 changed files with
4 additions and
3 deletions
-
lgsm/modules/info_game.sh
-
lgsm/modules/install_config.sh
|
|
@ -2247,15 +2247,15 @@ fn_info_game_wf() { |
|
|
|
# Filetype: cfg |
|
|
|
fn_info_game_xnt() { |
|
|
|
if [ -f "${servercfgfullpath}" ]; then |
|
|
|
fn_info_game_keyvalue_pairs_space "rconpassword" "rcon_password" |
|
|
|
fn_info_game_keyvalue_pairs_space "maxplayers" "maxplayers" |
|
|
|
fn_info_game_keyvalue_pairs_space "port" "port" |
|
|
|
fn_info_game_keyvalue_pairs_space "rconpassword" "rcon_password" |
|
|
|
fn_info_game_keyvalue_pairs_space "servername" "hostname" |
|
|
|
fn_info_game_keyvalue_pairs_space "maxplayers" "maxplayers" |
|
|
|
fi |
|
|
|
rconpassword="${rconpassword:-"NOT SET"}" |
|
|
|
maxplayers="${maxplayers:-"8"}" |
|
|
|
port="${port:-"0"}" |
|
|
|
queryport="${port}" |
|
|
|
rconpassword="${rconpassword:-"NOT SET"}" |
|
|
|
servername="${servername:-"NOT SET"}" |
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -79,6 +79,7 @@ fn_default_config_local() { |
|
|
|
fn_script_log_pass "copying config file [ ${servercfgdefault} ]: " |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
# Changes some variables within the default configs. |
|
|
|
# SERVERNAME to LinuxGSM |
|
|
|
# PASSWORD to random password |
|
|
|