mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-21 22:38:26 +00:00
Add option to disable notification on shutdown warning
This commit is contained in:
parent
5b56379007
commit
28cc76532d
@ -1614,6 +1614,9 @@ doWarn(){
|
|||||||
local pid=`getServerPID`
|
local pid=`getServerPID`
|
||||||
local sleeppid
|
local sleeppid
|
||||||
local usenotify=1
|
local usenotify=1
|
||||||
|
if [ -n "$noNotifyWarn" ]; then
|
||||||
|
usenotify=
|
||||||
|
fi
|
||||||
if [ -n "$pid" ]; then
|
if [ -n "$pid" ]; then
|
||||||
local warnmsg
|
local warnmsg
|
||||||
local warnminutes=$(( arkwarnminutes ))
|
local warnminutes=$(( arkwarnminutes ))
|
||||||
|
|||||||
@ -43,6 +43,7 @@ msgWarnCancelled="Restart cancelled by player request"
|
|||||||
# notifyMsgStoppedListening="Server has stopped listening - restarting"
|
# notifyMsgStoppedListening="Server has stopped listening - restarting"
|
||||||
# notifyMsgServerTerminated="Server exited - restarting"
|
# notifyMsgServerTerminated="Server exited - restarting"
|
||||||
# notifyTemplate="Message from instance {instance} on server {server}: {msg}"
|
# notifyTemplate="Message from instance {instance} on server {server}: {msg}"
|
||||||
|
# noNotifyWarning=true
|
||||||
|
|
||||||
# Restart cancel chat command
|
# Restart cancel chat command
|
||||||
#chatCommandRestartCancel="/cancelupdate"
|
#chatCommandRestartCancel="/cancelupdate"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user