PixelCraft Official Docs
  • Welcome
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Assets and Guides
    • PC-Crafting-V2
      • Installation
      • Configuration
        • Inventory System
        • Core Framework
        • Language
        • EXP Enabled
        • Whitelisting Players
        • Whitelisted Admins
        • Weapon Damage Multipliers
        • Weapon Parts Configuration
        • Crafting & Repair Experience
        • Crafting Locations
        • Database Setup
        • Custom Weapons
        • Crafting Recipes
        • Attachments
      • Troubleshooting
      • Commands
      • Support
    • PC-Security
      • Installation
      • Configuration
        • Job Routes
        • Level Thresholds
        • Level-Specific Configurations
        • Damage Threshold
        • Police Alert
        • Security Shop Items
        • Criminal Rewards
        • Blips
      • Support
Powered by GitBook
On this page
  1. Assets and Guides
  2. PC-Crafting-V2

Installation

  • Download the Resource: Download the PC-crafting-v2 resource files from your fivem keymaster.

  • Extract the Files: Extract the contents of the downloaded archive to your FiveM server's resources folder.

  • Upload database: Run the given sql files in your server's database.

  • Items : Add the given items in the v2 items file to your server's items folder(qb-core/shared/items.lua for qbcore and data/items.lua for ox-inventory)

  • Images: Add Items images to the images folder of your inventory.

  • Transfer the related data files from data-esx-qbox or data-qb folder into data folder according to your framework

  • If you use qb-weapons specifically, add this code to the main.lua file on client side :

exports('getCurrentWeapon', function()
    if not LocalPlayer.state.isLoggedIn then
        return nil
    end
    if not CurrentWeaponData then
        return 'weapon_unarmed'
    end
    return CurrentWeaponData
end)
  • Add to Server.cfg: Add the following line to your server's server.cfg file to ensure the resource starts automatically.

start pc-crafting-v2
PreviousPC-Crafting-V2NextConfiguration

Last updated 3 months ago