forked from Simnation/Main
60 lines
1.5 KiB
Lua
60 lines
1.5 KiB
Lua
Config = {}
|
|
|
|
-- Main settings
|
|
Config.EmptyInterval = 2880 -- 2 days in minutes (48 hours * 60 minutes)
|
|
Config.CheckFrequency = 30 -- How often to check for trash cans to empty (in minutes)
|
|
|
|
-- Trash can models that can be interacted with
|
|
Config.TrashCanModels = {
|
|
'prop_bin_08a',
|
|
'prop_bin_01a',
|
|
'prop_bin_03a',
|
|
'prop_bin_04a',
|
|
'prop_bin_07a',
|
|
'prop_bin_07d',
|
|
'prop_cs_bin_01',
|
|
'prop_cs_bin_01_skinned',
|
|
'prop_cs_bin_02',
|
|
'prop_cs_bin_03',
|
|
-- Add more trash can models as needed
|
|
}
|
|
|
|
-- Inventory settings
|
|
Config.TrashCanInventory = {
|
|
maxweight = 50000, -- 50kg max
|
|
slots = 20, -- 20 Slots
|
|
label = 'Mülltonne'
|
|
}
|
|
|
|
-- Notification settings
|
|
Config.Notifications = {
|
|
noTrashCanFound = {
|
|
title = 'Mülltonne',
|
|
description = 'Keine Mülltonne gefunden!',
|
|
type = 'error'
|
|
},
|
|
trashCanEmptied = {
|
|
title = 'Mülltonne',
|
|
description = 'Die Müllabfuhr hat die Mülltonne geleert!',
|
|
type = 'info',
|
|
duration = 5000
|
|
},
|
|
manualEmptySuccess = {
|
|
title = 'System',
|
|
description = 'Alle Mülltonnen wurden geleert',
|
|
type = 'success'
|
|
},
|
|
noPermission = {
|
|
title = 'System',
|
|
description = 'Du hast keine Berechtigung für diesen Befehl',
|
|
type = 'error'
|
|
}
|
|
}
|
|
|
|
-- Logging settings
|
|
Config.Logs = {
|
|
enabled = true,
|
|
webhookName = 'trash', -- Name of the webhook in qb-log
|
|
emptyTitle = 'Trash Can Emptied',
|
|
emptyColor = 'blue'
|
|
}
|