arkmanager / ark-server-tools

Set of server tools used to manage ARK: Survival Evolved servers on Linux
MIT License
678 stars 143 forks source link

arkmanager.cfg - Option notifyTemplate="Message from instance {instance} on server {server}: {msg}" can not change #1181

Open kisshering opened 3 years ago

kisshering commented 3 years ago

Hello,

I hope you can help with the notifyTemplate="Message from instance {instance} on server {server}: {msg}" option. I change the text in German and he saved it. But he starts only with the default text. The translate from the other notifyMsg work.

greeting Tobi

klightspeed commented 3 years ago

https://github.com/arkmanager/ark-server-tools/blob/master/tools/arkmanager#L648

    msg="${notifyTemplate:-Message from instance \`{instance\}\` on server \`{server\}\`: {msg\}}"

This should use notifyTemplate unless that is empty. Missing those backticks suggests you are overriding it in either ~/.arkmanager.cfg or your instance config.

https://github.com/arkmanager/ark-server-tools/blob/master/tools/arkmanager.cfg#L53

# notifyTemplate="Message from instance {instance} on server {server}: {msg}"