-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtbm_job_storage
101 lines (101 loc) · 7 KB
/
tbm_job_storage
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
Config = {
Locale = 'en',
useImages = true, -- you can add images in folder "view/items". The images names must be the same as in your items sql table. e.g. "drill.png"
handleWeaponsLikeItems = true,
useQbCore = false, -- if you are using ESX, change this value to false. If you are using QBCore, set value to true
qbCoreExportName = 'qb-core', -- for security reasons you can customise the qb-core export name. Attention if you change it, be sure you have also change it in qbCore
qbCore = { -- only important if you are using qb core framework
useQbCoreAddRemoveItems = false, -- if you are using qb-inventory set this value to true
blackMoneyName = 'black_money', -- Be sure you have configured black money in qb core
qbCoreInventoryExportName = 'qb-inventory' -- for security reasons you can customise the qb-inventory export name. Attention if you change it, be sure you have also change it in qbCore
},
esxExtendedName = 'es_extended', -- How you have named your es_extended mod, if you have renamed it.
ignoreMoney = false,
useOxmysql = true, -- if you are using https://github.com/overextended/oxmysql otherwise mysql-async will be used
ignoreBlackMoney = false,
viewRangeForMarkers= 20.0, -- Range to see the markers
discordLog = {
webhookUrl = '', -- add your discord webhookUrl
isEnabled = true, -- enable or disable discord log when player add or remove items from storage
enableOnlineMessage = false, -- enable or disable the mod is online message in discord
},
globalBlacklistItemsWeapons = { -- This items/weapons will ignored in all locations here are used regular expressions. See for example https://www.educba.com/lua-regex/
--'water',
},
StoragePositions = {
{
name = "police", -- job name, must be the same as in your jobs table/or job/gang config
coords = vector3(536.5675, -192.0792, 53.1330), -- position of the location
enableBlip = true, -- enable Blip on map, if true, display, sprite, scale, color and name are required
blipLabel = "Police Storage", -- -- Name of the Blip
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 440, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.2, -- scale of blip
color = 24, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
radius = 2.0, -- Radius of the action to open the menu
viewZone = true, -- view register register zone in game, if true marker, rgba and subMarker is needed
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
rgba = { 120, 255, 120, 155 }, -- color of marker
subMarker = {
marker = 20, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 54.002, -- z position of the subMarker
},
enablePed = true, -- Enable the ped. pedModel and pedOrientation is needed if you enable this options
pedModel = "s_m_y_airworker", -- ped model, see https://docs.fivem.net/docs/game-references/ped-models/
pedOrientation = 65.981, -- orientation of the ped
level = { -- player can extend the storage. Define here the capacity and the price for the different levels.
{ maxStorage = 500, price = 10 },
{ maxStorage = 1000, price = 20 },
{ maxStorage = 1500, price = 30 },
{ maxStorage = 2500, price = 40 },
},
useBlackMoneyForUpgrade = false, -- use black money instead of money to upgrade the store
policeJobNameInYourDatabase = "police", -- config here the job name of your police job.
policeRolesThatCanAccess = { -- set here the police grade names
"captain",
"boss"
},
policeCanOpenStorage = false, -- enable or disable the access for cops. If enabled only configured grades can access
locationBlacklistItemsWeapons = { -- this items/weapons will only ignored at this position here are used regular expressions. See for example https://www.educba.com/lua-regex/
--'weapon_', -- if you write like thees, all weapons will ignored
}
},
{
name = "aemechanic", -- job name, must be the same as in your jobs table/or job/gang config
coords = vector3(147.45576477051,-1045.0551757812,28.368034362793), -- position of the location
enableBlip = true, -- enable Blip on map, if true, display, sprite, scale, color and name are required
name = "ADAC Storage", -- Name of the Blip
display = 4, -- see displayId on https://docs.fivem.net/natives/?_0x9029B2F3DA924928
sprite = 440, -- blip symbol on map, see: https://docs.fivem.net/docs/game-references/blips/
scale = 1.2, -- scale of blip
color = 24, -- color of blip, see https://docs.fivem.net/docs/game-references/blips/
radius = 2.0, -- Radius of the action to open the menu
viewZone = false, -- view register register zone in game, if true marker, rgba and subMarker is needed
marker = 27, -- marker type see https://docs.fivem.net/docs/game-references/checkpoints/
rgba = { 120, 255, 120, 155 }, -- color of marker
subMarker = {
marker = 20, -- marker type see https://docs.fivem.net/docs/game-references/markers/
posZ = 29.002, -- z position of the subMarker
},
enablePed = true, -- Enable the ped. pedModel and pedOrientation is needed if you enable this options
pedModel = "s_m_y_airworker", -- ped model, see https://docs.fivem.net/docs/game-references/ped-models/
pedOrientation = 59.575, -- orientation of the ped
level = { -- player can extend the storage. Define here the capacity and the price for the different levels.
{ maxStorage = 500, price = 200000 },
{ maxStorage = 1000, price = 400000 },
{ maxStorage = 1500, price = 600000 },
{ maxStorage = 2500, price = 1000000 },
},
useBlackMoneyForUpgrade = false, -- use black money instead of money to upgrade the store
policeJobNameInYourDatabase = "police", -- config here the job name of your police job.
policeRolesThatCanAccess = { -- set here the police grade names
"captain",
"boss"
},
policeCanOpenStorage = false, -- enable or disable the access for cops. If enabled only configured grades can access
locationBlacklistItemsWeapons = { -- this items/weapons will only ignored at this position here are used regular expressions. See for example https://www.educba.com/lua-regex/
'weapon_', -- if you write like thees, all weapons will ignored
}
}
}
}