插件介绍
自动用玩家无法拆卸的发动机零件填充模块化汽车发动机
Engine parts will be automatically added to all existing engine modules. Any engine parts that were already present in engine modules will be dropped to the ground because players may have worked hard to obtain them.
If desired, you can make this plugin only apply to cars owned by players with permissions, and/or make such cars have higher quality parts than the default. Be sure to reload the plugin after granting permissions to automatically add engine parts to existing cars.
Default configuration (no engine parts are added):
You can ignore this section if you simply want all cars to have the same quality of engine parts.
主要用途
主要用于vehicle、car、engine、物品等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v1.0.1,uMod 累计下载 15,635 次。
适用场景
- 需要调整建造、物品、制作或采集体验的服务器
功能分类
查看 uMod 官方英文简介
Automatically fills modular car engines with engine parts which players cannot remove
权限节点
You can ignore this section if you simply want all cars to have the same quality of engine parts.
Cars owned by players with the following permissions will have their engine modules filled with the corresponding quality of engine parts.
autoengineparts.tier1 - Low quality parts
autoengineparts.tier2 - Medium quality parts
autoengineparts.tier3 - High quality parts
Note: Granting permissions or changing a user's group ownership will not automatically update the engine parts of existing cars they own. However, simply removing and re-adding the engine modules on their existing cars will update their engine parts. Existing cars are also updated on plugin reload or server restart.
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。
相关依赖
- Engine Parts Durability
配置说明
Default configuration (no engine parts are added):
{ "DefaultEnginePartsTier": 0 }
DefaultEnginePartsTier (0 - 3) -- The quality of engine parts to automatically add to all engine modules. Players with permission can have higher quality parts than this applied to cars they own (see permissions section for details).0 = No parts are added (existing parts are untouched), engine containers remain unlocked1 = Low quality parts, engine containers are locked2 = Medium quality parts, engine containers are locked3 = High quality parts, engine containers are locked
0 = No parts are added (existing parts are untouched), engine containers remain unlocked
1 = Low quality parts, engine containers are locked
2 = Medium quality parts, engine containers are locked
3 = High quality parts, engine containers are locked
官方配置示例
{
"DefaultEnginePartsTier": 0
}object OnEngineStorageFill(EngineStorage engineStorage, int enginePartsTier)更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。