Herbs V2 β
Paid edition Β· RedM Β· VORP by default, customizable
Collect plants, choose rewards and create your gathering areas. You do not need to be a developer to configure Herbs: with VORP, manage the main settings through the in-game menu using this guide. To change framework or add effects from other scripts, see the editable files and dedicated guides below.


Overview β
- 41 plant types, with customizable names, blips and rewards.
- Global or per-plant settings for blips, horseback collection, respawn and supported consumption effects, within RedM's native limits. Some plants cannot be eaten; Saltbush only allows eating.
- Groups with multiple positions and plant choices based on probabilities.
- Positions and groups already supplied as in V1; edit them or add more in game.
Performance and shared gameplay β
Joining players see the current plant state. When someone collects or eats a plant, other players receive the update; the same available plant does not award collection to two players at once.
Low resmon: in the author's test among 41 plants, the highest observed value was 0.02 ms. This is the result of that test, not a guaranteed limit for every server.
Installation β
- Download your package from the Cfx.re Portal.
- Put
rz_herbsin your resources directory without renaming it. - Start your core, inventory and
oxmysqlbefore Herbs. VORP is the default integration; change it through the public bridges. - Add to your
server.cfg:
ensure oxmysql
ensure vorp_core
ensure vorp_inventory
ensure rz_herbsYou need RedM with OneSync and a working database connection for oxmysql.

Moving from V1 β
Stop V1 and remove it from active resources; move it elsewhere if you want to keep a copy. Replace it with V2 named rz_herbs: the two editions cannot run together.
V2 needs configuring: starting groups and coordinates already match V1, but your personal changes are not imported. Choose rewards and adjust settings in game. You can use items already in your inventory.
Menu β
Open /rz β Herbs for this script's settings.
General β
| Box | Settings |
|---|---|
| Base | Gameplay text language, script enabled, debug |
| Plants | Horseback collection, additional effects, rendering distance and respawn time |
| Global blips | Visibility, icon and color |
| Discord logs | Webhook and collection/eating logs enabled |
Rendering distance ranges from 5 to 100; respawn from 1 to 1440 minutes. Debug is for troubleshooting. Additional effects are off by default.

Global or custom β
Plants follow global settings by default. Choose Custom to make an exception. Example: blips off for all plants, but on for Yarrow. Use global for all removes exceptions for that setting.
Plants β
Select or search for a plant to change its name, blip, horseback collection, respawn and rewards. The effects box only appears for edible plants.

Rewards β
Rewards are empty by default: choose your inventory items.
- Open a plant β Collection rewards.
- Select an item, minimum/maximum quantity and chance; add the row.
- Repeat for any other rewards.
Each reward has an independent chance: two at 50% can give neither, one or both. A 100% chance does not bypass inventory limits. The notification lists items actually received.
No item received?
Check configured rewards, the exact item name and inventory capacity/limits. A plant is still collected even without rewards.

Optional plant items β VORP β
To add plant items, you can run public/herbs-vorp.sql in your database. This is optional: existing inventory items work too, and importing does not set up rewards for you. Instructions are in the SQL file and package README.
Positions and chances β
- Open Positions and create a group with a recognizable name.
- Set its group chance and add plants; confirm each choice.
- Capture positions in game where plants should appear. Move or remove them as needed.

How chances work β
Group: chance that something spawns at each position, on startup and after collection. If the respawn roll fails, that point stays empty.
Plants: determine which plant is chosen when a position spawns one. Percentages adjust to your choices: values of 1 and 3 mean 25% and 75%.
For fixed points with one plant: set the group to 100%, add one plant and your positions.
Consumption effects β
In public/eateffects.lua, add functions from other scripts for hunger, thirst, stress or your preferred effects. There is a function for each edible plant: insert your system's call and enable the effect in the menu.
The setting enables additional effects, not RedM's native Eat prompt. Herbs already sends the eating notification; do not duplicate it in the effect.

Notification wording β
Open public/notifications.lua and edit the quoted text in the English en or Italian it block. There are no placeholders to manage: names and quantities are added automatically.
For example, changing found = "You found:" can show βYou found: x1 Yarrowβ. The found_suffix and eaten_suffix fields only add final punctuation and can stay empty.
Save the file and restart only rz_herbs. To replace the notification system, follow the dedicated guide.

Editable files β
| File | Purpose |
|---|---|
public/bridge_server.lua | Adapt frameworks and inventories other than VORP |
public/bridge_client.lua | Change the notification system |
public/eateffects.lua | Connect effects from other scripts |
public/notifications.lua | Change notification wording |
Interaction logs β
In General β Discord logs, enter your webhook and enable Herbs logs to record collection and eating.

