Discord Store
House of Noir

Installation

No SQL needed. Install dh_vipshop first, drop this in, set your ped location and make sure the items exist.

Steps

1
Install dh_vipshop
House of Noir reads and spends VIP coins through dh_vipshop. It must be installed and started before this resource.
2
Copy the resource
Place the dh_blackmarket folder in your resources directory.
3
Configure
Open shared/config.lua and set your framework, interaction type and account. See Configuration.
4
Set the ped location
Open server/location.lua and set the coordinates and heading. Use a female ped model to match the theme.
5
Check your items
Every name in Config.Categories and Config.VipExclusives must exist in your inventory.
6
Add to server.cfg
After your framework, ox_lib and dh_vipshop. Full restart on first install.
The houseofnoir.sql file in the folder is from the old separate-coin system and isn't used anymore. You don't need to run it.

server.cfg

server.cfg
# framework (one of):
ensure es_extended
# ensure qb-core
# ensure qbx_core

ensure ox_lib
ensure ox_inventory     # or your inventory
ensure dh_vipshop
ensure dh_blackmarket

Ped location

server/location.lua
local BlackMarket = {
    [1] = {
        ped     = 'mp_f_execpa_01',   -- keep it female
        coords  = vector3(-456.98, 1092.09, 327.68),
        heading = 90.0,
    },
    -- [2] = { ped = 'a_f_y_clubcust_01', coords = vector3(x, y, z), heading = 0.0 },
}

Troubleshooting

"Please try again in a moment..." — Your ped model hasn't registered with the server yet. Wait about 5 seconds after spawning.
"Sorry darling, this market is for ladies only!" — Your ped model isn't in Config.AllowedFemalePeds. Add it.
"You need to be near the vendor, sweetie!" — You must be within about 5m of the ped.
Items missing from the shop — Every item name must exist in your inventory resource.
VIP coins show 0 / VIP purchases fail — dh_vipshop isn't running. The server console prints a warning when it's missing. Turn on Config.Debug.Prints to trace.