Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
We use the mod in conjunction with UdderlyUpToDate so that the red message is shown on the display when the server restarts during mod updates.
!!!! WITH THIS MOD YOU NO LONGER NEED TO LEAVE THE CHAT WINDOW OPEN !!!!
Finally no more players complaining because the server restarts without warning :)
These days I'm free, and I'll finally be able to try Udderly in combo with my mod (server alert fix).
In the meantime, I'd be curious to understand how the system you're using on your host works. If you want to add me on Steam or Discord, I can try to help and see if you can simply use my script, which is much simpler and saves you from using mods altogether (except for server alert fix itself). Let me know!
The thing is, my hoster offers a direct option in the dashboard for restarting the server in conjunction with udderlyuptodate. They even have a link to this mod in their wiki.
Does the script you posted here also work like the udderly mod and restarts the server automatically when there is a mod update? Or do you have to do it manually with this script?
We have someone on the server at almost any time and at night I couldn't restart manually because I'm asleep :D
that's why I decided on the udderly variant.
Translated with DeepL.com (free version)
i tested your mod right now (with udderly up to date) and sadly there was no red message on screen while chat was closed.
After reopening the chat the red message on screen appeared in the same moment.
/servermsg "HELLO"
And since my mod is active, it will still work, even if the chat is disabled.
Keep in mind that, by default, you can send a server message to the screen using my mod directly from the debug console with:
ISChat.instance.serverMessageUI:setServerMessage("HELLO EVERYONE")
The issue is that this would only send the message to yourself. I would probably need to create propagation using sendServerCommand. It's not difficult, and I think it's a good feature. I'll think about it and let you know!
UdderlyUpToDate.message(msg, isAlert)
so it should be compatible. The mod does not cause any issues with other mods, so you can safely install it and test it yourself.
All the messages that are collected are first checked with message:isServerAlert(). If they are, my mod bypasses the vanilla method that handles them and creates a secondary rendering, canceling the original one. This way, the alert message rendering is separated from the chat itself.
With the latest update, I also added a sandbox option that lets you choose the duration (in ms, default is 5000 like vanilla) for how long the message stays on the screen.