Skip to content

Moving off Discord webhooks

Most servers already log through Discord webhooks in dozens of scripts. Albion Logs can pick all of them up. In the server console:

albionlogs hook scan # which scripts post to Discord
albionlogs hook add # add one line to each of their manifests

Each script gets one line added to its fxmanifest.lua, with the original kept as fxmanifest.lua.albion-logs-backup. From that script’s next start, every webhook it sends is also logged, filed under the script and linked to the player when the message names them. Only the webhook’s number is kept, never its secret token.

Config.Webhooks.mode is 'copy' (still posts to Discord) or 'replace' (stops the Discord post; the script carries on as normal). Keep it on copy while your staff get used to the panel. List any webhooks you want to keep posting in keepSending.

albionlogs hook remove all

When a script update replaces its manifest, Albion Logs puts the line back on start and tells you which scripts need one more restart. Escrowed scripts are included. If one refuses to start afterwards, run albionlogs hook remove <name> and tell us which script it was.

You can also post chosen categories to Discord from the panel, for example deaths, or money over £100,000. Add a channel for each under Discord.