Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georgh93/worldguardblockrestricter
Allows to restrict the usage of certain blocks in WorldGuard regions
https://github.com/georgh93/worldguardblockrestricter
Last synced: about 1 month ago
JSON representation
Allows to restrict the usage of certain blocks in WorldGuard regions
- Host: GitHub
- URL: https://github.com/georgh93/worldguardblockrestricter
- Owner: GeorgH93
- License: gpl-3.0
- Created: 2019-12-28T20:49:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-06T14:11:06.000Z (12 months ago)
- Last Synced: 2024-01-06T15:28:35.729Z (12 months ago)
- Language: Java
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WorldGuardBlockRestricter
Allows to restrict the usage of certain blocks in WorldGuard regions.This is a fork of the original [WorldGuard Block Restricter](https://dev.bukkit.org/projects/worldguard-block-restricter) from mewin, updated for newer versions of Minecraft.
## Description
WorldGuard Block Restricter adds six flags to WorldGuard regions:- deny-blocks: a list of blocks that are not allowed to be placed or destroyed in this region
- allow-blocks: a list of blocks that are allowed to be placed and destroyed (overwrites deny-blocks)
- deny-place: only deny placing the specified blocks, but not breaking them
- allow-place: overwrite blocks specified by "deny-place"
- deny-break: only deny breaking the specified blocks, but not placing them
- allow-break: overwrite blocks specified by "deny-break"## Usage
Simply use these flag as any other WorldGuard flag:
`/region flag restriction deny-blocks obsidian, cobblestone`You can also use "any" to block any block placement/destruction. This is useful for whitelisting, because allow-blocks will overwrite this.
```
/region flag only-dirt deny-blocks any
/region flag only-dirt allow-blocks dirt
```## Permissions
- `wgblockrestricter.ignore`: allows players to ignore block restrictions## Requirements:
- WorldGuard 6.2 (other 6.x version might work)## Credits:
I would like to thank mewin, the original author of [WorldGuard Block Restricter](https://dev.bukkit.org/projects/worldguard-block-restricter) for his work.