TempBuild
Extension to WorldGuard to create temporary building zones. Blocks placed in designated regions automatically decay after a configurable time period.
TempBuild
Extension to WorldGuard to create temporary building zones. Blocks placed in designated regions automatically decay after a configurable time period.
Supported Platforms
<a href="https://papermc.io/downloads/paper" target="_blank"><img src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/compact/supported/paper_46h.png" height="35"></a> <br> <a href="https://purpurmc.org/download/purpur" target="_blank"><img src="https://raw.githubusercontent.com/intergrav/devins-badges/v2/assets/compact/supported/purpur_46h.png" height="35"></a>
Features
- Configurable Drop Behavior: Adds custom `temp-build` region flag - Configurable Drop Behavior: Blocks placed in temp-build zones disappear after configured time - Configurable Drop Behavior: Shows block damage progress as decay timer counts down - Configurable Drop Behavior: Choose whether decaying blocks drop items or vanish
Dependencies
- WorldGuard - Region protection and custom flags
WorldGuard Flag Usage
TempBuild adds a custom WorldGuard flag called `temp-build`.
Setting Up a Temporary Build Region
```bash
Allow temporary building in a region
/region flag <region-name> temp-build allow
Disable temporary building (default behavior)
/region flag <region-name> temp-build deny ```
⚠️ IMPORTANT
For the `temp-build` flag to work properly, you must ensure that no other WorldGuard flags are blocking block placement in the region. If players still cannot place blocks despite `temp-build` being set to ALLOW, check for conflicting flags like `passthrough`, `build`, or other protection flags that may be preventing block placement.
Configuration Options
| Option | Type | Default | Description | |--------|------|---------|-------------| | `blockDecayTime` | Integer | `30` | Duration in seconds that blocks remain before decaying. Set to `0` or negative to disable decay entirely. | | `dropBlocks` | Boolean | `true` | When `true`, blocks drop their items when the timer expires. When `false`, blocks simply vanish. | | `protectFromExplosions` | Boolean | `false` | When `true`, blocks in the region are protected from explosion damage. | | `allowFireBurn` | Boolean | `false` | When `true`, fire can burn and destroy blocks in the region. | | `allowFireIgnite` | Boolean | `false` | When `true`, fire can be ignited in the region. | | `allowBlockSpread` | Boolean | `false` | When `true`, blocks like fire and mushrooms can spread within the region. | | `allowReplaceNonCollidableBlocks` | Boolean | `true` | When `true`, players can replace non-solid blocks (like grass, flowers, etc.) in the region. | | `allowLiquidFlow` | Boolean | `false` | When `true`, water and lava can flow within the region. | | `allowReplaceLiquids` | Boolean | `true` | When `true`, players can place blocks in liquid spaces. Warning: This also prevents placing blocks on water surfaces. | | `blockedBlocks` | List | `[]` | List of block types (e.g., `TNT`, `OBSIDIAN`) that cannot be placed in temporary build regions. |
Commands
| Command | Description | Permission | |---------|-------------|------------| | `/tempbuild reload` | Reload plugin configuration | `tempbuild.command.reload` |
Permissions
| Permission | Description | Default | |------------|-------------|---------| | `tempbuild.command.reload` | Allows reloading the plugin configuration | `op` |