WorldGuard PlayerDamage Flags
WorldGuard PlayerDamage Flags
"WorldGuard" extension to block specific damage types on players in specific regions.
current version: 0.6 (supports now java6 & java7)
How to use this?
For this plugin you need to have installed WordEdit, WorldGuard and WorldGuard Custom Flags!
This adds 2 new region flags to your WorldGuard:
deny-damage: a list of damage causes that are not allowed to effect players in this region
allow-damage: a list of damage causes that are allowed to effect players in this region (overwrites deny-damage)
Simply use these flag as any other WorldGuard flag:
- /region flag <region> deny-damage fall, entity_attack
You can also use "any" to block any block placement. This is usefull for whitelisting, because allow-blocks will overwrite this.
- /region flag <region> deny-damage any
- /region flag <region> allow-damage fire
All damage causes
- ANY all causes
- BLOCK_EXPLOSION tnt, endercrystal
- CONTACT cactus
- CUSTOM custom damage (since v0.6)
- DROWNING drowning in water
- ENTITY_ATTACK all monsters and players
- ENTITY_EXPLOSION creepers
- FALL fall
- FALLING_BLOCK falling sand, gravel or anvils (since v0.5)
- FIRE standing in fire
- FIRE_TICK burning
- LAVA lava
- LIGHTNING lightning by weather
- MAGIC potions
- POISON potions
- PROJECTILE arrows
- STARVATION hunger
- SUFFOCATION standing inside of blocks
- SUICIDE /kill
- THORNS the Thorns enchantment. (since v0.6)
- VOID falling out of the world
- WITHER withers (since v0.4)
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.
@AleNova15551
That is a known bug of "WorldGuard Custom Flags" and happens very rarely. I can't fix that.
@Dykam
Yes, groups arent supported yet.
i have new bug with the plugin.. when i add the flag and i stop the server and after that i start the server the flag Disappeared how i can fix it ?
Is it correct that groups are ignored? I've it set to
allow-damage -g MEMBERS: [ENTITY_ATTACK], deny-damage [ANY]
. However regardless of the membership of a user he can still be attacked.Are there permissions for this?
I blocked fall damage and it worked fine for ops, but normal players still take fall damage :(
please update to 1.7.*
@DerekZil
what exactly do you mean by locking? if you mean to forbid potion effects -> should be possible by using MAGIC and/or POISON. if you mean to always apply those effects this is the wrong plugin, consider using "WG Region Effects"
@BangL
Is there anyway to mlock potion effects, for example slowness? In a region with a flag.
@DerekZil
as long as you dont try to use newer damage causes like THORNS it should work well, but i never tested.
@BangL
Will it work for 1.5.2?
@bNke
The plugin requires the latest WorldGuard Custom Flags.
Dont work for me with 1.7 No errors in log files etc. But the commands didnt work
Hello!
I needed this plugin to negate falldmg in a region. It works, but only until I restart the server. :/
After a restart, i can't take falldamage anywhere. Not even in other worlds. :S
Does this work for 1.5.2?
@AlexNova1555
Did you also install WG Custom Flags? If yes you can post your problem in the forum. If you do so please also add a server log.
i have bug i try to do /region flag spwan deny-damage fall and its say Unknown flag how to fix it ??
I'm having the same proberlem... I did /region flag <region> deny-damage fall and which is supposed to takeaway fall damage, but it doesn't. Can you help please?
Anyway its a good plugin though
@galaipa
sounds good so far, i have no idea whats wrong then. but what i can tell for sure: i am running it myself on 1.7.2, with latest wg/wg custom flags and its working perfectly fine.
did you set any allow-damage flags on "global" or any other region above the region youre trying to deny it, maybe?, because the allow flag is always overriding the deny flag!
@BangL
Yes I put /region flag <region> deny-damage fall.If I put /Region info the flag is correct.
@galaipa
you put the flag "fall"? ..that could be it, if i get you right. this plugin doesnt add a flag called "fall". fall is just one possible state of our flags, which are "deny-damage" and "allow-damage".
so, if you wanna deny fall damage, you execute this: /region flag <region> deny-damage fall
Sorry, I use some of your plugins and they are very good. But I have problems with this one. I put the flag fall but It doesn't work for me. I don't know what I do wrong.
Thank You