Too Heavy To Fly

Too Heavy To Fly 1.0.0

Prevents players from flying helicopters while wearing heavy armor
This Rust plugin prevents players from flying or even mounting helicopters while wearing heavy armor or other restricted items. It keeps flight balanced and realistic by enforcing weight limits on pilots and passengers. Players also can't re-equip blocked clothing while already mounted.





Permissions

  • tooheavytofly.bypass - Allows the player to ignore all weight restrictions and mount vehicles freely.

Configuration

JSON:
{
  "Version": "1.0.0",
  "Vehicles Affected By Weight Check (short prefab names": [
    "minicopter.entity",
    "scraptransporthelicopter",
    "attackhelicopter.entity"
  ],
  "Blocked Wear Items (shortnames)": [
    "heavy.plate.helmet",
    "heavy.plate.jacket",
    "heavy.plate.pants"
  ],
  "Require All Listed Wear Items To Block (true = must wear all; false = any listed item blocks)": false
}
  • Vehicles Affected By Weight Check - List of vehicle short prefab names that will be checked when a player tries to mount them.
  • Blocked Wear Items - List of clothing item shortnames that are considered too heavy for flight.
  • Require All Listed Wear Items To Block - If true, the player must be wearing all listed items to be blocked; if false, wearing any one of them is enough.

Localization

JSON:
{
  "Warn.MountRestrictedItems": "Mount blocked. Remove these items before mounting:\n{0}",
  "Warn.CannotEquipRestrictedWhileMounted": "Equip blocked while mounted on this vehicle:\n{0}"
}
Author
VisEntities
License duration
Unlimited
Price
7.99 USD
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