免费插件

Claim Vehicle

认领车辆

允许玩家声明无主车辆的所有权

vehicleownership

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

插件介绍

允许玩家声明无主车辆的所有权

By itself, "owning" a vehicle does nothing. However, various plugins enable special features for owned vehicles based on the permissions of the owner. Some examples:

A vehicle is considered owned if its OwnerID property is set to a player's Steam ID. A vehicle is considered unowned if its OwnerID is 0. Many plugins that spawn vehicles for a player will set ownership, so this plugin is mostly useful for allowing players to claim vehicles that spawned randomly in the world or at NPC vendors.

Note: If you just want vehicles spawned at NPC vendors to be owned by the player that purchased them, you can accomplish that with the Vehicle Vendor Options plugin.

As an alternative to the claimvehicle.claim.allvehicles permission, you can grant permissions to claim vehicles by type:

主要用途

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

适用场景

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

功能分类

vehicleownership
查看 uMod 官方英文简介

Allows players to claim ownership of unowned vehicles

权限节点

claimvehicle.claim.allvehicles

Allows the player to claim unowned vehicles of all supported types.

claimvehicle.unclaim

Allows the player to relinquish ownership of a vehicle using the vunclaim command, so that someone else can claim it. This does not reset their cooldown.

claimvehicle.nocooldown

Allows the player to claim vehicles with no cooldown.

As an alternative to the claimvehicle.claim.allvehicles permission, you can grant permissions to claim vehicles by type:

claimvehicle.claim.attackhelicopter

claimvehicle.claim.ballista

claimvehicle.claim.batteringram

claimvehicle.claim.caboose

claimvehicle.claim.catapult

claimvehicle.claim.chinook

claimvehicle.claim.duosub

claimvehicle.claim.hotairballoon

claimvehicle.claim.locomotive

claimvehicle.claim.minicopter

claimvehicle.claim.modularcar

claimvehicle.claim.motorbike.sidecar

claimvehicle.claim.motorbike

claimvehicle.claim.pedalbike

claimvehicle.claim.pedaltrike

claimvehicle.claim.rhib

claimvehicle.claim.ridablehorse

claimvehicle.claim.rowboat

claimvehicle.claim.scraptransporthelicopter

claimvehicle.claim.sedan

claimvehicle.claim.sedanrail

claimvehicle.claim.siegetower

claimvehicle.claim.snowmobile

claimvehicle.claim.solosub

claimvehicle.claim.tomaha

claimvehicle.claim.wagona

claimvehicle.claim.wagonb

claimvehicle.claim.wagonc

claimvehicle.claim.workcart

claimvehicle.claim.workcartaboveground

claimvehicle.claim.workcartcovered

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

指令说明

vclaim

Claim ownership of the vehicle you are aiming at. It must be unowned, unmounted, and not have a lock deployed to it by another player. You must also not be building blocked.

vunclaim

Relinquish ownership of the vehicle you are aiming at. You must already own it.

Note: The above commands can be changed in the configuration. Additionally, you can define multiple commands to perform the same function in case players are accustomed to different commands from other servers.

相关依赖

  • Other Building Health

配置说明

Default configuration:

{ "Claim cooldown (seconds)": 3600.0, "Claim commands": [ "vclaim" ], "Unclaim commands": [ "vunclaim" ] }

Claim cooldown (seconds) -- Determines how long a player must wait after claiming a vehicle before they can claim another.Caution: Before reducing this value, consider other plugins you are running and whether this will allow for griefing potential. For example, a low cooldown may enable players to go around the map and lock or pick up every vehicle they find.Note: Cooldowns are lost on plugin reload (or server restart). Cooldown persistence can be implemented on request.

Claim commands

Determines which commands can be used to claim vehicles.

Unclaim commands

Determines which commands can be used to unclaim vehicles.

Caution: Before reducing this value, consider other plugins you are running and whether this will allow for griefing potential. For example, a low cooldown may enable players to go around the map and lock or pick up every vehicle they find.

Note: Cooldowns are lost on plugin reload (or server restart). Cooldown persistence can be implemented on request.

官方配置示例

{
  "Claim cooldown (seconds)": 3600.0,
  "Claim commands": [
    "vclaim"
  ],
  "Unclaim commands": [
    "vunclaim"
  ]
}
{
  "Generic.Error.NoPermission": "You don't have permission to do that.",
  "Generic.Error.BuildingBlocked": "Error: Cannot do that while building blocked.",
  "Generic.Error.NoSupportedVehicleFound": "Error: No supported vehicle found.",
  "Generic.Error.VehicleDead": "Error: That vehicle is dead.",
  "Generic.Error.Cooldown": "Please wait <color=red>{0}</color> and try again.",
  "Claim.Error.AlreadyOwnedByYou": "You already own that vehicle.",
  "Claim.Error.DifferentOwner": "Error: Someone else already owns that vehicle.",
  "Claim.Error.LockedByAnother": "Error: Someone else placed a lock on that vehicle.",
  "Claim.Error.Mounted": "Error: That vehicle is currently occupied.",
  "Claim.Success": "You now own that vehicle.",
  "Unclaim.Error.NotOwned": "Error: You do not own that vehicle.",
  "Unclaim.Success": "You no longer own that vehicle."
}

更新日志

最新版本: v1.8.1
最后版本发布: 2025-05-02
最后更新(条目): 2026-08-26

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

安装方法

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

使用前注意

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

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