Config
Codex = {
Keys = {
-- Letters
["A"] = 0x7065027D, ["B"] = 0x4CC0E2FE, ["C"] = 0x9959A6F0, ["D"] = 0xB4E465B4, ["E"] = 0xCEFD9220, ["F"] = 0xB2F377E8,
["G"] = 0x760A9C6F, ["H"] = 0x24978A28, ["I"] = 0xC1989F95, ["J"] = 0xF3830D8E, ["K"] = nil, ["L"] = 0x80F28E95,
["M"] = 0xE31C6A41, ["N"] = 0x4BC9DABB, ["O"] = 0xF1301666, ["P"] = 0xD82E0BD2, ["Q"] = 0xDE794E3E,
["R"] = 0xE30CD707, ["S"] = 0xD27782E3, ["T"] = nil, ["U"] = 0xD8F73058, ["V"] = 0x7F8D09B8, ["W"] = 0x8FD015D8,
["X"] = 0x8CC9CD42, ["Y"] = nil, ["Z"] = 0x26E9DC00,
-- Symbol Keys
["RIGHTBRACKET"] = 0xA5BDCD3C, ["LEFTBRACKET"] = 0x430593AA,
-- Mouse buttons
["MOUSE1"] = 0x07CE1E61, ["MOUSE2"] = 0xF84FA74F, ["MOUSE3"] = 0xCEE12B50, ["MWUP"] = 0x3076E97C,
-- Modifier Keys
["CTRL"] = 0xDB096B85, ["TAB"] = 0xB238FE0B, ["SHIFT"] = 0x8FFC75D6, ["SPACEBAR"] = 0xD9D0E1C0, ["ENTER"] = 0xC7B5340A,
["BACKSPACE"] = 0x156F7119, ["LALT"] = 0x8AAA0AD4, ["DEL"] = 0x4AF4D473, ["PGUP"] = 0x446258B6, ["PGDN"] = 0x3C3DD371,
-- Function Keys
["F1"] = 0xA8E3F467, ["F4"] = 0x1F6D95E5, ["F6"] = 0x3C0A40F2,
-- Number Keys
["1"] = 0xE6F612E4, ["2"] = 0x1CE6D9EB, ["3"] = 0x4F49CC4C, ["4"] = 0x8F9F9E58, ["5"] = 0xAB62E997, ["6"] = 0xA1FDE2A6,
["7"] = 0xB03A913B, ["8"] = 0x42385422,
-- Arrow Keys
["DOWN"] = 0x05CA7C52, ["UP"] = 0x6319DB71, ["LEFT"] = 0xA65EBAB4, ["RIGHT"] = 0xDEB34313,
},
DeveloperMode = true, -- ๐ ๏ธ Developer mode for debugging
PresetTrusts = {
boost = 0,
moonshine = 0,
breaker = 0,
drugcooker = 0,
drugfarmer = 0,
gunner = 0,
},
MenuData = 'menuapi',
SQLResource = "ghmattimysql", -- ๐ฆ Resource for SQL operations
Framework = "vorp" ,
StoreEnabledOnlyNight = false, -- ๐ Store available anytime (if false)
EnableCinematicMode = true, -- Enable Cinematic mode when on settings
MaxTrustLevel = 1000, -- ๐ Maximum trust level
ControlAction = "E", -- ๐ฎ Control key to interact with the shop
DistanceForAction = 2.0, -- ๐ Interaction distance (2 meters)
PromptText = 'Moonshine Shop', -- ๐ช Prompt text when near shop
NotificationMessage = "You dont have access to this shop", -- ๐ซ Message when no access to shop
TriggerEventNotification = 'codex_core:notification', -- ๐ข Notification event
NotificationMessageTime = 4000, -- โฐ Time for the notification to stay (in ms)
AdvancedPrintMode = false, -- ๐ Enable advanced logging
RemoveTrustOnDeath = true, -- โฐ๏ธ Remove trust on player death
RemoveAmmountOnDeath = 10, -- ๐ฝ Trust points to remove on death
TypeMoonshineRemoveOnDeath = "moonshine", --- Here you can define what player will lose , what kind of trust level the types are (moonshine, boosting)
GiveItemQuantity = 1, -- ๐ Quantity of items given
TrustToAccessShop = 1, -- ๐ณ Minimum trust required to access shop
toggleNuiFocus = 'toggleNuiFocus', -- ๐ Toggle NUI focus
TrustLevel_remove = "remove_trust", -- โ Event to remove trust
TrustLevel_add = "add_trust", -- โ Event to add trust
MoneyType = "cash", -- ๐ฐ Type of money used (cash)
CashMoneyType = 0, -- ๐ต Cash type identifier
CentsMoneyType = 1, -- ๐ธ Cents type identifier
GoldMoneyType = 2, -- ๐ช Gold type identifier
GetUiDataCommand = "getuidata", -- ๐ Command to get UI data
Uisettings_command = "uisettings", -- โ๏ธ Command to open UI settings
EnableOxTarget = false, -- ๐ฏ Enable OxTarget (false for disabled)
StablePromptsSystem = true, -- ๐ Enable stable prompt system
AlwaysOpen = true, -- ๐ช Shop is always open
NightStart = 18, -- ๐
Night start hour (6 PM)
NightEnd = 6, -- ๐ Night end hour (6 AM)
AccessToStoreWith = 'moonshine', --- if this is true the AccessToStoreWithMoonshineTrust must be false you cant use both!
TrustShopPos = {
['Moonshine Shop'] = {
label = 'Moonshine Shop', -- ๐ช Shop name
ped = 'amsp_robsdgunsmith_males_01', -- ๐ค NPC model for the shopkeeper
coords = vec4(-1850.24, -1739.08, 85.62, 74.02), -- ๐ Shop coordinates (location and rotation)
Items = { -- ๐ Items available for purchase
{
label = '๐Moonshine Capsules',
name = 'p_baitBread01x',
amount = 2, -- ๐๏ธ Maximum amount per session
price = 10, -- ๐ต Price per item
trustRequired = 50, -- ๐ณ Minimum trust to buy
},
{
label = '๐Moonshine Drink',
name = 'lockpick',
image = 'lockpick_wagon',
amount = 25, -- ๐๏ธ Maximum amount per session
price = 3, -- ๐ต Price per item
trustRequired = 20, -- ๐ณ Minimum trust to buy
},
{
label = '๐Private Girl Show + 5 Moonshine Drinks',
name = 'p_baitBread01x',
image = 'provision_jewelry_box',
amount = 5, -- ๐๏ธ Maximum amount per session
price = 25, -- ๐ต Price per item
trustRequired = 75, -- ๐ณ Minimum trust to buy
},
},
globalbuys = true, -- ๐ Global purchase limit
ShopNpc = nil, -- ๐ซ Dynamically handled black market NPC
}
}
}
Last updated
Was this helpful?