|
|
@ -212,7 +212,7 @@ fn_info_config_bfv(){ |
|
|
|
serverpassword=$(grep "game.serverPassword" "${servercfgfullpath}" | sed -e 's/^ *//g' -e '/^--/d' -e 's/game.serverPassword//g' | tr -d '=\";,:' | xargs) |
|
|
|
maxplayers=$(grep "game.serverMaxPlayers" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') |
|
|
|
port=$(grep "game.serverPort" "${servercfgfullpath}" | grep -v "\--" | tr -cd '[:digit:]') |
|
|
|
queryport="22000" |
|
|
|
queryport="23000" |
|
|
|
|
|
|
|
ip=$(grep "game.serverIP" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^--/d' -e 's/game.serverIP//g' | tr -d '=\";,:' | xargs) |
|
|
|
ipsetinconfig=1 |
|
|
|