[Release] [ESX] Collectables

UPDATE

This has been completely rewritten with major optimization, fixes, new additions and the ESX dependency removed:


Enables collectable items on your server.

Features

  • Enable hidden collectables from the single player experience (Letter Scraps, Spaceship Parts, etc)
  • Enable players to earn money for finding and completing collectables
  • Menu to track progress of quests
  • Allow players to reset quest progress
  • Add your own custom collectables

Requirements

Download

Installation

  • Download the latest release
  • Extract and rename the directory to esx_collectables
  • Drop the esx_collectables directory into the [esx] directory on your server
  • Import esx_collectables.sql into to your database
  • Add start esx_collectables in your server.cfg
  • Edit config.lua to your liking
  • Start your server and rejoice!

Further documentation can be found on the GitHub page.

Other Releases

17 Likes

Awesome script! Any way to hide the map blips and UI on the left side of the screen?

2 Likes

Set Config.Debug to false in config.lua. It should already be false, but I must’ve left it enabled when pushing the latest commit.

So what can they do with them after collecting?

Could you share your hud?

Adding a reward like cash for finding them like singleplayer would be awesome <3

1 Like

I delete my server and then this incredible script

New Release - v1.0.6

Download

Changes

  • Added cash rewards for collecting and completing items
  • Reduce default draw distance

Fixes

  • Fixed SQL statement updating all players instead of current
2 Likes

Nice one

Perfect on the last release, much appreciated, quite fun if your a horder =)

1 Like

New Release - v1.0.7

Download

Changes

  • Added menu to track progress
  • Added ability to reset progress (resets earnings to prevent money exploit)

Fixes

  • Replace player / item collision detection with distance check - fixes certain collectables being unattainable
1 Like

For some reason it updates all the rows in my database

There was an incorrect SQL statement in v1.0.5 and below that caused this issue. Are you using the latest version?

Why can’t some players see the collectible items?

I assume there is a reward for collecting them all? I like the idea though

help, i cant see blips on map but i need them

Blips only show in debug mode.

You can set rewards per-item and for completing a group of items.

Sounds good. Good job

what is debug mode?