PoisonCode Docs
TebexDiscordYoutube
  • SCRIPTS
    • 💡pc_collections
      • ✨Features
      • 🖥️Installation & dependencies
      • 🛠️Exports & events
      • ⚙️Open files preview
      • 🔧Tutorials
      • 📥Updates
        • 🤔How to update
        • 🔌Version compatibility
    • 💎pc_organizations
      • ✨Features
      • 🖥️Installation & dependencies
      • 🛠️Exports & events
      • ⚙️Open files preview
      • 🔧Tutorials
      • 📥Updates
        • 🤔How to update
        • 🔌Version compatibility
    • 💡pc_skills
      • ✨Features
      • 🖥️Installation & dependencies
      • 🛠️Exports & events
      • ⚙️Open files preview
      • 🔧Tutorials
      • 📥Updates
        • 🤔How to update
    • 📦pc_airdrop
      • ✨Features
      • 🖥️Installation & dependencies
      • ⚙️Open files preview
      • 🔧Tutorials
      • 📥Updates
        • 🤔How to update
    • 💬pc_notifications
      • ✨Features
      • 🖥️Installation & dependencies
      • 🕹️Usage
Powered by GitBook
On this page
  • Dependencies & integrations
  • Installing the resource

Was this helpful?

  1. SCRIPTS
  2. pc_collections

Installation & dependencies

Quick installation guide for this resource

PreviousFeaturesNextExports & events

Last updated 4 months ago

Was this helpful?

Beginner friendly

You don't need to be an experienced developer to use this resource, however to get the most out of it, basic knowledge of lua and scripts configuration is very useful.

Dependencies & integrations

This script interacts with some other resources:

Resource
Recommended version
Required

• ESX: 1.6.0+ • QBCore: 1.2.6+ • QBox: 1.22.3+ •

Yes

2.12.0+

2.38.1+

1.1

1.0

*- Limiting how many times players can claim given collection is still possible without oxmysql, data will be saved in a .json file on server.

**- If you have ox_inventory, item icons will be downloaded automatically, if not you'll have to add them manually, see .

***- Using pc_skills is recommended for the best functionality, it gives an option to lock some collections until player reches given level, and awarding xp for claiming collections.

****- pc_notifications is integrated by default. You can use any notifications system, but you will have to add it in utils "Recommended version" only tells you what version of the resource has been tested, other versions (including older ones) will likely work as well.

Installing the resource

1

Add the resource to your server

Upload the file into your resources folder

Load database.sql into your database (Optional)

Add the script by adding following to the server.cfg: ensure pc_collections

2

Restart your server

Restart the server for the change to take effect and check for any errors

One of supported frameworks: • ESX: • QBCore: • QBox: • OX:

💡
🖥️
tutorials
es_extended
qb-core
qbx_core
ox_core
oxmysql
ox_inventory
pc_skills
pc_notifications