Add option to disable notification on shutdown warning

This commit is contained in:
Ben Peddell 2018-06-18 23:19:56 +10:00
parent 5b56379007
commit 28cc76532d
2 changed files with 4 additions and 0 deletions

View File

@ -1614,6 +1614,9 @@ doWarn(){
local pid=`getServerPID`
local sleeppid
local usenotify=1
if [ -n "$noNotifyWarn" ]; then
usenotify=
fi
if [ -n "$pid" ]; then
local warnmsg
local warnminutes=$(( arkwarnminutes ))

View File

@ -43,6 +43,7 @@ msgWarnCancelled="Restart cancelled by player request"
# notifyMsgStoppedListening="Server has stopped listening - restarting"
# notifyMsgServerTerminated="Server exited - restarting"
# notifyTemplate="Message from instance {instance} on server {server}: {msg}"
# noNotifyWarning=true
# Restart cancel chat command
#chatCommandRestartCancel="/cancelupdate"