Samuel's Development, Official Documentation
  • 🎉Welcome
  • 📑Overview
    • Resources
      • Bobcat Weapon Heist
        • Installation Guide
        • Configuration
      • Traphouse Robbery
        • Installation Guide
        • Configuration
      • Pacific Bank Heist
        • Installation Guide
        • Configuration
      • Oxy Run
        • Installation Guide
        • Configuration
      • Dumpster Diving
        • Installation Guide
        • Configuration
        • Log Configuration
      • Warehouse Heist
        • Installation Guide
        • Configuration
      • Oil Rig
        • Installation Guide
        • Configuration
      • Beekeeping
        • Installation Guide
        • Configuration
        • Log Configuration
      • Yacht Robbery
        • Installation Guide
        • Configuration
      • Notify
        • Installation
        • Configuration
      • Cocaine Mission
        • Installation Guide
        • Configuration
      • Advanced Drug Sales
        • Installation Guide
        • Configuration
    • Library
      • Installation & Integration
      • Modules
        • Client
          • Callback
          • StartProgress
          • LoadAnim
          • LoadModel
          • LoadPtfxAsset
          • ShowNotification
          • SendEmail
          • PoliceDispatch
          • StartHack
        • Server
          • Callback
          • Name
          • Money
          • Logger
          • Inventory
          • HasGroup
          • GetPlayer
          • GetPlayers
          • GetPlayerByIdentifier
          • GetIdentifier
          • GetPlayerGender
          • CheckVersion
        • Shared
          • Array
          • Table
          • String
          • Math
          • Locale
            • JSON Example
          • AwaitLoad
          • Framework
  • 📚F.A.Q
    • How do I change Locales?!
    • How to add Police Alerts?!
    • What types of dirty money are supported?
Powered by GitBook
On this page
  1. Overview
  2. Resources
  3. Dumpster Diving

Log Configuration

return {
    logs = {
        -- What logging service do you want to use?
        -- Available options: 'fivemanage', 'fivemerr', 'discord', 'loki', 'grafana' & 'none'
        service     = 'none',

        -- Do you want to include screenshots with your logs?
        -- This is only applicable to Fivemanage and Fivemerr
        screenshots = false,

        -- You can enable (true) or disable (false) specific events to log here
        events = {
            -- Daily objectives & challenges
            redeem_daily_objective       = true,  -- when a player redeems a daily objective
            redeem_daily_challenge       = true,  -- when a player redeems a daily challenge

            -- Milestones
            redeem_milestone             = true,  -- when a player redeems a milestone

            -- Dumpster & hobo loot
            search_dumpster              = true,  -- when a player successfully loots a dumpster
            loot_hobo                    = true,  -- when a player loots a hobo
            loot_camp                    = true,  -- when a player loots a camp
            loot_bag                     = true,  -- when a player destroys a bag for loot

            -- Stashes
            register_stash               = true,  -- when a player opens/registers a stash

            -- Hobo King shop
            buy_item                     = true,  -- when a player buys an item
            sell_item                    = true,  -- when a player sells an item
            sell_all_items               = true,  -- when a player sells all items

            -- Expeditions & Rat
            claim_expedition_rewards     = true,  -- when a player claims expedition loot
            buy_rat                      = true,  -- when a player buys a rat
            spend_rat_perk               = true,  -- when a player spends a perk point

            -- Recycling
            insert_recycler_item         = true,  -- when a player inserts an item into the recycler
            remove_recycler_item         = true,  -- when a player removes an item from the recycler
            collect_recycled_item        = true,  -- when a player collects a single recycled item
            collect_recycled_items_all   = true,  -- when a player collects all recycled items
            discard_recycled_item        = true,  -- when a player discards a single recycled item
            discard_recycled_items_all   = true,  -- when a player discards all recycled items
        },

        -- If service = 'discord', you can customize the webhook data here
        -- If not using Discord, this section can be ignored
        discord = {
            -- The name of the webhook
            name   = 'Dumpster Logs',
            -- The webhook URL
            link   = '',
            -- The webhook avatar image
            image  = '',
            -- The webhook footer icon
            footer = '',
        },

        -- If service = 'loki', provide your Loki push settings
        loki = {
            -- Base URL (without trailing slash), e.g. 'https://loki.example.com'
            endpoint = '',
            -- (Optional) Basic auth username
            user     = '',
            -- (Optional) Basic auth password or API key
            password = '',
            -- (Optional) X-Scope-OrgID header value
            tenant   = ''
        },

        -- If service = 'grafana', provide your Grafana Cloud Logs settings
        grafana = {
            -- Base URL (without trailing slash), e.g. 'https://logs-prod.grafana.net'
            endpoint = '',
            -- Your Grafana API key (prefixed with 'Bearer ')
            apiKey   = '',
            -- (Optional) X-Scope-OrgID header value
            tenant   = ''
        }
    },
}
PreviousConfigurationNextWarehouse Heist

Last updated 7 days ago

📑