Page 1 of 1

Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 3:48 pm
by jurgy
TL;DR
Please add a button for the Alerts configuration gui (/alerts) to the current alert bar
What?
Picture, 1000 words:
08-07-2026, 17-44-57.png
08-07-2026, 17-44-57.png (1.05 MiB) Viewed 412 times
Why?
Using a command for this seems obscure. Adding it to the side of the current alert bar seems to me to be the most logical place to add the button.

Re: Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 3:57 pm
by worph
+1

A rightclick option on the alert might also be intuitive for a lot of people. (me)

Re: Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 4:06 pm
by imoth_f
+1

Didn't even realise there was a command.

Re: Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 4:12 pm
by Shemp
+1

The side menu (above the minimap with the Factoriopedia button, Trains, Achievements etc.) could also be a nice place for this, since the alert indicator isn't visible at all times.

I'll add that it is not currently possible to open this window via script, you have to run /alerts.

Code: Select all

player.opened = defines.gui_type.alerts_config
will produce an error if you try to run this.

But you can detect when the window is opened by reading player.opened_gui_type.

Re: Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 5:23 pm
by worph
Something to keep in mind also:
A problem with your suggestions is the following: When all alerts are disabled via this GUI, you will likely not be able to access it via the little button you proposed. Because that would only be visible when there is an active alert. So maybe it can have a button in the options too, or similar.

Re: Add button for the Alerts Configuration gui

Posted: Fri Aug 07, 2026 5:28 pm
by Rseding91
I added support to write opened to the alerts_config GUI type for the next release.