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 Jul 23, 2013@xtechgamer735
Cacti too :(
-
View User Profile
-
Send Message
Posted Jul 22, 2013@der_mewin
Ok works fine, i do not add build: allow :D
-
View User Profile
-
Send Message
Posted Jul 22, 2013@Adrenalineq
try HAY_BLOCK, it should work ;)
-
View User Profile
-
Send Message
Posted Jul 22, 2013@der_mewin
Same with HAY Bale...
-
View User Profile
-
Send Message
Posted Jul 20, 2013@xtechgamer735
Thank you for reporting this, it will be added in the next release.
-
View User Profile
-
Send Message
Posted Jul 19, 2013Sugar cane doesn't seem to work. Anyone else having the same problem?
-
View User Profile
-
Send Message
Posted Jul 13, 2013@xakiru
Same as for Vivi_Coral:
-
View User Profile
-
Send Message
Posted Jul 13, 2013Players still get
"You do not have permission in this area"
When I've set
/region flag spawn allow-blocks chest
-
View User Profile
-
Send Message
Posted Jul 8, 2013First off, wanted to say thanks for the entire WG Custom Flag family of plugins, they are TOTAL life savers!
Second, I'd like to offer a bit of help to people trying to find the item names recognized by this flag! Just have it in the region you want to allow/deny it before you add the flags, then add the flag deny-blocks any, and try to break it when you're not OP. It'll give you an error... that contains the block name. :D
Was just getting ready to ask how to find the recognized block names, when I stumbled across this method. Hope it helps someone!
-
View User Profile
-
Send Message
Posted Jul 7, 2013@der_mewin
I see :) Thanks.
-
View User Profile
-
Send Message
Posted Jul 6, 2013@Vivi_Coral
The allow-blocks flag only overwrites the value of the deny-blocks flag. If you set build to allow, deny-blocks to any and allow-blocks to pumpkin player will only be able to place pumpkins.
-
View User Profile
-
Send Message
Posted Jul 6, 2013It seems that without the Build flag from WorldGuard, the allow-blocks feature doesn't work. Using latest version on MC 1.6.1
With these, people cannot place pumpkin blocks on top of snow blocks. But with worldguard's build allow they can place any block, which defeats the point of only allowing pumpkins.
What am I doing wrong?
-
View User Profile
-
Send Message
Posted Jul 3, 2013@Hangjai
item_frame should work.
-
View User Profile
-
Send Message
Posted Jul 2, 2013egion flag <name> deny-blocks itemframe
it don't work
-
View User Profile
-
Send Message
Posted Jun 25, 2013Hi im making runescape and i have World guard region saved the Whole place and did build deny so now i want them in the mine to only be able to destroy like mining stuff etc... coal ore dimaond ore,.... and to destroy tress what is the command to that!? Awesome plugin if you wanna check out my server IP: mcworld.cloudapp.net
-
View User Profile
-
Send Message
Posted Jun 18, 2013Can you put a list of how blocks are imputed I tried Stonebrick in many different ways, but none work. Can you tell me what stonebrick is "imputed as" in your plugin?
-
View User Profile
-
Send Message
Posted Jun 17, 2013@amli2011
I think this will be possible, too.
-
View User Profile
-
Send Message
Posted Jun 17, 2013WG Use Flags. When finished, would it help me when i want to deny the use of weapons in a region?
Thank you for a wonderful plugin, I'am using WG Texture Pack Flag.
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Edguu
As a minecart is not a block it is not affected by this plugin. You will have to wait for me to release the WG Use Flags which will also allow you to block minecarts.
-
View User Profile
-
Send Message
Posted Jun 14, 2013Nice plugin, but It doesn't make minecart id 328 allowed it says
Unknown value 'minecart' in blablabla..
Help please!