Join the Game4Freak Discord Get exclusive plugin sneak peeks, talk directly with VisEntities, never miss important updates, and unlock special discount codes!
Boat Horn

Boat Horn 1.0.0

Sign in to download
Allows players to honk while steering a boat

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, DUCK
  • Horn Sound Effect -- The prefab path for the sound effect that plays when honking. Default uses the Nexus Ferry departure horn sound
  • Cooldown Between Honks -- Minimum time in seconds between honks. Prevents spam and sets how often players can honk

Available Button Options

The Input Button To Honk setting accepts any valid Rust BUTTON enum value. Common options include:
  • FIRE_PRIMARY -- Left mouse button (default)
  • FIRE_SECONDARY -- Right mouse button
  • FIRE_THIRD -- Middle mouse button
  • RELOAD -- R key
  • USE -- E key
  • SPRINT -- Shift key
  • JUMP -- Space bar
  • DUCK -- Ctrl key

Sound Effect Paths

The default horn uses the ferry sound: assets/content/nexus/ferry/effects/nexus-ferry-departure-horn.prefab

You 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.
  • Like
Reactions: (Manky)sieve
Author
VisEntities
Downloads
4
First release
Last update

Ratings

0.00 star(s) 0 reviews

Also by VisEntities

Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart