Shop System
Introduction
Hate Shop is a comprehensive and highly configurable shopping system designed for FiveM servers. The script provides a seamless shopping experience with features like categorized items, payment options, job-specific shops, item licensing requirements, and detailed logging.
Key Features
Multiple Shop Types: Configure various shop types like 24/7, Gas Stations, Ammu-Nation, Police Equipment, etc.
Job Requirements: Restrict certain shops to specific jobs and ranks
Licensing System: Weapon license checks for restricted items
Payment Options: Support for both cash and bank card payments
Customizable UI: Clean and responsive interface with search functionality
Multi-Language Support: Built-in support for English and Turkish, easily extendable
Detailed Logging: Discord webhook integration for purchase logging
Framework Support: Compatible with both ESX and QBCore frameworks
Installation
Download the Resource
Download the Hate Shop resource
Place in Resources Folder
Extract the files to your server's resources folder
Recommended path:
resources/[licensed]/[hate]/hate-shop/
Configure the Script
Edit the
config.lua
file to match your server's requirementsSet your preferred framework (
"esx"
or"qbcore"
)Configure shop locations, item categories, and prices
Set your Discord webhook URL for logging if desired
Update Server Config
Add the following line to your
server.cfg
:
Item Images
Ensure your inventory system has images for the items
The script uses the path specified in
Config.UISettings.imagePath
Default fallback image can be configured in
Config.UISettings.defaultImagePath
Configuration
Framework Configuration
In config.lua
, set your preferred framework:
Shop Types
Configure different types of shops with specific categories and job requirements:
Categories and Items
Define categories and their items with prices and special requirements:
Market Locations
Set up shop locations around the map:
Discord Logging
Configure Discord webhook for purchase logging:
Usage
Player Commands
/market [type]
- Opens a specific market type (Admin/debug command)
Opening Shops
Players can interact with shop locations by approaching them and pressing the E key (default interaction key).
Shop Interface
Browsing Items:
Items are organized by categories
Use the search bar to find specific items
Click on a category to expand/collapse it
Adding to Cart:
Left-click on an item to add it to the cart
Right-click on an item to view detailed information
Control quantities from the cart panel
Checkout:
Click "Pay" to proceed to checkout
Select payment method (Cash or Card)
Confirm the purchase
Adding Custom Languages
To add a new language, edit the languages.lua
file and add your translation:
Then update the language setting in config.lua
:
Technical Information
Dependencies
ESX or QBCore framework
Inventory system that provides item images
Resource Usage
CPU: Low to Medium
Memory: Low
Troubleshooting
Common Issues
Items not displaying properly
Ensure your item IDs match those in your inventory system
Check that the image path in config is correctly set
Payment not working
Verify that the framework setting matches your server (ESX or QBCore)
Check server console for any error messages
Job restrictions not working
Ensure job names in config match exactly with your jobs system
Support
For additional support, please contact through the official support channels provided with your purchase.
Security Notice
This script is protected by FiveM's escrow system. The client and server-side code is encrypted and cannot be modified.
Last updated