Installation
How to install Possible Scripts resources on your FiveM server
This guide covers the general installation process for all Possible Scripts resources. Each script may have additional specific steps - check the script's dedicated documentation for details.
Prerequisites
Before installing any script, ensure you have:
- A working FiveM server
- FTP/SFTP access to your server files
- Access to your
server.cfg - The required dependencies (listed per script)
Step 1: Purchase & Download
- Purchase the script from our store
- Access your purchase via Tebex
- Grant the asset to your CFX.re Keymaster
- Download the latest version
Step 2: Extract Files
Extract the downloaded ZIP file. You'll see a folder structure like:
ps-scriptname/├── client/│ └── main.lua├── server/│ └── main.lua├── shared/│ └── config.lua├── fxmanifest.lua└── README.mdStep 3: Upload to Server
Upload the extracted folder to your server's resources directory:
server/└── resources/ └── [ps]/ ├── ps-gangmdt/ ├── ps-territories/ └── ps-playershops/We recommend creating a [ps] folder to keep all Possible Scripts organized together.
Step 4: Install Dependencies
Most scripts require these common dependencies:
| Dependency | Required For |
|---|---|
| ox_lib | UI notifications, callbacks |
| oxmysql | Database queries |
| ox_inventory | Inventory integration |
Install dependencies before the script in your server.cfg:
ensure oxmysqlensure ox_libensure ox_inventory
ensure [ps]Step 5: Configure
- Open
shared/config.luaorconfig.lua - Read through all options
- Adjust settings to match your server
Config = {}
Config.Framework = 'qb-core' -- 'qb-core', 'qbox', 'esx'Config.Debug = false
-- Customize other options as neededStep 6: Database Setup
If the script requires database tables:
- Locate the SQL file (usually
install.sqlor in asql/folder) - Run the SQL in your database
- Verify tables were created
-- Example: Check if tables existSHOW TABLES LIKE 'ps_%';Step 7: Start the Resource
Add to your server.cfg and restart:
ensure ps-scriptnameOr use the console:
refreshensure ps-scriptnameVerification
After installation, verify everything is working:
- Check server console for errors
- Look for the startup message
- Test basic functionality in-game
Updating Scripts
To update a script:
- Backup your current config
- Download the new version
- Replace files (keep your config)
- Check the changelog for config changes
- Restart the resource
Always backup your configuration before updating. New versions may have config changes.
Next Steps
- Configuration Guide - Detailed config options
- Troubleshooting - If something isn't working
