免费插件

Entity Owner

实体所有者

显示和修改实体所有权和橱柜/炮塔授权

informationalauthadministration

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

插件介绍

显示和修改实体所有权和橱柜/炮塔授权

The DistanceThreshold option allows you to configure how far the ownership commands will seek for other nearby entities (starting from the first entity). Changing the threshold will make ownership commands more or less precise.

主要用途

主要用于informational、auth、administration等服务端功能。 本插件由 Calytic 发布,当前目录记录版本为 v3.4.3,uMod 累计下载 56,247 次。

适用场景

  • 需要管理、审计或维护能力的服务器

功能分类

informationalauthadministration
查看 uMod 官方英文简介

Show and modify entity ownership and cupboard/turret authorization

权限节点

entityowner.canchangeowners

Allows player to use auth and own commands

entityowner.cancheckowners

Allows player to use prod command

entityowner.cancheckcodes

Allows player to see code lock codes

entityowner.seedetails

Allows player to see additional details about object (prefab name, skin id, etc)

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

指令说明

/prod

Check ownership of entity you are looking at

/own

Set ownership of entity you are looking at

/own all - Give yourself ownership of the entire structure (including deployables)

/own all <player name>

Give the specified player ownership of the entire structure (including deployables)

/unown all

Remove ownership from an entire structure (including deployables)

/prod2

Check the ownership of the entire structure (including deployables)

/prod2 block

Check the ownership of the structure (and only the structure)

/prod2 cupboard

Check the authorization of nearby cupboards

/prod2 storage

Check the ownership of nearby storage containers

/auth

Check the authorization of the cupboard you are looking at

/auth cupboard

List all players currently authorized on cupboard

/auth turret

Check the authorization of the turret you are looking at

/auth PlayerName - Give authorization on cupboard you are looking at to target player

/auth cupboard PlayerName

Give authorization on all nearby cupboards to target player

/auth turret PlayerName

Give authorization on all nearby turrets to target player

/deauth PlayerName

Remove authorization of cupboard you are looking at from target player

/deauth cupboard PlayerName

Remove authorization of all nearby cupboards from target player

/deauth turret PlayerName

Remove authorization of all nearby turrets from target player

配置说明

EntityLimit(default: 8000)There is a hard cap on how many entities may be included in any given ownership command. By default, this cap is 8000.

messages(Localization)It is possible to change most of the messages sent by EntityOwner into a different language.

DistanceThreshold(default: 3)It is suggested to ratchet the threshold down by 1 tenth each time (2.9, 2.8, 2.7 ..) until you are satisfied with the level of precision when using commands like /own and /prod2.

The DistanceThreshold option allows you to configure how far the ownership commands will seek for other nearby entities (starting from the first entity). Changing the threshold will make ownership commands more or less precise.

官方配置示例

// Gets the name and status of the owner player
// Returns null if no owner found
string GetOwnerName(BaseEntity entity)

// Get the BasePlayer instance (if known) of the owner player
// Returns null if no owner found
BasePlayer GetOwnerPlayer(BaseEntity entity)

// Removes the ownership data from a BasePlayer
RemoveOwner(BaseEntity entity)

// Changes ownership of a BaseEntity to the specified player
ChangeOwner(BaseEntity entity, BasePlayer player)

// Retrieves the owner player.userID in string format
// Returns false when no owner found
object FindEntityData(BaseEntity entity)

// Clears all deployable associations with a particular player
ClearDeployableProfile(BasePlayer player)

// Clears all construction associations with a particular player
ClearConstructionProfile(BasePlayer player)

// Grab all constructions associated with a particular player
List<BuildingBlock> GetProfileConstructions(BasePlayer player)

// Grab all deployables associated with a particular player
List<BaseEntity> GetProfileDeployables(BasePlayer player)

更新日志

最新版本: v3.4.3
最后版本发布: 2026-03-05
最后更新(条目): 2026-07-19

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

安装方法

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

使用前注意

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

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