From 2c5a73cf49c47729219a36f728739a5c6afd5248 Mon Sep 17 00:00:00 2001 From: nocode Date: Mon, 20 Jul 2026 13:49:34 +0200 Subject: [PATCH] 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. --- lua/bladw_announcement/shared/sh_config.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/bladw_announcement/shared/sh_config.lua diff --git a/lua/bladw_announcement/shared/sh_config.lua b/lua/bladw_announcement/shared/sh_config.lua new file mode 100644 index 0000000..4b6a2fa --- /dev/null +++ b/lua/bladw_announcement/shared/sh_config.lua @@ -0,0 +1,10 @@ +BladW = BladW or {} +BladW.Announcement = BladW.Announcement or {} +BladW.Announcement.Conf = BladW.Announcement.Conf or {} + +BladW.Announcement.Conf = { + announcement_style = "simple", -- "simple" ou "loader" + announcement_duration = 10, -- durée d'affichage en secondes + announcement_max_length = 80, -- max de caractères pour le message + announcement_sound = "announce.mp3", -- son à l'apparition ("" = rien), fichier dans sound/ | ex : garrysmod/content_downloaded.wav +} \ No newline at end of file