mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-12 19:08:27 +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 sleeppid
|
||||
local usenotify=1
|
||||
if [ -n "$noNotifyWarn" ]; then
|
||||
usenotify=
|
||||
fi
|
||||
if [ -n "$pid" ]; then
|
||||
local warnmsg
|
||||
local warnminutes=$(( arkwarnminutes ))
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user