Jump to content
LnS247

Server messages explained simple.

Recommended Posts

The examples in the config files are "commented out".   Meaning the html code in there for each example message works but only if you set them OUTSIDE of the comment syntax.

 

The comment syntax is started with a:

<!--

and end with a:

-->

Find those in the default config code where the examples are.

They must be pasted OUTSIDE of those two commands.

 

What I would suggest is copying the entire default config code, all of it and paste and save it to a text file so you have a master copy on case you make a mistake.

 

All message code would look like this:

 

<messages>

        <message>

             Xxxxxxxxxxcodexxxxxxxxxxxxxxxx

        </message>

        <message>

             Xxxxxxxxxxxxcodexxxxxxxxxxxxx

          </message>

</messages>

All messages would be placed inside the plural ones.

 

I got it working easily using cut n paste. Then I edited the messages to make it how I wanted.

I'll help you if you still need help but most things are simple with some testing.

 

 

 

*****EDIT*****

 

The config file changes must be saved while the server is OFFLINE according to a DayZ Twitter post a few days ago.

 

https://twitter.com/DayZ/status/1164925680779452416?s=20

***********

Edited by LnS247
Forgot important info
  • Like 1

Share this post


Link to post
Share on other sites

I should have said, commented out means any text inside the <!-- texttexttext -->  won't be treated as html code.  Comments in code are for devs to make notes.  Html ignores anything inside those commands.

 

So, BI gave us examples to work with that do work but only if you use those functions outside of those commands.

 

In other words the devs did us a favor but they hoped we'd know basic html.  

Once you find the two commands for comments/notes in your config file then you can see where to copy paste the messages.

Then edit to how you like.

Share this post


Link to post
Share on other sites
3 hours ago, Siva Saravanan said:

there is already a thread with sample working code provided

All I saw in that thread was a bunch of confusion.  Thanks for your valuable input though.

Share this post


Link to post
Share on other sites

×