Documentation › Mushrooms › Discord Logs

Discord Logs

Staff logs on Discord.

config/config_webhooks.lua is loaded on the server only. Leave a URL empty to turn that log off.

lua
-- Config.DiscordWebhook = ''   -- fallback for every kind without its own url
Config.Webhooks = {
    collect     = { url = '' },  -- every collected mushroom (with quality)
    sell        = { url = '' },  -- sales, with quality and price per line
    boost       = { url = '' },  -- sell boost toggled by an admin
    security    = { url = '' },  -- blocked / suspicious requests
    quest       = { url = '' },  -- completed daily / weekly quests
    achievement = { url = '' },  -- unlocked achievements
    ranking     = { url = '' },  -- weekly / monthly leaderboard results and rewards
    admin       = { url = '' },  -- /mushadmin actions
    rack        = { url = '' },  -- drying racks placed
    -- optional per kind: username = 'Mushrooms', avatar_url = 'https://...', color = 3066993
}

Webhook URLs work like passwords. Don't share this file with them filled in.