forked from overextended/ox_inventory
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.cfg
110 lines (88 loc) · 3.56 KB
/
config.cfg
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Set your resource config in this file, and use 'exec @ox_inventory/config.cfg' rather than directly starting ox_inventory
# Or put them into your 'server.cfg'; whatever works for you
# Activate specific event handlers and functions (supported: esx)
setr inventory:framework "esx"
# Load specific language file from data/locales
setr inventory:locale "es"
# Number of slots for player inventories
setr inventory:slots 50
# Maximum carry capacity for players, in kilograms
setr inventory:weight 30000
# Weapons will reload after reaching 0 ammo
setr inventory:autoreload true
# Blur the screen while accessing the inventory
setr inventory:screenblur true
# Trim whitespace from vehicle plates when checking owned vehicles
setr inventory:trimplate true
# Integrated support for qtarget stashes, shops, etc
setr inventory:qtarget true
# Default hotkeys to access primary and secondary inventories, and hotbar
setr inventory:keys ["F2", "K", "TAB"]
# Enable control action when inventory is open
setr inventory:enablekeys [249]
# Jobs with access to police armoury, evidence lockers, etc
setr inventory:police ["police", "police2", "sheriff", "sheriff2", "fib", "justice"]
setr inventory:mechanics ["mechanic", "mechanic1", "mechanic2", "sabanda", "bennys", "mecagm", "driftkingz"]
setr inventory:negocios ["vanilla", "bahamas", "yellowjack", "tequilala", "diamond", "casino", "casino2", "oasis", "pearls", "splitsides", "dirtyangels", "paraisocanario", "polvitocanario", "taquitochingon", "palaciowei", "mesonservando"]
# Item prices fluctuate in shops
set inventory:randomprices false
# Compare current version to latest release on GitHub
set inventory:versioncheck true
# Loot will randomly generate inside unowned vehicles and dumpsters
set inventory:randomloot true
# Minimum job grade to remove items from evidence lockers
set inventory:evidencegrade 2
# Stashes will be wiped after remaining unchanged for the given time
set inventory:clearstashes "12 MONTH"
# Set the contents of randomly generated inventories
set inventory:vehicleloot [
["water", 1, 3, 70],
["cocacola", 1, 3, 50],
["cigarett", 1, 1, 30],
["tarjeta_transportes", 1, 1, 20],
["eventcalendar", 1, 1, 20],
["binoculars", 1, 1, 15],
["gameboy", 1, 1, 10],
["firework", 1, 3, 5],
["fireworks", 1, 3, 4],
["dopebag", 1, 2, 3],
["racing_tablet", 1, 1, 2],
["detector", 1, 1, 2],
["camara", 1, 1, 2],
["megaphone", 1, 1, 2],
["cups", 1, 1, 20],
["raspa", 1, 1, 5],
["scratchcard", 1, 1, 5],
["dados", 1, 1, 4],
["notepad", 1, 1, 5],
["skateboard", 1, 1, 2],
["rccar", 1, 1, 1]
]
set inventory:dumpsterloot [
["water", 1, 3, 70],
["cocacola", 1, 3, 50],
["cigarett", 1, 1, 35],
["tarjeta_transportes", 1, 1, 20],
["eventcalendar", 1, 1, 15],
["dopebag", 1, 2, 5],
["cups", 1, 1, 4],
["notepad", 1, 1, 5]
]
set inventory:trashbinloot [
["water", 1, 3, 70],
["cocacola", 1, 3, 60],
["cigarett", 1, 1, 50],
["tarjeta_transportes", 1, 1, 40],
["eventcalendar", 1, 1, 30],
["dopebag", 1, 2, 5],
["cups", 1, 1, 20],
["notepad", 1, 1, 20]
]
# Set datadog API key for inventory logging (https://app.datadoghq.com/organization-settings/api-keys)
## set in configs/secret.cfg ## set datadog:key ""
# Set server intake (https://docs.datadoghq.com/api/latest/logs/#send-logs)
## set in configs/secret.cfg ## set datadog:site "datadoghq.com"
add_principal group.admin ox_inventory
add_ace resource.ox_inventory command.add_principal allow
add_ace resource.ox_inventory command.remove_principal allow
ensure ox_inventory