Codex Black Market is a FiveM script that introduces a dynamic black market system. Enhance your role-playing server with interactive NPCs, item purchases, and real-time transaction logging.
- Dynamic NPC Spawns: NPCs appear at random locations and times.
- Discount System: Apply discounts to items.
- Webhook Notifications: Log transactions to Discord.
- Flexible Payment Options: Supports cash, bank, and black money.
- Lua 5.4 Compatibility: Updated for Lua 5.4.
-
Clone the Repository
git clone https://github.com/CustomCodex/codex-blackmarket.git
-
Add to Resources: Place the
codex-blackmarketfolder into your server'sresourcesdirectory. -
Update
server.cfg: Add the following line:start codex-blackmarket -
Configure the Script: Edit
config.luato set theWebhookURLand NPC settings. -
Restart the Server: Reload or restart your FiveM server.
- Buying Items: Interact with NPCs to buy items using cash, bank, or black money. Discounts apply as configured.
- Webhook Notifications: Transaction details are sent to your Discord webhook.
- NPC Coordinates: Set NPC locations and settings in
config.lua. - Item Definitions: Define items, prices, and discounts in
config.lua. - Webhook Settings: Configure your Discord webhook URL in
config.lua.
To contribute:
- Fork the repository.
- Create a new branch.
- Submit a pull request with your changes.
For support:
- Open an issue on GitHub.
- Join our Discord server.