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

  1. Purchase the script from our store
  2. Access your purchase via Tebex
  3. Grant the asset to your CFX.re Keymaster
  4. Download the latest version

Step 2: Extract Files

Extract the downloaded ZIP file. You'll see a folder structure like:

Text
ps-scriptname/├── client/│   └── main.lua├── server/│   └── main.lua├── shared/│   └── config.lua├── fxmanifest.lua└── README.md

Step 3: Upload to Server

Upload the extracted folder to your server's resources directory:

Text
server/└── resources/    └── [ps]/        ├── ps-gangmdt/        ├── ps-territories/        └── ps-playershops/

Note

We recommend creating a [ps] folder to keep all Possible Scripts organized together.

Step 4: Install Dependencies

Most scripts require these common dependencies:

DependencyRequired For
ox_libUI notifications, callbacks
oxmysqlDatabase queries
ox_inventoryInventory integration

Install dependencies before the script in your server.cfg:

CFG
ensure oxmysqlensure ox_libensure ox_inventory
ensure [ps]

Step 5: Configure

  1. Open shared/config.lua or config.lua
  2. Read through all options
  3. Adjust settings to match your server
Lua
Config = {}
Config.Framework = 'qb-core' -- 'qb-core', 'qbox', 'esx'Config.Debug = false
-- Customize other options as needed

Step 6: Database Setup

If the script requires database tables:

  1. Locate the SQL file (usually install.sql or in a sql/ folder)
  2. Run the SQL in your database
  3. Verify tables were created
SQL
-- Example: Check if tables existSHOW TABLES LIKE 'ps_%';

Step 7: Start the Resource

Add to your server.cfg and restart:

CFG
ensure ps-scriptname

Or use the console:

Text
refreshensure ps-scriptname

Verification

After installation, verify everything is working:

  1. Check server console for errors
  2. Look for the startup message
  3. Test basic functionality in-game

Updating Scripts

To update a script:

  1. Backup your current config
  2. Download the new version
  3. Replace files (keep your config)
  4. Check the changelog for config changes
  5. Restart the resource

Warning

Always backup your configuration before updating. New versions may have config changes.

Next Steps

JDB-NET Logo
Partner Service

Self-hosted unlimited logs with managed Grafana

JDB-NET provides a self-hosted solution with unlimited logs, a fully managed Grafana instance, and unlimited users. Perfect for FiveM servers that need comprehensive logging and monitoring.

Check out JDB-NET