Space Engineers

Space Engineers

MessagePlay
52 Comments
Tobeey 19 Jun, 2020 @ 11:36am 
Can I create several files because currently there is a standard. But I would like to have more e.g. rules, events, information

Amaka 11 Feb, 2018 @ 9:27pm 
motd
Amaka 11 Feb, 2018 @ 9:27pm 
Dont work
TIM 20 Apr, 2017 @ 9:05pm 
Text limit???
Chrisbot  [author] 17 Apr, 2017 @ 1:59pm 
No limitation on the string length, Arstraea. Please, do send your xml file(s) to me and I'll check it out. chris @ chrisbot.com .
Arstraea 16 Apr, 2017 @ 9:20pm 
I set up in my dedicated server, and motd popup is working well.
But when I type commands that I set up in HelpTopic.xml, SE crashed.
Is there are limits about string length or else? If not, I'll send my files to you and please check this!
Chrisbot  [author] 8 Jan, 2017 @ 1:46pm 
Franky500, oh yeah, make sure you look at the latest version. @HasAdminPrivileges has been marked incomplete. Also added some improvements and bug fixes yesterday. :steamhappy:
Franky500 8 Jan, 2017 @ 1:19pm 
of course fully respect that :) command wise i mean the macros such as @AssemblerSpeedMultiplier etc which dont apply in ME, have not gone through them all yet
Chrisbot  [author] 8 Jan, 2017 @ 1:02pm 
Franky500, yes, you may modify and distribute as you wish under the GPL. It must include the same GPL v3 (gpl.txt) or a later version. My copyright must remain in each source file with your copyright below stating "Modified by [your name] Copyright...". I reserve the exclusive rights to the name "MessagePlay" and the thumb.png image (excluding all other rights reserved). Your own content may contain your own license preference.

I'm curious to know which commands are redundant.
Franky500 8 Jan, 2017 @ 12:34pm 
Hey Chris, I've managed to copy this over to medieval engineers and it works perfect (obviously some redundant commands removed), I see you have a GPL License text on it but out of courtesy i wanted to check if it is okay for me to publish this with credits and links to you on ME Workshop?
Chrisbot  [author] 7 Jan, 2017 @ 7:41am 
Sector,
Thank you for your patience.

Here is what I discovered as the solution.

1. Ensure sure the XML document encoding is "utf-16".
2. Add your text in your native Cryillic script.
3. Save the text file as Unicode file format.

This example contains Russian and Finnish text.

<?xml version="1.0" encoding="utf-16"?>
<WelcomePanel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled>true</enabled>
<title>Привет инжинер</title>
<subtitle>vk.com/Наша группа в контакте space_engineers_ruvds</subtitle>
<description>Это тест на русском языке.
Tämä on testi suomeksi.</description>
<buttonCaption>Закрыть</buttonCaption>
</WelcomePanel>
Chrisbot  [author] 7 Jan, 2017 @ 7:40am 
Sector,
Спасибо за терпеливость.

Вот то, что я открыл для себя в качестве решения.

1. Убедитесь, что уверен, что кодировка XML-документ "UTF-16".
2.Добавьте ваш текст на родном кириллице.
3. Сохраните текстовый файл в формате файла Unicode.

Этот пример содержит русскую и финский текст.

<?xml version="1.0" encoding="utf-16"?>
<WelcomePanel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled>true</enabled>
<title>Привет инжинер</title>
<subtitle>vk.com/Наша группа в контакте space_engineers_ruvds</subtitle>
<description>Это тест на русском языке.
Tämä on testi suomeksi.</description>
<buttonCaption>Закрыть</buttonCaption>
</WelcomePanel>
Chrisbot  [author] 7 Jan, 2017 @ 6:14am 
Другое дело, чтобы попытаться это сохранить конфигурационный файл в формате Unicode.
Podzemnik 7 Jan, 2017 @ 6:08am 
Я менял кодировку с UTF16 на UTF8 Не помогло
Podzemnik 7 Jan, 2017 @ 5:57am 
не работает. Вместо русских букв теперь квадраты.
Chrisbot  [author] 7 Jan, 2017 @ 5:05am 
Banzi and Sector, please confirm that version 1.5 works for you. :steamhappy:

バージョン1.5が動作することをご確認ください。

