Livestock Love
Livestock Love is a fully customizable Rust plugin that lets players safely interact with, pet, and feed farm animals! Bring a little warmth to your base's ranch or farm while helping your livestock recover from damage.
When a player approaches an animal and presses their Reload key (R), their character plays a friendly wave animation, and the animal momentarily pauses to accept the love—instantly healing them and displaying a happy chat notification.
Features
Simple Interaction: Just look at any target livestock and press R to pet and feed them.
Synchronized Healing: Instantly restores health (configurable, defaults to +20 HP) to hurt animals.
Smart Interventions: Temporarily pauses the animal's movement so they don't wander off mid-interaction.
Per-Animal Cooldowns: Built-in anti-spam cooldown protection per player and animal.
Custom UI Chat Alerts: Integration with ImageLibrary to show a cute calf avatar right next to the plugin's chat messages.
Fully Customizable: Easily tweak heal amounts, cooldown timers, max petting distance, and chat colors directly inside your JSON config.
Commands & Interaction
Unlike traditional plugins that clutter the chat bar, Livestock Love keeps gameplay seamless with an intuitive hotkey control:
Press [R] (Reload Key): Look at a piece of livestock within petting range (3.5 meters by default) and press your reload key to pet, calm, and heal them.
Permissions
To prevent unauthorized players or stowaways from interacting with your farm animals, ensure you assign the correct permission:
livestocklove.use — Required for non-admin players to use the petting and feeding system.
(Note: Server Administrators bypass this permission check automatically).
Supported Animals
The plugin automatically detects and interacts with the following short prefab types:
Cows & Bulls
Calves & Lambs
Sheep & Rams
Horses
Chickens
Configuration File (/oxide/config/LivestockPetting.json)
When the plugin is loaded for the first time, a configuration file will be generated automatically. You can modify these values to customize the experience to fit your server's style or economy.
Default Configuration
Quote{
"CooldownSeconds": 10.0,
"HealAmount": 20.0,
"MaxPetDistance": 3.5,
"ChatPrefixColor": "#FFB6C1",
"ChatPrefixName": "Livestock Love"
}
