Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative templated messages for warnings? #766

Closed
dahlskebank opened this issue Apr 4, 2017 · 2 comments
Closed

Alternative templated messages for warnings? #766

dahlskebank opened this issue Apr 4, 2017 · 2 comments

Comments

@dahlskebank
Copy link

dahlskebank commented Apr 4, 2017

Um... is there a template somewhere that I can understand? Tried decoding the French one, but my brain just shuts off when I read French...

msgWarnReason="This ARK server will shutdown for {reason} in {time}"
msgTimeMinutes="{minutes} minutes"
msgTimeSeconds="{seconds} seconds"
msgReasonUpdateApp="an update to the game"
msgReasonUpdateMod="an update to mod(s) {modnamesupdated}"
msgReasonUpdateAppMod="an update to the game and an update to mod(s) {modnamesupdated}"
msgReasonRestart="a restart"

Can I simply paste that into arkmanager.cfg and it'll work? So hard to actually test this unless I'm online when a mod or ark updates...

@klightspeed
Copy link
Collaborator

That should work, and you will want to specify something for the msgReasonShutdown setting - e.g.:

msgReasonShutdown="maintenance"

An alternative might be:

msgWarnReason="This ARK server will {reason} in {time}"
msgTimeMinutes="{minutes} minutes"
msgTimeSeconds="{seconds} seconds"
msgReasonUpdateApp="restart for an update to the game"
msgReasonUpdateMod="restart for an update to mod(s) {modnamesupdated}"
msgReasonUpdateAppMod="restart for an update to the game and an update to mod(s) {modnamesupdated}"
msgReasonRestart="restart"
msgReasonShutdown="shut down"

or:

msgWarnReason="This ARK server will shut down in {time} {reason}"
msgTimeMinutes="{minutes} minutes"
msgTimeSeconds="{seconds} seconds"
msgReasonUpdateApp="for an update to the game"
msgReasonUpdateMod="for an update to mod(s) {modnamesupdated}"
msgReasonUpdateAppMod="for an update to the game and an update to mod(s) {modnamesupdated}"
msgReasonRestart="for a server restart"
msgReasonShutdown=""

@dahlskebank
Copy link
Author

Awesome! Thanks! Was able to test restart and shutdown message on our test-server, so I'll assume app and mod works perfectly as well.

It made more sense when written like this, the way it is explained in README is too complex for me... not sure why this isn't added as standard to all new configs... anywho, thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants