Server-Synced Plant Harvesting System
This resource introduces a fully server-synced plant collection and harvesting system, ensuring that all players interact with the same plants. Unlike client-side spawns, where each player sees their own plants, this system enforces a global limit on available plants, encouraging competition and strategic control over resources. Gangs and groups can now fight for territory, making plant collection a contested activity.
Key Features
- Multiple Plants Different Plant Types (infinite amount of plant types can be added)
- **Multiple locations for one plant type
- Server-Synced Plants β Ensures all players interact with the same plant entities.
- Plant Limit β Only a set number of same type plants can be exist at a time, promoting competition.
- Player-Based Plant Amount β You can spawn a plant per player (can be configured,).
- Dynamic Spawn Cooldowns β Plants regenerate over time with configurable cooldowns.
- Dispatch Alerts β Optional system to notify authorities of illegal harvesting (function is on Config can work with all dispatches).
- Optimized Performanceβ
- Client: 0.0ms when idle, 0.1β0.7ms when in use (tested on Ryzen 7 6800H + RTX 3060 @ 3440x1440p).
- Server: 0.0ms or 0.1ms under load.
- Skill-Based Harvesting β Optional skill check system to determine success (can be disabled by players who hates skillchecks).
- Configurable Loot System β Rewards vary based on skill, luck, or predefined loot tables.
- Multiple Item Rewards β Harvesting can yield different types of items.
- Required Items for Harvesting β Enforce tool requirements (e.g., scissors, knives, or trowels).
- Debug Mode β Displays plant markers, IDs, types, objects, and coordinates.
Dependencies
- QBCore
- ox_target
- ox_lib
Customization & Compatibility
- ESX Support Available upon request (if there is demand).
- Alternative Targeting Systems can be added if requested.
This system is designed for seamless integration, ensuring a balanced and competitive plant collection experience with minimal performance impact.
CONFIG FEATURES
You can zoom into images if you open in a new tab
My other Resources
Kami-PopUps (Vehicle Backfire system)
KP-Electrician
KP-Pizza Delivery
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 700+ Client/ 200+ Server |
Requirements | QBCore + ox_lib + ox_target |
Support | Yes |