Installation
Prerequisites
Before installing NF-AdvancedShop, ensure you have the following:
A working FiveM server
One of the supported frameworks:
ESX Framework
QBCore Framework
One of the supported inventory systems:
ox_inventory
qb-inventory
qs-inventory
esx_inventory
One of the supported SQL systems:
oxmysql
ghmattimysql
mysql-async
One of the supported target systems:
ox_target
qb-target
Default target
Installation Steps
1. Download and Extract
Download the latest release from the GitHub repository
Extract the contents to your server's resources folder
Rename the folder to
NF-AdvancedShop
if it's not already named as such
2. Database Setup
Open your database management tool (e.g., HeidiSQL, phpMyAdmin)
Create a new database if you haven't already
Import the
sql.sql
file located in thesql
folderVerify that the following tables have been created:
NF_shop_types
NF_shops_active
3. Configuration
Navigate to the
config
folderOpen
config.lua
in your preferred text editorConfigure the following settings:
Adjust other settings according to your server's needs
4. Server Configuration
Open your
server.cfg
Add the following line:
Make sure the resource is started after your framework and inventory system
5. Resource Verification
Start your server
Check the server console for any errors
Verify the resource is running with:
Post-Installation
Testing
In-game, use the following commands to verify installation:
Check if shops are spawning at their configured locations
Verify that the inventory system is working by purchasing items
Test the robbery system (if enabled)
Test the post box system (if enabled)
Troubleshooting
If you encounter any issues:
Check the server console for error messages
Verify all dependencies are properly installed and running
Ensure the database tables are created correctly
Check file permissions in the resource folder
Verify your framework version is compatible
Common Issues
Database Connection Errors
Verify your database credentials in the framework configuration
Check if the database server is running
Ensure the database user has proper permissions
Resource Not Starting
Check if all dependencies are started before NF-AdvancedShop
Verify the resource name in server.cfg matches the folder name
Check for any syntax errors in the configuration files
Inventory Integration Issues
Verify the inventory system is properly configured
Check if the inventory system is started before NF-AdvancedShop
Ensure the item names match between the shop and inventory system
Support
If you need additional help:
Check the documentation in the
docs
folderJoin our Discord server for community support
Updates
To update the resource:
Backup your current configuration
Download the latest release
Replace the old files with the new ones
Keep your custom configuration
Restart the resource
For additional support, please join our Discord server or create an issue on GitHub.
Last updated