Sueta

WorldGuard BuildWhitelist

1.1

WorldGuard expansion to allow breaking and placing specific blocks.

·Plugin

WorldGuardBuildWhitelist
A simple WorldGuard addon that lets you allow specific blocks to be broken or placed inside protected regions.
WorldGuardBuildWhitelist is made for server owners who want finer control over WorldGuard regions without fully allowing block breaking or block placing. You can whitelist only the blocks you want players to interact with.
Features
* Allow specific blocks to be broken in WorldGuard regions
* Allow specific blocks to be placed in WorldGuard regions
Flags
* custom-block-break
* custom-block-place
How to setup
1. Place the jar file in your server's plugins folder.
2. Restart your server.
3. Set the WorldGuard flags on the region you want to edit.
Examples
Allow players to break stone inside a region:

/rg flag <region> custom-block-break stone

Allow players to place oak planks inside a region:

/rg flag <region> custom-block-place oak_planks

You can also set multiple blocks, depending on your WorldGuard flag input format.

/rg flag <region> custom-block-break stone,dirt,coal_ore
/rg flag <region> custom-block-place oak_planks,spruce_planks

After setting the flags, players will be able to break or place only the blocks you allowed in that region.
Requirements
* Spigot or compatible server
* WorldGuard
* WorldEdit
Notes
Existing flags from older versions are still supported:
* custom-block-break
* custom-block-place
This means you can update from the old version without changing your existing WorldGuard region flags.
WorldGuardBuildWhitelist is designed to be simple: install it, set the flags, and your regions are ready.

Similar projects

Plugin →