Page 1 of 1

TTMod message of the day

Posted: 29 Feb 2020, 11:09
by Schaze05
Hello everyone !

I want to know how can i have a message of the day like this :

welcome %playername !
Message first line
Messsage second line

Re: TTMod message of the day

Posted: 29 Feb 2020, 15:54
by Nyuton
hi,
With next TTmod/Livemap update it will be possible to do this using Livemap RCON interface.
Right now, it's only possible using custom scripts that utilize TTmod callbacks documented here: https://kb.feudal.tools/knowledge-base/ ... pment-api/
There's an example for MOTD that could be modified to do what you want.

Re: TTMod message of the day

Posted: 03 Mar 2020, 09:47
by Schaze05
Ok Thx, i'll check this an over day, but how can I translate

Code: Select all

"<spush><color:1FFF00> " @ %message @ " <spop>"
and

Code: Select all

&#10;

Re: TTMod message of the day

Posted: 03 Mar 2020, 17:42
by Nyuton
translate?
translate to what?

Re: TTMod message of the day

Posted: 05 Mar 2020, 14:55
by Schaze05
Sorry, I've just change the &#10; to <br> and its work.

Re: TTMod message of the day

Posted: 07 Mar 2020, 15:18
by Nyuton
TTmod MOTD has now built-in way to do this. Check the updated motd config option: https://kb.feudal.tools/knowledge-base/ ... e_Day_MOTD

TTmod 1.5 : https://nyuton.net/ttmod-1-5-released/

Re: TTMod message of the day

Posted: 10 Mar 2020, 07:02
by Schaze05
Ok, thx, i'll update the server, and i'll check this evening, nice job :)