6 Commits

Author SHA1 Message Date
nocode 448baba2c1 feat(announcement): add announcement_theme configuration option
Add new configuration option to control the announcement border color theme.

Supports two theme options:
- "blue": blue border color
- "white": white border color (default)

This allows customization of the announcement appearance without code modification.
2026-07-20 18:23:53 +02:00
nocode cf747dd454 docs(announcement): add documentation for target option in schedule
Add documentation explaining the optional 'target' parameter that allows restricting announcements to specific usergroups like 'vip', with all users receiving the announcement by default if not specified.
2026-07-20 15:41:38 +02:00
nocode 2b56b15886 feat(announcement): add target field to announcement presets
Add 'target' field to all announcement presets to specify which users receive the announcement. The target can be 'all' for everyone or a specific usergroup like 'vip' or 'admin'.

This allows announcements to be selectively sent to different user groups.
2026-07-20 15:41:33 +02:00
nocode 49a6a085af feat(announcement): add schedule configuration for automated announcements
Create a new schedule configuration file that allows defining automated announcements with flexible scheduling options.

Supports two scheduling methods:
- Interval-based: every X seconds/minutes/hours/days
- Cron-based: standard 5-field cron syntax for precise scheduling

Announcements can use presets (discord, restart, event) or custom title/text combinations.
Includes comprehensive documentation and commented examples.
2026-07-20 13:49:45 +02:00
nocode 00eb696e7f feat(announcement): add preset announcements for reuse
Add a new sh_presets.lua file containing reusable announcement presets including restart, shutdown, maintenance, event, and discord announcements. Each preset defines title, text, style, and duration properties that can be used by the menu and scheduler.
2026-07-20 13:49:39 +02:00
nocode 2c5a73cf49 feat(announcement): add shared configuration for announcement system
Create initial configuration file for the announcement system with settings for style, display duration, maximum message length, and sound effects.
2026-07-20 13:49:34 +02:00