ed
This commit is contained in:
parent
92d275a753
commit
683833a326
4 changed files with 293 additions and 0 deletions
61
resources/[inventory]/nordi_trashcan/config.lua
Normal file
61
resources/[inventory]/nordi_trashcan/config.lua
Normal file
|
@ -0,0 +1,61 @@
|
|||
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 = {
|
||||
'p_secret_weapon_02',
|
||||
'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'
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue