Collector Script Overview (VORP Framework)
This script creates an excavation system in RedM where players can interact with randomly placed dig points throughout the world and earn rewards by uncovering hidden items. Every time the server starts, a new set of random excavation points is selected, and players can dig at these locations to collect rewards. Once a player digs at a specific point, that location is recorded in the database, preventing the player from digging at the same spot again. However, when the server is restarted or the script is reloaded, these dig records are reset, allowing the same locations to be excavated again.
A key feature is that players cannot dig at the same point again even if they leave and rejoin the game. The script uses an SQL database to track each player’s digging attempts and ensures that they can't dig in the same place multiple times without a server restart.
The number and location of the excavation points are fully customizable. You can add new routes, modify existing ones, or delete locations based on your server's needs. The script saves excavation point coordinates in the database, which can be adjusted through SQL. The reward system is also fully configurable, allowing you to define what kind of rewards players will find at each dig site.
This script is compatible with the VORP framework, integrating with its system for managing player interactions, rewards, and tracking excavation points. Additionally, it supports multiple languages, allowing for a localized experience for your players.
Features:
This script requires the VORP framework to function properly, ensuring full integration with inventory and interaction systems.
Youtube Link: https://www.youtube.com/watch?v=iHFRYkoEYcI