Installation Advanced Detailed
Installation Guide
Follow this comprehensive guide to install and set up the GOD - Nail Trap System on your FiveM server.
Prerequisites
Before installing the Nail Trap System, ensure you have the following:
ox_lib - Required dependency for progress bars and notifications
Download: ox_lib on GitHub
Ensure it's started in your
server.cfgbeforeJ0-nailScript
Framework - One of the following:
QBCore
ESX (es_extended)
Qbox
Inventory System - One of the following:
ox_inventory
qb-inventory
Targeting System (Optional but recommended):
ox_target (Recommended)
qb-target
interact
Step 1: Download and Install
Download the
J0-nailScriptresourcePlace it in your server's
resourcesfolderEnsure the folder structure matches:
Step 2: Add to server.cfg
Add the resource to your server.cfg:
Important: ox_lib must be started before J0-nailScript.
Step 3: Configure Framework and Systems
Open J0-nailScript/shared/config.lua and configure:
See the Configuration Guide for detailed configuration options.
Step 4: Add Items to Inventory
For ox_inventory
Add the following items to your ox_inventory/data/items.lua:
For qb-inventory
Add the following items to your qb-inventory/shared/items.lua:
Step 5: Add Item Images
Copy the image files from
J0-nailScript/installme/:screw_nail.pngnailspackage.png(or usescrew_nail.pngas placeholder)
Place them in your inventory's image directory:
ox_inventory:
ox_inventory/web/images/qb-inventory:
qb-inventory/html/images/
Step 6: ESX Configuration (If Using ESX)
If you're using ESX, you need to add useable items manually. Add this to your ESX configuration or create a separate script:
Step 7: Verify Installation
Start your server
Check console for any errors
Ensure
ox_libis loaded beforeJ0-nailScriptVerify items appear in your inventory
Test placing a nail in-game
Step 8: Custom Prop (Optional)
The script uses a custom prop model. If you have a custom model you'd like to use:
Ensure the model is streamed in your server
Contact support for assistance with custom prop integration
Troubleshooting Installation
Items Not Appearing
Verify item names match exactly:
screw_nailandnailspackageCheck inventory system configuration
Restart inventory resource after adding items
Script Not Working
Ensure
ox_libis started beforeJ0-nailScriptCheck
shared/config.luafor correct framework selectionVerify console for error messages
Nails Not Spawning
Check if custom prop model is available and streamed
Verify targeting system is properly configured
Check client console for errors
ESX Issues
Ensure useable items are registered (see Step 6)
Verify ESX exports are working correctly
Next Steps
After installation:
Review the Configuration Guide to customize settings
Check the FAQ for common questions
Read How It Works for technical details
Installation complete! Your Nail Trap System is ready to use. 🚀
Last updated