House of Noir
Configuration
All config is in shared/config.lua. Ped locations are in server/location.lua.
Core settings
| Key | Values | Description |
|---|---|---|
| Config.Framework | 'esx' / 'qb' / 'qbox' / 'autodetect' | Framework to use. Ships as 'esx' |
| Config.Interaction | 'ox-target' / 'qb-target' / 'textui' | How players open the shop |
| Config.Account | 'black_money' / 'cash' / 'bank' | Account used for regular purchases |
| Config.VipAdminAce | string | Ace for /checkvipbalance. Default 'dh.vipcoins' |
| Config.BlackListedJob | table | Jobs that can't open the shop. Default { 'police' } |
| Config.AllowedFemalePeds | table | Ped models that pass the female check. Default { 'mp_f_freemode_01' } |
| Config.WaterMark | true / false | Show the watermark in the UI |
| Config.Debug.Prints | true / false | Debug output in the console |
Shop items
Items are grouped by tab under Config.Categories. Add quantity for bundles — the player gets that many per cart unit.
shared/config.lua
Config.Categories = {
weapons = {
label = "Weapons",
items = {
{ name = "WEAPON_FNX45", label = "FNX-45", price = 40000 },
}
},
tools = {
label = "Illegal Tools",
items = {
{ name = "ammo-45", label = ".45 ACP", price = 16000 },
{ name = "baddie_pack", label = "Baddie Pack", price = 300000, quantity = 500 }, -- 500x per cart unit
{ name = "dh_vip_card", label = "VIP Laundering Card", price = 150000 },
}
},
gear = {
label = "Gear",
items = {
{ name = "lockpick", label = "Lockpick Set", price = 1200 },
{ name = "armour", label = "Armour", price = 16000 },
}
},
}
VIP exclusives
Paid in VIP coins with coin_price.
shared/config.lua
Config.VipExclusives = {
{ name = "WEAPON_AKT", label = "AKT", coin_price = 200 },
{ name = "WEAPON_AUG_MEDUSA", label = "AUG MEDUSA", coin_price = 200 },
}
VIP coins
VIP coins are one shared balance owned by dh_vipshop (stored in its dh_vipshop_coins table). Coins given in either shop work in both.
| Command | From | Description |
|---|---|---|
| /givevipcoins | dh_vipshop | Give coins to a player |
| /removevipcoins | dh_vipshop | Remove coins from a player |
| /vipcoins add|remove|check|set | dh_vipshop | All-in-one coin command |
| /checkvipbalance [id] | House of Noir | Check a player's balance (needs Config.VipAdminAce) |
server.cfg
add_ace group.admin dh.vipcoins allow
Female ped whitelist
shared/config.lua
Config.AllowedFemalePeds = {
'mp_f_freemode_01',
-- add any other female ped models your players use
}