RUST Building Wrapper v0.1.7

No permission to download
You can download a maximum of 0 files within 24 hours
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.

Permissions​

This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.
Requires the ZoneManager permission (zonemanager.zone) or auth level > 0 to use.

Commands​

This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.
  • /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.

TODO​

  • Code refactoring. May take some time.
Back
Top
Development Community