Structure Boxes

Structure boxes is a plugin that adds structure boxes: items that turn into a structure saved with WorldEdit when placed. These structure boxes can then be sold to your players, included in kits, etc...

 

All structure box items are by default a chest with a custom display name and lore that contains the related schematic ID as well as a usage instruction

Features:

  • Create structure boxes that pastes a WorldEdit schematic when it is placed
  • Restrict structure boxes with permissions (see permissions below)
  • Compatible with anti-griefing plugins listed under supported plugins
  • Deny structure placement if it intersects with regions where player placing structure box is not allowed to build
    • If you use Factions (not FactionsUUID), PlotSquared, RedProtect and/or WorldGuard, you can set the flag "structurebox" to true for certain regions (or factions if using Factions) to allow players to place structure boxes in regions where it is normally not permitted.
  • Restrict placement of structures to regions only
    • Exceptions are configurable
  • Convert from a similar plugin (such as Structure in a box)

Requirement:

WorldEdit:

  • version 6.1.9 for 1.8 - 1.12.2
  • version 7.0.1 - 7.1.0 for 1.13 - 1.15

Notice regarding FAWE:

It is strongly advised against using FastAsyncWorldEdit (FAWE) with this plugin on 1.13 and above due to critical bugs in the FAWE API that may break key functions in this plugin

Supported plugins:

 

Region providers:

  • RedProtect
  • Factions
  • GriefPrevention
  • WorldGuard
  • PlotSquared
  • Towny
  • LandClaiming
  • Civs
  • Lands

Other plugins:

  • Movecraft

How to use:

  1. Copy the structure you want to add with WorldEdit. Copy from a position outside of the center of the structure with //copy
  2. Save the structure with //schem save <schematic ID>
  3. Create a structure box with /sb create <schematic ID>

Commands:

  • /structurebox create <schematic ID> [-m, -e <expiry time>] - Creates a structure box with a valid schematic ID. 
    • -m is for moving the schematic from your player directory to the global schem directory if using FAWE
    • -e is to set an expiry time, after which the structure despawns and without the structure box being returned to the player
  • /structurebox undo - Undoes the last placed structure
  • /structurebox reload - Reloads this plugin
  • /structurebox sessions [player|all|you] - View your, other players' or all active undo sessions

Permissions:

  • structureboxes.create - Allows players to create structure boxes (default: operator)
  • structureboxes.undo - Allows players to undo placed structure boxes (default: everyone)
  • structureboxes.reload - Allows players to reload this plugin (default: operator)
  • structureboxes.place.<schematic ID> - Allows players to place structure boxes with the given schematic ID if config option Require permission per structure box is set to true (default: operator)

  • structureboxes.bypassregionrestricion - Allows players to bypass restriction of structure box placement within regions if region restriction is enabled
  • structureboxes.update - Allows players to receive a message on join when a new update is available
  • structureboxes.moveschematic - Allows players to use -m at the end of /sb create command when using FAWE
  • structureboxes.sessions.other - Allows players to view other players' active undo sessions
  • structureboxes.sessions.all - Allows players to view all active undo sessions

Video tutorial:

Metrics collection (v2.0+ only):

This plugin uses bStats to gather anonymous data about the server, which helps the developer in improving the plugin. You can disable this by setting Metrics to false in StructureBoxes/config.yml for the plugin or setting enabled to false in bStats/config.yml for the entire server

 

https://bstats.org/plugin/bukkit/StructureBoxes

Donations:

If you like this plugin and would like to support the development of this and my other plugins, you can support me on Patreon: https://www.patreon.com/eirikh1996plugins

 

Licence:

Structure Boxes is licenced under GNU General Public Licence v3


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files