prp-pawn

A modern, server-authoritative NUI pawn shop for scavenging and loot gameplay.

Features

Modern NUI Interface

Haggle System

Players can haggle once per shop visit for better prices. Stop the needle in colored zones for bonuses:

Zone Bonus Description
🥇 Gold +20% to +30% Jackpot! Small target zone
🟢 Green +10% to +20% Great deal
🟡 Yellow +0% to +8% Decent
🔴 Red -3% to -10% Pushed too hard

Configuration

Config.Economy = {
    PerTransactionCap = 8000,   -- Max per sale
    DailySellCap = 25000,       -- Max per day
    SaleCooldown = 2,           -- Seconds between sales
}

Premium Items

High-value items with explicit pricing:

Config.PremiumItems = {
    ['weapon_combatpistol'] = { 
        label = 'Combat Pistol', 
        price = { min = 1200, max = 1800 }, 
        category = 'weapons' 
    },
    ['goldchain'] = { 
        label = 'Gold Chain', 
        price = { min = 50, max = 100 }, 
        category = 'valuables' 
    },
}

Commands

Command Description Permission
/pawn:doctor Run diagnostics group.admin
/pawn:toggledebug Toggle debug mode group.admin