πCommissary & Illegal Shops
The Prison Commissary and Black Market System give inmates access to food, utilities, and contraband items. These shops are essential for gameplay progression, roleplay depth, and jailbreak mechanics.
π₯ͺ Commissary Shop
The Commissary sells basic items like food and drink. You can fully configure:
Items sold
Prices
Shop name and ped location
Target interaction label/icon
π§Ύ Config Example (config.lua)
Config.FoodShop = {
ped = `s_m_m_linecook`,
coords = vector4(1779.15, 2559.04, 45.57, 0.0),
products = {
{ name = "water", price = 3 },
{ name = "ramen_noodles", price = 6 },
{ name = "burger", price = 8 }
}
}
Players must use prison currency stored in your
dynyx_prisonitems
SQL table underprison_money
.
𧨠Black Market / Illegal Shop
The Illegal Shop allows inmates to buy or trade for contraband like escape tools, blueprints, or keycards.
π¬ Shop UI Options
Buy Items β uses prison money
Trade Items β exchange required items (e.g., scrap or job rewards) for contraband
βοΈ Config Snippet
Config.PrisonJob.IllegalShopPed = {
model = `g_m_m_mexboss_01`,
coords = vector4(1765.2, 2520.7, 45.6, 90.0),
items = {
{ name = "makeshift_explosive", price = 50 },
{ name = "blueprint_pistol", price = 80 }
},
trades = {
{
give = { "metal_scrap", "plastic" },
receive = "bribe_package",
amount = 1
}
}
}
π§ Developer Tips
Want to sell custom weapons or blueprints?
Add to the items
list under IllegalShopPed
Want to allow trade-only items?
Use the trades
section with no price required
Want to restrict based on rank or XP?
Add conditional logic in your target setup or shop UI
Last updated