Adds a working horn to boats that players can honk by pressing a button while steering. When activated, the horn plays a sound effect audible to nearby players, providing a way to signal, communicate, or just have fun on the water.
The horn includes a cooldown system to prevent spam, and only players with permission can use the feature.
Permissions
boathorn.use-- Allows the player to honk the boat horn while steering
Configuration
JSON:
{
"Version": "1.0.0",
"Input Button To Honk": "FIRE_PRIMARY",
"Horn Sound Effect": "assets/content/nexus/ferry/effects/nexus-ferry-departure-horn.prefab",
"Cooldown Between Honks (Seconds)": 3.0
}
Input Button To Honk-- Which button the player presses to honk. Default is FIRE_PRIMARY (left mouse). Other common options:FIRE_SECONDARY(right mouse),FIRE_THIRD(middle mouse),RELOAD,USE,SPRINT,JUMP, DUCKHorn Sound Effect-- The prefab path for the sound effect that plays when honking. Default uses the Nexus Ferry departure horn soundCooldown Between Honks-- Minimum time in seconds between honks. Prevents spam and sets how often players can honk
Available Button Options
TheInput Button To Honk setting accepts any valid Rust BUTTON enum value. Common options include:FIRE_PRIMARY-- Left mouse button (default)FIRE_SECONDARY-- Right mouse buttonFIRE_THIRD-- Middle mouse buttonRELOAD-- R keyUSE-- E keySPRINT-- Shift keyJUMP-- Space barDUCK-- Ctrl key
Sound Effect Paths
The default horn uses the ferry sound:assets/content/nexus/ferry/effects/nexus-ferry-departure-horn.prefabYou can use any valid sound effect prefab from the Rust game files. The sound plays at the boat's position and can be heard by nearby players.
For a complete list of available sound effects and other effects in Rust, see the Rust Effects Documentation.
Localization
JSON:
{
"Error.Cooldown": "Horn on cooldown, {0} remaining."
}
Related Plugins
- Bike Horn -- Adds the same horn functionality to motorbikes, sidecars, and pedal bikes.
