This script is an extended version of my prospecting script that you can download here.
Video showcase:
Price: €24.99 (excl. taxes)
Tebex for ESX version: https://r3ps4j-fivem.tebex.io/package/4543937
Tebex for QBCore version: https://r3ps4j-fivem.tebex.io/package/4644931
Features
- There is an option in the config which makes the script compatible with older versions of ESX. (item limit based)
- There is also a seperate SQL file with item limits instead of weights.
- Items found come in your inventory
- Use a treasure map to generate a search area where you can find treasure
- Can’t use the detector outside of search area
- Search area only shows for person that opened the treasure map
- Animation
- Configurable notification type
Differences for the QBCore version:
- Seperate file with all the items used in the script to put into your shared.lua file instead of SQL.
- Uses the QBCore notify system instead of the configurable notification types.
- Images have been provided to drag and drop into the images folder of the inventory plugin.
How to use
Use the treasure map, a new area will then be marked on the map.
- Go to the marked area
- Use the detector item
- Walk around while paying attention to the scanner
- Locate and dig out treasure
You have to find a way to give players the detector item and the treasure map, it is the easiest to just add it to one of your stores but that’s up to you. I don’t recommend adding the treasure map to stores, maybe you can add it to home robberies or bank robberies. Keep in mind that you need to set up the items that can be dug up as well.
Configuration
This script offers a lot of customization through the configuration file.
- There is an option in the config which makes the script compatible with older versions of ESX. (item limit based)
- Change blip text, sprite and color
- Change area sprite, color and alpha (transparency)
- Change all items and their locations
- Change all locations highlighted by the treasure map
- Change notification type (ESX version only)
Dependencies
This script has some dependencies so make sure you install those as well.
ESX version:
- ESX or EXM
- Optional: mythic_notify (For mythic notify notifications)
- Optional: r3_pawnshop to sell items.
QBCore version:
This script does not use Asset Escrow and, just like all my other scripts, is not encrypted in any way. You will be able to access the entire source code when you buy this script and edit it to your liking or server needs.
Update 12-07-2021:
- Compatibility with older ESX versions has been added. This can be enabled in the config file. This option will make the script compatible with older ESX versions that use the limit system instead of the weight system.
- SQL file has been added to add the items to older ESX databases. Using the limit column instead of the weight column.
Update 22-08-2021:
- The script has been converted to QBCore!
- Seperate file with all items used by the script to copy into your shared.lua file.
- Images have been provided in this version to drag and drop into the images folder of the inventory plugin.
- Uses the QBCore notify system instead of the configurable notification types.
Tebex for the QBCore version: https://r3ps4j-fivem.tebex.io/package/4644931
Price is the same as the ESX version (€15.99 + tax).
Update 03-10-2021:
- Implemented better functionality for generating targets.
- Configuring at least one item location for each search area is no longer necessarily. (But still recommended)
These changes should improve the experience when lots of players are searching for treasure at the same time.
Update 05-12-2021:
- Updated GetObject loop/event to export.
- Added config option to switch back to GetObject event for older versions of QBCore.
Only on QBCore version
My other resources
If you like this resource, you might like some of my other work as well:
[ESX] [QBCORE] Food Delivery like Uber Eats
[ESX] [QBCORE] Location Items
[ESX] [QBCORE] Evidence Storage
[ESX] [QBCORE] Delivery job for different jobs