免费插件

No Engine Parts

无发动机零件

允许模块化汽车在没有发动机部件的情况下行驶

vehiclecarengine

原作者:WhiteThunder · 查看 uMod 官方页面 ↗

插件介绍

允许模块化汽车在没有发动机部件的情况下行驶

The main feature of this plugin is to allow modular car engines to function without engine parts. This is appropriate for several use cases.

All use cases can be applied globally to all cars, and/or to cars owned by players with permissions. For example, you can make unowned cars slow, owned cars equivalent to low quality engine parts, VIP cars equivalent to high quality engine parts, and give admin cars super speed.

Note: Cars still need fuel and engine modules to be driven. Changing that is out of scope for this plugin.

The main criticism of this plugin has been that players will not necessarily realize that a car can be driven if the engine modules appear empty. To address this, the Auto Engine Parts plugin automatically fills engine modules with parts and also prevents players from removing them.

主要用途

主要用于vehicle、car、engine等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v1.0.1,uMod 累计下载 5,043 次。

适用场景

  • 希望扩展原版服务器功能的服主

功能分类

vehiclecarengine
查看 uMod 官方英文简介

Allows modular cars to be driven without engine parts

权限节点

Each entry in the PresetsRequiringPermission configuration option automatically generates a permission of format noengineparts.preset.<name>. Granting one to a player will cause cars they own to use the corresponding engine part stats as a minimum. Granting multiple permissions to a player will cause only the last one to apply (based on the order in the config).

The following permissions come with this plugin's default configuration.

noengineparts.preset.tier1

Equivalent to low quality engine parts

noengineparts.preset.tier2

Equivalent to medium quality engine parts

noengineparts.preset.tier3

Equivalent to high quality engine parts

noengineparts.preset.tier4

Higher quality

noengineparts.preset.tier5

Even higher quality

noengineparts.preset.tier6

Extremely high quality

There is no such thing as car ownership in the vanilla Rust. You will need another plugin to assign ownership to cars in order for the permissions in this plugin to be effective.

Car ownership is determined by the OwnerID property of the car, which is usually a player's Steam ID, or 0 for no owner. Most plugins that spawn cars for a player (such as Craft Car Chassis and Spawn Modular Car) will assign that player as the owner. For cars spawned by the vanilla game, it's recommended to use Claim Vehicle to allow players to claim them with a command on cooldown.

授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke

配置说明

Default configuration:

{ "DefaultPreset": { "Acceleration": 0.3, "TopSpeed": 0.3, "FuelEconomy": 0.3 }, "PresetsRequiringPermission": [ { "Name": "tier1", "Acceleration": 0.6, "TopSpeed": 0.6, "FuelEconomy": 0.6 }, { "Name": "tier2", "Acceleration": 0.8, "TopSpeed": 0.8, "FuelEconomy": 0.8 }, { "Name": "tier3", "Acceleration": 1.0, "TopSpeed": 1.0, "FuelEconomy": 1.0 }, { "Name": "tier4", "Acceleration": 2.0, "TopSpeed": 2.0, "FuelEconomy": 2.0 }, { "Name": "tier5", "Acceleration": 3.0, "TopSpeed": 3.0, "FuelEconomy": 3.0 }, { "Name": "tier6", "Acceleration": 4.0, "TopSpeed": 4.0, "FuelEconomy": 4.0 } ] }

In vanilla Rust, each engine part provides one or more stats, such as Acceleration, Top Speed and Fuel Economy. Each part provides the same value for all applicable stats, either 0.6 (low quality), 0.8 (medium quality) or 1.0 (high quality). This plugin applies the configured stats as essentially a minimum per engine part slot. This means that if an engine part is missing, these values will be used in its place, for whichever stat types the part would normally provide. If an engine part is present, either the part's vanilla stats or the configured stats will be used, whichever are higher (can be a combination of both).

For example, if you set all stats to 0.7, an empty Carburetor slot will provide 0.7 Top Speed and 0.7 Fuel Economy. Adding a low quality Carburetor will have no effect because it only has those stats at 0.6. However, adding a medium quality Carburetor will be an upgrade since it provides 0.8 for both stats.

DefaultPreset

These stats apply to all cars, except for those owned by players with permissions to any entries in PresetsRequiringPermission.Acceleration -- Not sure exactly what this affects. Doesn't seem to affect acceleration very much.TopSpeed -- Affects acceleration and top speed. Higher means faster.FuelEconomy -- Affects fuel consumption. Higher means less fuel is consumed (more efficient).

PresetsRequiringPermission

List of engine part stat configurations for use with permissions. A permission is automatically generated for each entry using the format noengineparts.preset.<name>. Granting one to a player will cause cars they own to use the configured stats as a minimum per engine part slot.Note: These configurations have the same options as the DefaultPreset configuration option.

Acceleration

Not sure exactly what this affects. Doesn't seem to affect acceleration very much.

TopSpeed

Affects acceleration and top speed. Higher means faster.

FuelEconomy

Affects fuel consumption. Higher means less fuel is consumed (more efficient).

Note: These configurations have the same options as the DefaultPreset configuration option.

Note: Due to the way the game calculates engine power, increasing the engine stats beyond a certain point will actually cause engines to perform worse. For example, setting stats to 100 will cause the car to basically not move at all. The optimal stats will depend on how many engines a car has.

官方配置示例

{
  "DefaultPreset": {
    "Acceleration": 0.3,
    "TopSpeed": 0.3,
    "FuelEconomy": 0.3
  },
  "PresetsRequiringPermission": [
    {
      "Name": "tier1",
      "Acceleration": 0.6,
      "TopSpeed": 0.6,
      "FuelEconomy": 0.6
    },
    {
      "Name": "tier2",
      "Acceleration": 0.8,
      "TopSpeed": 0.8,
      "FuelEconomy": 0.8
    },
    {
      "Name": "tier3",
      "Acceleration": 1.0,
      "TopSpeed": 1.0,
      "FuelEconomy": 1.0
    },
    {
      "Name": "tier4",
      "Acceleration": 2.0,
      "TopSpeed": 2.0,
      "FuelEconomy": 2.0
    },
    {
      "Name": "tier5",
      "Acceleration": 3.0,
      "TopSpeed": 3.0,
      "FuelEconomy": 3.0
    },
    {
      "Name": "tier6",
      "Acceleration": 4.0,
      "TopSpeed": 4.0,
      "FuelEconomy": 4.0
    }
  ]
}
object OnEngineLoadoutOverride(EngineStorage engineStorage)

更新日志

最新版本: v1.0.1
最后版本发布: 2023-06-03
最后更新(条目): 2026-07-18

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。