WorldGuard Command Flags
WorldGuard Command Flags
"WorldGuard" extension to allow or block commands in specific regions.
current version: 0.1
How to use this?
this plugin adds two new region flags to worldguard: "cmds-block" and "cmds-allow"
it will deny the execution of all commands in the block list.
use the allow list to override blocking by any parents.
A whitelist function is not supported, yet.
so simply use the usual worldguard region command, like this:
/region flag <region> cmds-block heal
or:
/region flag <region> cmds-block /heal
to set the denied list to "/heal", or:
/region flag <region> cmds-block /heal, /food
or:
/region flag <region> cmds-block heal,food
to set the denied list to "/heal, /food", or:
/region flag <region> cmds-block
to set the block list to "null" (all commands allowed).
Any Permissions?
- None. any needed?
Default Config
messages: blocked: You are not allowed to execute this command in this region.
Dependencies
The plugin requires the latest WorldGuard Custom Flags.
Click here for some other plugins using WorldGuard Custom Flags.
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
ATTENTION TO EVERYONE WHO WANTS THIS TO UPDATE:
This plugin is obviously not being updated, ever, because WorldGuard already has this implemented. If you wan't to know how to allow/block commands in a region, just browse the worldguard wiki.
1.5.2 update please !!!
What's the point of this? (:
@CrystalxNeth
Ah nevermind this is apparently in the regular worldguard. Makes sense why its no longer updated
Does this work with 1.5.1?
Update?
Is there anyway to make this work with a part of a command.. for example i only want to block "/town new" command in a region.. I still want them to be able to use "/town spawn" .. I tried "/rg flag <region> cmds-block /town new" but it still always the command to be used.. Any help would be great.. Thanks
@RyanSayer
Next time post your problem here, pls.
You can try fixing it by creating the
__global__
region. Simply typing "/region flag__global__
build" should work.I'm getting this error any help?
http://pastebin.com/ZLTqYSyy
@JustinFatalx
That's true but it's currently not working for sql users ,and has a different logic.
Ugh? This feature is already part of Worldguard.