# Changelog

Version history and release notes for moh-pawnshop.

## v1.0.0

2025 — Initial Release

### Added

* Full pawn shop system with configurable items and prices
* Custom animated NUI — Orbitron font, purple tablet theme, shimmer effects
* Discord webhook embed logging for every transaction
* Server-side anti-exploit with automatic permanent ban system
* Universal inventory support: ox\_inventory, qs-inventory, ps-inventory, qb-inventory (auto-detected)
* Universal target support: ox\_target, qb-target, qtarget (auto-detected)
* PolyZone support for E-key \[E] Pawn Shop text prompt
* Opening hours system via Config.UseTimes, Config.TimeOpen, Config.TimeClosed
* Cash or Bank payment mode via Config.BankMoney
* Multi-location support via Config.PawnLocation array
* Sell lock (1 second cooldown) to prevent spam
* Server-side proximity check (5.0 unit radius)
* Item image loading from inventory resource with emoji fallback
* Sell confirmation modal with max quantity enforcement

### Changed

* Removed inventoryBusy system — simplified to sell lock only
* Removed hardcoded secondary coord check in client thread — now uses Config.PawnLocation exclusively
* PolyZone thread wrapped in GetResourceState check to prevent errors when PolyZone is absent
* Item label now safely falls back to item name if not found in QBCore.Shared.Items
* Webhook URL moved from server.lua to Config.Webhook in config.lua

📬

**Found a bug or have a feature request?** Open an issue or pull request on the repository. Include your server console output and the exact steps to reproduce.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mohssins.gitbook.io/mohscriptsdocs/moh-pawnshop/changelog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
