DH Sunken Ships β QBCore Diving & Treasure System
Dynamic underwater treasure hunting events with loot chests and a lockpicking minigame.
π Overview
DH Sunken Ships is a fully dynamic underwater treasure-hunting system designed for QBCore servers. Periodically, a sunken shipwreck site becomes active somewhere off the coast, spawning multiple treasure chests on the seabed for players to discover and loot.
Players must dive underwater, locate chests, and successfully complete a lockpicking minigame to claim rewards β ranging from common valuables to ultra-rare legendary items.
This is NOT a static dive spot or one-time map marker.Β DH Sunken Ships was built with:
β Rotating global events
β Server-controlled chest spawning
β Underwater sinking chest animations
β Lockpick-based minigame interaction
β Tiered loot system
β Global sync for all players
β Full cleanup and reset handling
Perfect for diving gameplay, treasure hunters, criminal RP, or high-risk/high-reward PvE content.
β¨ Key Features
β Dynamic Sunken Treasure Events: Treasure sites rotate automatically on a timed interval and only run while players are online.
β Multiple Treasure Chests per Site: Each event spawns a random number of chests scattered around the wreck site.
β Immersive Underwater Spawning: Chests visibly sink down to the seabed instead of popping into place.
β Lockpick Minigame: Players must use an advanced lockpick and complete a skill-based minigame to open chests.
β Tiered Loot System: Loot rolls include Common, Uncommon, Rare, Epic, and Legendary rewards with configurable chances.
β Global Sync: All players see the same active site and chest states in real time.
β Automatic Cleanup: Chests and blips are removed cleanly when events end or chests are looted.
β Admin Controls: Includes an admin command to manually start a new event for testing or events.
π For License Owners
You are allowed to:
β Edit, customize, and expand the script
β Modify client/server logic for your serverβs needs
You may NOT:
β Resell, redistribute, or repackage this script
β Share the script files with others
β Upload the script to GitHub or other repositories
β Sell modified versions
β Claim authorship of this script