Jump to content
Sign in to follow this  
Matthew Brand

message.xml

Recommended Posts

message is always "text" 

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages>

    <!-- This is example message for automatic server termination -->
    <message>

        <!-- no delay -->
        <delay>0</delay>

        <!-- if the value is larger than 0, then flag Repeat is enabled -->
        <repeat>0</repeat>

        <!-- if the value is larger than 0, then flag Countdown is enabled,
             countdown reaches zero in 10 hours --> 
        <deadline>239</deadline>

        <!-- disable On connect flag -->
        <onconnect>0</onconnect>

        <!-- enable Shutdown flag -->
        <shutdown>1</shutdown>
         <text>Server (#name) restart in #tmin </text>    
      </message>
</messages>
        

 

 

why does server message say text and not whats inside it?

  • Like 1

Share this post


Link to post
Share on other sites

Hope there is someone soon who can post their xml version that is working

Any help is welcome, since BEC repeat messages isn't working anymore on my server.

Share this post


Link to post
Share on other sites

Shutdown works great, just like everyone else (text) in red, is only shown as the message.

Share this post


Link to post
Share on other sites
4 hours ago, SasGuatch said:

Shutdown works great, just like everyone else (text) in red, is only shown as the message.

Hi, could you do me the honor and show me your message.xml so i can learn what iv maybe put wrong.
As i would like to have a shutdown announcement before it shuts down.

Thanks!

Share this post


Link to post
Share on other sites

I am having the same error. 

My message.xml looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<messages>
    <message>
        <delay>20</delay>
        <repeat>0</repeat>
        <deadline>0</deadline>
        <onconnect>1</onconnect>
        <shutdown>0</shutdown>
        <text>Willkommen auf dem KV13 DayZ Server!</text>
    </message>
    <message>
        <delay>25</delay>
        <repeat>0</repeat>
        <deadline>0</deadline>
        <onconnect>1</onconnect>
        <shutdown>0</shutdown>
        <text>Du hast Fragen, Verbesserungsvorschläge oder dir gefällt etwas nicht? Besuche uns auf unserem Discord: https://kurzelinks.de/kv13dayz</text>
    </message>	
    <message>
        <delay>30</delay>
        <repeat>0</repeat>
        <deadline>0</deadline>
        <onconnect>1</onconnect>
        <shutdown>0</shutdown>
        <text>Es gibt mehrere sichere Zonen in Städten. Dort findest du Händler, frisches Wasser und ein Feuer zum aufwärmen. Es liegt an dir, diese Zonen zu finden.</text>
    </message>	
    <message>
        <delay>35</delay>
        <repeat>0</repeat>
        <deadline>0</deadline>
        <onconnect>1</onconnect>
        <shutdown>0</shutdown>
        <text>Regen und Nächte sind aktiviert, suche dir also entsprechende Kleidung und eine Taschenlampe, um zu überleben.</text>
    </message>

    <message>
        <delay>0</delay>
        <repeat>300</repeat>
        <deadline>0</deadline>
        <onconnect>0</onconnect>
        <shutdown>0</shutdown>
        <text>Du hast Fragen, Verbesserungsvorschläge oder dir gefällt etwas nicht? Besuche uns auf unserem Discord: https://kurzelinks.de/kv13dayz</text>
    </message>	
</messages>

 

Share this post


Link to post
Share on other sites
36 minutes ago, HeadRox said:

Hi, could you do me the honor and show me your message.xml so i can learn what iv maybe put wrong.
As i would like to have a shutdown announcement before it shuts down.

Thanks!

Sorry maybe my grammar is bad, But the server does shutdown with the countdown set, but just like everyone else, only announcement seen is text in red.  

Share this post


Link to post
Share on other sites

Would be nice to be able to inform the players that the server is restarting... Shutdown does work... just the messages don't. I do like the idea of not having to use BEC.

Share this post


Link to post
Share on other sites

Messages do not work. Only red text appears with "text". The server silently restarts without warning. But most likely due to the fact that the text is not output from the necessary block.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×