Skip to content

Commit 78f4735

Browse files
committed
fix(stats): servers with sessin only checking will now show in stats
game servers with session only checks were not showing up in stats. This includes the new Palworld server
1 parent 4e72b08 commit 78f4735

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lgsm/modules/command_monitor.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ fn_monitor_check_session() {
214214
fn_print_ok "Checking session: "
215215
fn_print_ok_eol_nl
216216
fn_script_log_pass "Checking session: OK"
217+
# send LinuxGSM stats if monitor is OK.
218+
if [ "${stats}" == "on" ] || [ "${stats}" == "y" ] && [ "${querymode}" == "1" ]; then
219+
info_stats.sh
220+
fi
217221
else
218222
fn_print_error "Checking session: "
219223
fn_print_fail_eol_nl

0 commit comments

Comments
 (0)