免费插件

Building Wrapper 可下载

建筑包装

自动将建筑物包裹在一个区域中

imported

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

插件介绍

自动将建筑物包裹在一个区域中

Building Wrapper is meant to simplify setting up Zone Manager zones around buildings. This plugin will allow a player to look at a building, execute a command, and have a zone automatically created, moved, scaled, and rotated to fit that building.

Requires the ZoneManager permission (zonemanager.zone) or auth level > 0 to use.

The <zone_id> parameter is required, but entering "auto" will enable an ID to be auto-generated.Optional parameters include _shape _(either "box" or "sphere" - "sphere" is default if not entered), and buffer size (defaults to 1), which is the distance the zone should extend beyond the building.

Setting <buffer> to a positive value increases the size of the zone, while setting a negative value will reduce the size of the zone.

主要用途

主要用于imported等服务端功能。 本插件由 Spiikesan 发布,当前目录记录版本为 v0.1.7,uMod 累计下载 10,208 次。

适用场景

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

功能分类

imported
查看 uMod 官方英文简介

Automatically wrap buildings in a zone

权限节点

Requires the ZoneManager permission (zonemanager.zone) or auth level > 0 to use.

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

指令说明

/bw wrap <zone_id> <shape> <buffer>

Wrap the building which is being looked at in a zone. If the <zone_id> is the ID of an existing zone, the zone will be moved, scaled, and rotated if necessary to fit the building being looked at. Preview: Passing "preview" as <zone_id> will draw a preview of the zone dimensions, as well as the building perimeter being used.

/bw rewrap <zone_id> <shape> <buffer>

Rewraps structures in the specified zone to fit entirely inside the zone. <zone_id> must be the name of an existing zone.

/bw extend <zone_id> <shape> <buffer>

Extend an existing zone to include the specified structure. <zone_id> must be the name of an existing zone.

The <zone_id> parameter is required, but entering "auto" will enable an ID to be auto-generated.Optional parameters include _shape _(either "box" or "sphere" - "sphere" is default if not entered), and buffer size (defaults to 1), which is the distance the zone should extend beyond the building.

Setting <buffer> to a positive value increases the size of the zone, while setting a negative value will reduce the size of the zone.

Shapes:

box

Wraps the building in a box zone - the zone size and rotation is the smallest surrounding rectangle that can fit around the building perimeter.

square

Similar to box but with equal length/width. (Rotation may not be the same as box rotation on the same building)

sphere

Wraps the building in the smallest possible spherical zone which encompasses the entire building.

相关依赖

  • Zone Manager

更新日志

最新版本: v0.1.7
最后版本发布: 2023-09-09
最后更新(条目): 2026-08-28

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

安装方法

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

使用前注意

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

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