-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the Codex Black Market Wiki!
Codex Black Market is a dynamic FiveM script designed to enhance your role-playing server with an engaging black market system. This project offers interactive NPCs, item purchases, and real-time transaction logging.
Codex Black Market is a FiveM resource that introduces a sophisticated black market system. It includes features for managing item sales through NPCs, applying discounts, and integrating with Discord for real-time transaction notifications.
- π΅οΈββοΈ Dynamic NPC Spawns: NPCs appear at random locations and times.
- πΈ Discount System: Apply and manage item discounts.
- π Webhook Notifications: Log transactions to Discord.
- π° Flexible Payment Options: Supports cash, bank, and black money.
- π οΈ Lua 5.4 Compatibility: Updated for Lua 5.4.
- FiveM (GTA V Modding Framework)
- ESX (EssentialMode Extended)
- Version 1.0: Initial release with basic features including NPC interactions, item purchases, and Discord notifications.
- Version 1.1: Planned updates for additional features and improvements.
- π Enhanced NPC Behavior: Improved NPC interaction and spawning logic.
- π‘οΈ Advanced Discount System: More control over discount application.
- π₯οΈ User Interface Enhancements: Improved UI for easier configuration and interaction.
- Q1 2024: Release Version 1.1 with advanced NPC behavior and discount features.
- Q2 2024: Focus on UI enhancements and additional improvements.
- FiveM server with ESX framework installed.
- Access to server configuration files.
-
Download the Resource
- Clone the repository or download the latest release from GitHub.
-
Add to Server Resources
- Place the
codex-blackmarketfolder into your serverβsresourcesdirectory.
- Place the
-
Configure the Resource
- Edit
config.luato set theWebhookURL, NPC locations, and item details.
- Edit
-
Start the Resource
- Add
start codex-blackmarketto your server configuration file (server.cfg).
- Add
-
Restart Your Server
- Reload or restart your server to apply the changes.
-
Find an NPC
- Locate the black market NPCs that appear at various locations.
-
Open Interaction Menu
- Interact with the NPC to access the black market menu.
-
Purchase Items
- Choose items, apply discounts, and pay using cash, bank, or black money.
-
Check Discord Logs
- Review transaction details sent to your configured Discord webhook.
-
NPC Locations: Set NPC spawn points in
config.luaunderConfig.NPCs. -
Item Definitions: Define items and prices in
Config.Items. -
Webhook Settings: Configure the Discord webhook URL in
Config.WebhookURL.
We welcome contributions to Codex Black Market! To contribute:
- Fork the Repository: Create your own copy of the project.
- Create a New Branch: Work on your feature or bug fix.
- Make Changes and Test: Implement your changes and test thoroughly.
- Submit a Pull Request: Provide a detailed description of your changes.
Codex Black Market is designed with a modular approach, separating configuration, client-side, and server-side logic to ensure flexibility and ease of maintenance.
-
Issue: Webhook not sending notifications
-
Solution: Verify the
WebhookURLinconfig.luaand ensure the Discord webhook is correctly configured.
-
Solution: Verify the
-
Issue: NPC not spawning
-
Solution: Check
Config.NPCsfor correct coordinates and ensure server has necessary permissions for NPCs.
-
Solution: Check
For support, please visit our GitHub Issues or join our Discord server for discussions and assistance.
- Contributor 1: For major contributions.
- Library: For providing essential tools and libraries.