You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
796 B
INI

[minecraft]
start_command = service minecraft start
stop_command = service minecraft stop
is_running_command = systemctl is-active --quiet minecraft
listen_port = 25565
listen_host = 0.0.0.0
check_command = grep "There are [1-9][0-9]* of" <(/var/local/minecraft/mcrcon -H 127.0.0.1 -p password list)
check_interval_sec = 10
idle_limit_sec = 1200
startup_delay_sec = 20
[palworld]
start_command = service palworld start
stop_command = service palworld stop
is_running_command = systemctl is-active --quiet palworld
listen_port = 8211
listen_host = 0.0.0.0
check_command = grep -q '^[1-9][0-9]*$' <(curl -sL -X GET 'http://admin:poopa@192.168.1.21:8212/v1/api/players' -H 'Accept: application/json' | jq -r '.players | length')
check_interval_sec = 60
idle_limit_sec = 3600
startup_delay_sec = 60