FunDung
Composters auto collect dung and change horse settings, Also allow horses to pop seeds from the food they eat.
# FunDung
FunDung adds configurable horse dung mechanics to Rust, including automatic dung collection and additional food-consumption drops.
Features
- Configurable horse dung production
- Automatic dung collection into nearby composters
- Permission-based automatic collection
- Tugboat horse support
- Configurable composter search radius
- Horses can spit out seeds, bones, cans, and other food-consumption products
- Configurable despawn time for dropped items
- Configurable dung amount per drop
- Configurable horse digestion rate
- Configurable dung production per calorie
- Configurable dung collection effects
- Admin commands to manually trigger dung production
- Restores original horse settings when unloaded
Permission
FunDung.Auto
Players with this permission can have their owned composters automatically receive dung from nearby horses.
Commands
Force Nearby Horses
/forcedung
Forces all horses within 20 metres of the admin using the command to produce dung.
Force All Horses
dodung
Console command that forces all tracked horses on the server to produce dung.
Automatic Dung Collection
When enabled, FunDung searches for the closest available composter within the configured radius.
The composter must not be full and must be owned by a player with the FunDung.Auto permission.
If no suitable composter is found, the dung drops normally beside the horse.
Horse Food Drops
When enabled, horses can spit out the normal output items associated with the food they consume, including seeds, bones, cans, and other configured consumables.
Dropped items use the configured despawn delay.
Tugboat Support
Horses on Tugboats are supported. FunDung checks the Tugboat's attached entities for a suitable composter.
Configuration
| Setting | Description |
|---|---|
| SpitSeeds | Horses spit out food-consumption products |
| SpitSeedsDecay | Despawn delay for dropped items in seconds |
| AutoCollectEnabled | Enable automatic dung collection |
| DungAmount | Amount of dung produced per drop |
| CaloriesToDigestPerHour | Calories digested by horses per hour |
| DungProducedPerCalorie | Dung produced per calorie |
| ComposterRadius | Distance searched for composters |
| Effects | Effects played when dung is automatically collected |
Installation
1. Download FunDung.cs
2. Place it in your oxide/plugins folder
3. Reload the plugin or restart your server
4. Configure oxide/config/FunDung.json
5. Grant FunDung.Auto to players who should have automatic dung collection
