Skip to content

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.

Herbs V2 in game
Herbs V2 in game β€” Show collection, the blip and the awarded items notification.
Herbs V2 video
Herbs V2 video β€” Cover of the dedicated V2 YouTube video.

RZ shop

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 ​

  1. Download your package from the Cfx.re Portal.
  2. Put rz_herbs in your resources directory without renaming it.
  3. Start your core, inventory and oxmysql before Herbs. VORP is the default integration; change it through the public bridges.
  4. Add to your server.cfg:
cfg
ensure oxmysql
ensure vorp_core
ensure vorp_inventory
ensure rz_herbs

You need RedM with OneSync and a working database connection for oxmysql.

First start
First start β€” Show Herbs in the RZ menu's script list.

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.

MENU GUIDE β†’

General ​

BoxSettings
BaseGameplay text language, script enabled, debug
PlantsHorseback collection, additional effects, rendering distance and respawn time
Global blipsVisibility, icon and color
Discord logsWebhook 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.

General settings
General settings β€” Show Base, Plants and Global blips.

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.

A customized plant
A customized plant β€” Show Yarrow with a custom blip and an inherited setting.

Rewards ​

Rewards are empty by default: choose your inventory items.

  1. Open a plant β†’ Collection rewards.
  2. Select an item, minimum/maximum quantity and chance; add the row.
  3. 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.

Multiple rewards
Multiple rewards β€” Show two items with quantities and chances.

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 ​

  1. Open Positions and create a group with a recognizable name.
  2. Set its group chance and add plants; confirm each choice.
  3. Capture positions in game where plants should appear. Move or remove them as needed.
Plant group
Plant group β€” Show two plant choices with chances and several positions.

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.

Consumption effect
Consumption effect β€” Show an edible plant's effect setting and help.

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.

In-game notifications
In-game notifications β€” Show collection with several items and a message after eating.

Editable files ​

FilePurpose
public/bridge_server.luaAdapt frameworks and inventories other than VORP
public/bridge_client.luaChange the notification system
public/eateffects.luaConnect effects from other scripts
public/notifications.luaChange notification wording

BRIDGE GUIDE β†’

Interaction logs ​

In General β†’ Discord logs, enter your webhook and enable Herbs logs to record collection and eating.

Herbs log
Herbs log β€” Show script, plant and interaction outcome. Blur personal identifiers.

Script documentation Β· RZ

RZ SUPPORT

Let’s figure it out.

Installation, configuration or a question before buying? Start here.

01
Read the guidesInstallation and step-by-step settings.
β†—
02
Open a ticket on DiscordJoin our server, then open a support ticket.
β†—

Describe the issue and include your script version. The team will reply in your ticket.