Add notifications for essence

This commit is contained in:
2025-01-21 08:50:59 +01:00
parent d143a18838
commit 0c5078e3f3
5 changed files with 54 additions and 5 deletions

View File

@@ -200,6 +200,10 @@ function shared.Whoer.Init()
}
--table.insert(shared.messenger.queue, msg)
table.insert(shared.networkMessenger.queue, msg)
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
msg.data = Heimdall_Data.config.essencex.masterChannel
table.insert(shared.messenger.queue, msg)
end
if Heimdall_Data.config.who.doWhisper then
if Heimdall_Data.config.who.debug then
@@ -277,6 +281,11 @@ function shared.Whoer.Init()
}
--table.insert(shared.messenger.queue, msg)
table.insert(shared.networkMessenger.queue, msg)
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
msg.data = Heimdall_Data.config.essencex.masterChannel
table.insert(shared.messenger.queue, msg)
end
if Heimdall_Data.config.who.doWhisper then
for _, name in pairs(Heimdall_Data.config.whisperNotify) do
---@type Message
@@ -331,6 +340,12 @@ function shared.Whoer.Init()
}
--table.insert(shared.messenger.queue, msg)
table.insert(shared.networkMessenger.queue, msg)
if Heimdall_Data.config.essencex.who and Heimdall_Data.config.essencex.enabled then
--if player.guild == "БеспредеЛ" then
msg.data = Heimdall_Data.config.essencex.masterChannel
table.insert(shared.messenger.queue, msg)
--end
end
if Heimdall_Data.config.who.doWhisper then
for _, name in pairs(Heimdall_Data.config.whisperNotify) do