WorldGuard Block Restricter
Description
WorldGuard Block Restricter adds two (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)
- from 2.0 on these flags will be available too:
- 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"
It requires WorldGuard Custom Flags.
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 usefull for whitelisting, because allow-blocks will overwrite this.
/region flag only-dirt deny-blocks any
/region flag only-dirt allow-blocks dirt
From version 1.7 on you can also use block/item ids.
Click here for some other plugins using WorldGuard Custom Flags.
Permissions
- wgblockrestricter.ignore:
- allows players to ignore block restrictions
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
-
View User Profile
-
Send Message
Posted Dec 27, 2016?? whatttttttttttttttttttttt
-
View User Profile
-
Send Message
Posted Aug 20, 2016Not the greatest I have used!! Sure you can use Block IDs but if you try and use 17:2
17:2 is not a valid material name
making this almost a useless plugin for what I need, anyone know how to work around this?
-
View User Profile
-
Send Message
Posted Dec 29, 2015ATTENTION ATTENTION ATTENTION ATTENTION
I have continued the project on Spigot! https://www.spigotmc.org/resources/wgblockrestricter-continued.16365/
ATTENTION ATTENTION ATTENTION ATTENTION
-
View User Profile
-
Send Message
Posted Dec 25, 2015Oh, I really want to use this plugin, but as Mojomunkay stated earlier - it does not work. Same issue :/
-
View User Profile
-
Send Message
Posted Nov 1, 2015@der_mewin
Lot's of people seem to have this issue:
On server startup there are no console errors... the following is detailed:
01.11 18:27:47 [Server] INFO Added custom flag "deny-break" to WorldGuard. 01.11 18:27:47 [Server] INFO Added custom flag "allow-break" to WorldGuard. 01.11 18:27:47 [Server] INFO Added custom flag "deny-place" to WorldGuard. 01.11 18:27:47 [Server] INFO Added custom flag "allow-place" to WorldGuard. 01.11 18:27:47 [Server] INFO Added custom flag "deny-blocks" to WorldGuard. 01.11 18:27:47 [Server] INFO Added custom flag "allow-blocks" to WorldGuard. 01.11 18:27:47 [Server] INFO flags.yml found in WGBlockRestricter 01.11 18:27:47 [Server] INFO No item.csv found. 01.11 18:27:47 [Server] INFO Enabling WGBlockRestricter v2.0
However when trying to apply any of the block restricter custom flags i.e.:
/region flag capturetheflag deny-break 98
the in-game error message states:
Unknown flag specified: deny-break
So I check the console... No errors, nothing
So I type /flags
I type /flags -d
I've been through this about 10 times now, please help!
-
View User Profile
-
Send Message
Posted Oct 3, 2015Deny blocks doesnt even work.
-
View User Profile
-
Send Message
Posted Aug 22, 2015@ChillerKraft
You should use the WG built-in flag block-place and block-break if you want to disable placing/breaking blocks in a region. This plugin is for handling specific blocks only.
-
View User Profile
-
Send Message
Posted May 12, 2015when i do flag deny-blocks any, it changes it to air
help
-
View User Profile
-
Send Message
Posted Jan 30, 2015@legendd123
I have same problem,
I want use it to allow chest in shop zone
and don't work like your diamond example.
-
View User Profile
-
Send Message
Posted Jan 16, 2015I have installed these plug-ins correctly however I cannot seem to make it work. Either the user can mine both blocks or no blocks at all.
I am trying to make an area where ores are able to be mined but the stone cannot be mined.
I type /rg flag area deny-break stone and /rg flag area allow-break diamond_ore which results in nothing working....
any help?
-
View User Profile
-
Send Message
Posted Jan 7, 2015Can you tell me the cmd for allow block breaking?
-
View User Profile
-
Send Message
Posted Jan 1, 2015@snarfattack
Since removing it, glitching is no longer possible, so I'm presuming it was playing some sort of role. I'm guessing it was conflicting with WG 6.02. I'd already read the documentation on 6.02 thank you. The post here was to help others who may have a similar issue.
-
View User Profile
-
Send Message
Posted Dec 27, 2014Hi!
Is it planned to update it for WE 6.x?
BR, Rob
-
View User Profile
-
Send Message
Posted Dec 17, 2014@frizzbee30
Gonna make a big guess here and say, No. hint: You should read documentation on WG 6.0.2
-
View User Profile
-
Send Message
Posted Dec 15, 2014seems to allow 'glitching' of the blocks so players can hop up on them, even though not placed, think we are going to remove it.
-
View User Profile
-
Send Message
Posted Dec 12, 2014works on 1.8, but does constantly spam errors tot he console
-
View User Profile
-
Send Message
Posted Oct 27, 2014Hi, I want to deny-break red sand , stone brick (98:3). But it's say me : 98:3 is not a valid material? same for red sand
-
View User Profile
-
Send Message
Posted Oct 12, 2014Any updates on this to make it compatible with the latest world guard version?
http://dev.bukkit.org/bukkit-plugins/worldguard/files/42-world-guard-6-0-beta-2/
-
View User Profile
-
Send Message
Posted Aug 21, 2014I have a problem, I reloaded my server to install a new plugin, then I noticed that I wasnt able to set the flags deny-place and I deleted the plugin and seemed like the plugin just stopped working over-all help?
-
View User Profile
-
Send Message
Posted Aug 13, 2014Hello, I am trying to deny some pixelmon blocks because world guard does not pick it up by default. When i type the id of a pc it says its not a block. I would really like a answer. Thank you!