Installation

Step-by-step guide to install the Multiplayer Scrapyard Job on your FiveM server.


Prerequisites

Before installing, make sure you have:

Requirement
Description

Framework

QBCore, QBox, ESX, vRP, or Standalone

Database Resource

oxmysql (recommended), mysql-async, or ghmattimysql

PolyZone

Required for all Tworst Scripts

FiveM Server

Build 2802 or higher recommended


Step 1: Download the Script

  1. Navigate to Granted Assets

  2. Find tw-scrapyard in your purchased scripts

  3. Click Download to get the latest version

From Tebex

  1. Log in to your Tebex account

  2. Go to your purchases

  3. Download the script package


Step 2: Extract Files

  1. Extract the downloaded archive

  2. You will find two folders:

    • tw-scrapyard - Main script

    • tw_scrapyard_stream - Stream assets (maps, props, vehicles)

  3. Place both folders in your server's resources directory

triangle-exclamation

Step 3: Database Setup

circle-check

If Automatic Setup Fails

In rare cases where automatic creation fails, you can manually import:

  1. Find insert.sql in the script folder (if available)

  2. Import it using HeidiSQL, phpMyAdmin, or command line


Step 4: Add Items to Inventory

For QBCore / QBox

Add these items to qb-core/shared/items.lua:

For ox_inventory

Add these items to ox_inventory/data/items.lua:

Item Images

Copy the item images from tw-scrapyard/ITEM/ folder to your inventory's image folder:

  • QBCore: qb-inventory/html/images/

  • ox_inventory: ox_inventory/web/images/


Step 5: Configure the Script

Open config/config.lua and set your framework:

circle-info

QBox Users: Set Config.Framework = 'qb' - QBox is fully compatible with the 'qb' setting.

See the Configuration page for all available options.


Step 6: Configure Database Resource

Make sure this line is in your fxmanifest.lua:

For mysql-async

Uncomment the mysql-async line and comment out oxmysql:


Step 7: Add to server.cfg

Add the following to your server.cfg:

circle-exclamation

Step 8: Restart Server

  1. Save all configuration changes

  2. Restart your server completely

  3. Check the server console for any errors


Verification

After starting the server, verify the installation:

Check Console

Look for these messages in your server console:

  • Database tables created successfully (first run only)

  • No error messages related to tw-scrapyard

In-Game Test

  1. Go to the scrapyard location (default: El Burro Heights)

  2. Look for the job blip on the map

  3. Interact with the NPC to open the job menu

  4. Create a lobby and start a job


File Structure


Troubleshooting

Script Won't Start

  1. Check resource name is exactly tw-scrapyard (case-sensitive on Linux)

  2. Verify all dependencies are started before the script

  3. Check for syntax errors in config files

Missing Props / Invisible Location

  1. Make sure tw_scrapyard_stream is in your resources folder

  2. Verify it's started in your server.cfg

  3. Check the server console for streaming errors

  4. The stream folder must contain .ydr, .yft, and .ytd files

Database Errors

  1. Verify database connection string in server.cfg

  2. Check that your database resource is starting properly

  3. Ensure Config.SQL matches your database resource

Framework Not Detected

  1. Make sure Config.Framework matches your framework

  2. Verify framework resource is starting before tw-scrapyard

  3. Check framework resource name matches expected names

Items Not Working

  1. Verify items are added to your inventory system

  2. Check item names match exactly (case-sensitive)

  3. Restart both the inventory resource and tw-scrapyard


Need Help?

circle-info

Having installation issues? Join our Discord serverarrow-up-right and open a support ticket with:

  • Server console errors

  • Your Config.Framework and Config.SQL settings

  • Screenshots of any issues

Last updated