⛏️ Pogue Collector Script for RedM
Welcome to the Pogue Excavation Script, a fully interactive digging system designed to enhance your RedM roleplay server!
💬 Support
📜 Overview
The Pogue Excavation Script offers a dynamic and engaging treasure-hunting experience. Players can dig at random excavation points, discover rewards, and enjoy a replayable mechanic that resets after server restarts.
✨ Key Features
🔍 Random Excavation Points
A random group of excavation points is loaded every time the server starts.
Keeps the gameplay fresh and unpredictable.
🤝 Player Interaction
Players can approach excavation points, dig for treasures, and earn rewards.
🎁 Reward System
Configurable rewards are found at excavation sites and can be added directly to the player’s inventory.
💾 Database Integration
Tracks digging attempts to prevent players from re-digging the same location.
Records reset upon server restart or script reload, allowing players to revisit areas.
🌍 Configurable Language Support
Customize the script’s language for a localized experience via the configuration file.
🛠️ SQL Support
SQL tables track player excavation data and manage digging locations dynamically.
🔧 Installation Instructions
1. Add the Script to Your Server
Place the script in your RedM resources folder.
Add the following line to your
server.cfg
file:ensure pogue_collector
2. Set Up the Database
Run the provided
pogue_collector.sql
file to create the following tables:Locations Table (
dig_locations
): Stores coordinates of excavation points.Excavation Records Table (
player_digs
): Tracks which players have dug at which locations.
Load 7 different excavation routes by running the
add_location.sql
file. Each route contains 15 excavation points.Modify, delete, or add custom locations in the
dig_locations
table as needed.
3. Add Rewards
Run the
items.sql
file to load reward items into the server.Place the reward images from the img folder into your
vorp_inventory/html/img/items
directory.
4. Configure Settings
Open the config.lua file to customize:
Language options.
Minimum digging distance.
Additional customizable settings.
5. Inventory Setup
Add the configured reward items to your inventory system (e.g., VORP Inventory).
🛠️ Requirements
VORP Framework: Ensure
vorp_core
andvorp_inventory
are installed and functional.
🎮 How It Works
1. Random Excavation Points
At every server restart, a random group of excavation points is loaded, keeping the experience dynamic.
2. Player Interaction
Players approach excavation points, dig, and collect rewards.
3. Rewards
Rewards are configurable in the
config.lua
and linked to the SQL setup for seamless integration.
4. Database Tracking
Player digging attempts are tracked in the database to prevent re-digging at the same location.
Records reset when the server restarts or the script reloads, allowing re-digging of the same areas.
📋 Special Considerations
🛠️ Customization
Modify reward items and digging locations via the
dig_locations
SQL table.
📋 Player Tracking
Players are restricted from re-digging the same location until records reset upon server restarts or reloads.
This script is designed to bring adventure, fun, and replayability to your RedM server. For support or additional resources, join our Discord or visit our Tebex store.
Enjoy the Pogue Excavation Script and happy digging! 🚀
Last updated