-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.lua
More file actions
44 lines (32 loc) · 1.59 KB
/
config.lua
File metadata and controls
44 lines (32 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Config = {}
-- =====================================================================
-- ADMIN COMMAND
-- =====================================================================
-- Command used to open the stash creation panel (without the /)
Config.Command = 'createstash'
-- Command used to open the list of already created stashes (without the /)
Config.StashListCommand = 'stashlist'
-- QBCore groups allowed to use the command (also enforced server-side)
Config.AdminGroups = { 'admin', 'god' }
-- Existing SQL table used by your server for stash metadata.
-- The script will read from this table only when stashes.json is empty.
-- Set to nil/'' to disable DB import.
Config.StashDbTable = 'pulsar_stashcreator_stashes'
-- qs-inventory stash table and column used for delete cleanup.
-- When deleting from /stashlist, rows matching stashId are removed from this table.
Config.InventoryStashTable = 'inventory_stash'
Config.InventoryStashColumn = 'stash'
-- =====================================================================
-- QB-TARGET SETTINGS
-- =====================================================================
-- Interaction radius around each stash
Config.TargetDistance = 2.0
-- Icon shown in the qb-target menu (FontAwesome class)
Config.TargetIcon = 'fas fa-box-open'
-- =====================================================================
-- DEFAULT STASH VALUES
-- =====================================================================
-- Default number of slots when creating a stash
Config.DefaultSlots = 50
-- Default maximum weight (in grams) when creating a stash
Config.DefaultWeight = 100000