Пожалуйста, подтвердите, что версии 1.5 работает для вас.
Podzemnik 3 Jan, 2017 @ 6:58am 
Спасибо вам огромное! Мы уже сутки с товарищем неможем никак разобраться
☢(>_<) 万歳(banzai)☢ 3 Jan, 2017 @ 5:04am 
))))
Chrisbot  [author] 3 Jan, 2017 @ 5:01am 
Да, я буду работать над этим. Спасибо за ваше сообщение, Sector. :steamhappy:
Podzemnik 3 Jan, 2017 @ 3:05am 
Мод не работает с русским тектом((( Можно какнибудь настроить?
☢(>_<) 万歳(banzai)☢ 26 Dec, 2016 @ 12:47pm 
Thanks in advance!
Chrisbot  [author] 26 Dec, 2016 @ 12:39pm 
I will work on that, banzai.
☢(>_<) 万歳(banzai)☢ 26 Dec, 2016 @ 11:48am 
encoding problem
☢(>_<) 万歳(banzai)☢ 26 Dec, 2016 @ 11:44am 
I could not get! ?????? conclusion Cyrillic. ((
Chrisbot  [author] 26 Dec, 2016 @ 10:10am 
Very good question, banzai. Please, test and let me know. :steamhappy:
☢(>_<) 万歳(banzai)☢ 26 Dec, 2016 @ 9:49am 
Thank you for your mod! your mod supports Cyrillic?
Chrisbot  [author] 7 Nov, 2016 @ 3:30pm 
Docs at h t t p ://messageplay . weebly . com
Chrisbot  [author] 7 Nov, 2016 @ 3:30pm 
Faceless 6 Nov, 2016 @ 4:23pm 
is this MOD broken? I do not understand how it works.
Chrisbot  [author] 9 Oct, 2016 @ 10:27am 
Excellent, Franky500! Thanks for the feedback.
Franky500 9 Oct, 2016 @ 9:55am 
Seems to be working like a charm, Nice work! Thanks
Chrisbot  [author] 9 Oct, 2016 @ 8:19am 
Detailed documentation available at messageplay . weebly . com.
Franky500 9 Oct, 2016 @ 12:28am 
You are possibly the most amazing person in the world right now. Thanks Chris!
Chrisbot  [author] 8 Oct, 2016 @ 6:28pm 
Version 1.3 is available adding scheduled announcements!
Chrisbot  [author] 6 Oct, 2016 @ 4:09pm 
Franky500, I know exactly what you need with the timed announcements. I'm working on that now.
Franky500 6 Oct, 2016 @ 3:54pm 
Thanks Chrisbot, with it working off of the server start i can set it to run X minutes after start to remind people of restarts, Specific time would obviously make it even easier :) fantastic stuff. If your implimenting anything else the only other thing that would be good is to have multiple messages available on the delay (eg message 1 after 10 minutes, 2 after 30 or something). Either way what you have not is very useful so thanks again :)
Chrisbot  [author] 5 Oct, 2016 @ 4:46pm 
Frankt500,

Thanks for your question. The time interval is based on a timer on the server in multiplayer, but in single-player (for testing), the timer is on the local machine. While validating my response, I discovered that I left the interval and delay multipliers set at my debug settings so they are not occuring at the right times. I also found a couple bugs. I have publishing another update to address this. Furthermore, the delay is occuring only at server start, not a period after the player joins. I am working on this tonight. Meanwhile, consider the announcement delay pointless.

While working on the announcement delay, I'll see if I can work in the specific time announcement in the 1.3 release.

I would also like to see some of those features often added to games as plugins built into the game itself. They did well to incoorperate Factions into the game.

Thank you for your feedback, Franky500 and yours too Alex91.
Franky500 4 Oct, 2016 @ 6:42pm 
Also can i ask, is the interval based off of the server time or the player join time? (eg if set to 30 is it 30 minutes after the server starts, or 30 minutes after the player joins) Definately would love the specified time option if its actually available though :) I'm quite shocked at the lack of Space Engineers own messaging system, this sort of mod becomes invaluble, so thank you chris.
Franky500 4 Oct, 2016 @ 5:46pm 
Thanks very Much Chrisbot, appreciate it :)
Chrisbot  [author] 4 Oct, 2016 @ 4:17pm 
Franky500 & Alex91,

I appologize for not documenting announcements. I'm documenting this now. In the meantime, here's the format of Announcements.xml with one announcement.

<?xml version="1.0" encoding="utf-16"?>
<Announcements xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<intervalMinutes>1</intervalMinutes>
<delaySeconds>10</delaySeconds>
<enabled>true</enabled>
<announcements>
<Announcement>
<sender>sender as displayed in chat</sender>
<message>message text</message>
</Announcement>
</announcements>
</Announcements>
Chrisbot  [author] 4 Oct, 2016 @ 2:54pm 
Alex91, I'm working on this now.
(GER)Al3Fra91 3 Oct, 2016 @ 5:47am 
*Text i mean
(GER)Al3Fra91 3 Oct, 2016 @ 4:02am 
Me Too,...
where i´ve to Enter my Test at Announcements.xml
Franky500 30 Sep, 2016 @ 1:31pm 
anyone know if i'm doing something wrong?
Franky500 19 Sep, 2016 @ 10:24am 
Just to check if i am going crazy (as i am not getting any messages) In announcements.xml i need to place the message where exactly? I thought it would be simply:


<Announcements xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<intervalMinutes>1</intervalMinutes>
<delaySeconds>10</delaySeconds>
<enabled>true</enabled>
<Announcements>
ENTER Announcement Text HERE
</Announcements>
</Announcements>

Am i missing something somewhere? (i set to 1 minute and 10 seconds so i could test).
Chrisbot  [author] 16 Sep, 2016 @ 3:02pm 
Thanks, Franky500. I will work on that.
Franky500 16 Sep, 2016 @ 9:27am 
Would absaloutely love a specific time option! If that turns up i'll definately be using it. Good work all the same!
Chrisbot  [author] 2 Sep, 2016 @ 1:37pm 
AngamaraOnline, I appologize for not getting back to you sooner.

IntervalMinutes is the time between ads.
DelaySeconds is the time after a player logs on. This compensates for connection lag and also lets the player settle in before seeing an ad.

Future rellease will include setting a specific time. Want this to burn in before making additional features. I also noted an issue with the HelpTopics updating only after server restart. I'll get to that. Right now I am experiencing an issue with 1.144.011 (STABLE) server locking up after a few minutes so I cannot effectively test.
AngamaraOnline 23 Aug, 2016 @ 7:06am 
The server keeps in memory the contents of HelpTopic?
I change the content but no change is visible with the help command. Even after restart.
Thank you to check whether the mod still works with the update 0.1414

How detailed Announcements.xml?

intervalMinutes is the time between ad?
DelaySeconds is the number of seconds during which it appears?
When the first announcement she makes?

Is it possible to program messages at a specific time?
FPC 10 Jul, 2016 @ 8:02pm 
A msg with gps coords will do the trick I think! Thank you!