Santafe Scripts
♻️ SF Recycle
πŸ“„ Configuration

Configuration

All configuration is done inside config.lua.

Notification System

RecyclerConfig.NotifyScript = 'QBCore'

Supported values: 'QBCore', 'ox_lib', 'okokNotify', 'mythic_notify', 'jester-notify'

Progress Bar

RecyclerConfig.ProgressScript = 'qb-core'

Timers & Cooldowns

-- How long the recycle process takes (seconds)
RecyclerConfig.RecycleTime = 30
 
-- Cooldown before looting the same trash prop again (seconds)
RecyclerConfig.LootCooldown = 300

Loot Drops

RecyclerConfig.LootMinItems = 1  -- min items dropped per loot
RecyclerConfig.LootMaxItems = 3  -- max items dropped per loot

Each item in TrashLoot has:

  • chance: 0.0 to 1.0 probability
  • min / max: quantity range

Discord Webhook Logs

RecyclerConfig.Webhook = 'YOUR_WEBHOOK_URL_HERE'
 
RecyclerConfig.Log = {
    loot       = true,  -- log when player loots trash
    recycle    = true,  -- log when recycler starts
    takeOutput = true,  -- log when player takes output
    complete   = true,  -- log when recycle completes
}