Installation

Follow the steps

Requirements

Make sure you have the following installed:


Install Steps

1

Download

Download the resource and extract it to your resources folder

2

Database

Import the database tables:

sql/collectables.sql
3

Add

Add to your server.cfg:

start mad_collectables
4

Configuration

Adjust settings in the config files to your liking:

  • config/shared.lua - Debug, Sounds, Animations

  • config/client.lua - UI Settings, Keybinds

  • config/server.lua - Collectable sets, Commands, Leaderboard, Rewards, Logging

5

Optional

Add the stickerbook item to your inventory


Inventory Item Setup

The stickerbook item lets players open the collectables UI from their inventory.

ox_inventory

Add to your items file:

["mad_collectables_stickerbook"] = {
    label = "Collectables Stickerbook",
    weight = 100,
    client = {
        export = "mad_collectables.openUI",
    },
},

qb-inventory

Add to your shared items:

Item Image

An image for the inventory item is included in the INSTALL/ folder:

Copy this to your inventory's images folder.

Last updated