WorldGuard Region Effects
Description
WorldGuard Region Effects lets you give WorldGuard regions effects. That means players automatically get a potion effect when they enter the region and lose it when they leave the region.
The plugin adds an additionally flag to WorldGuard regions: effects. This flag allows you to set multiple effects for the region. It requires WorldGuard Custom Flags to work.
The source is now available on github.
If the effects don't appear try:
/region flag __global__
effects speed
/region flag __global__
effects
Usage
Possible effects: speed, slow, fast_digging, slow_digging, increase_damage, jump, regeneration, damage_resistance, fire_resistance, water_breathing, hunger, weakness, blindness, poison, invisibility, night_vision and confusion. You can also set the level for the effect (ANY value, also values that would be impossible normally like negative values). For more information click here.
Example:
/region flag exampleRegion effects speed 3,jump II,damage_resistance -1
This line would affect that you get a much faster (speed 3), can jump about 2 block high (jump II) and get more damage (damage_resistance -1). As you can see here you can also use Roman numerals (just from I to VI) for the level.
Some usages I thought of, feel free to add your own
Commands
- /toggleeffects or /te - allows you to toggle the region effects (permission: effects.toggle)
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.
Can you add some usefull flag like a flag who deny potion effect or allow effect only on special groups?
Came here to look at the effects for reference. Just want to say that I love this plugin and its uses are awesome.
Why is this plugin always spamming log with: 23:23:00 [INFO] [WGCustomFlags] Saving flags for world world 23:23:00 [INFO] [WGCustomFlags] Saving flags for world world_nether 23:23:00 [INFO] [WGCustomFlags] Saving flags for world world_the_end 23:23:00 [INFO] [WGCustomFlags] Saving flags for world flatlands 23:23:00 [INFO] [WGCustomFlags] Saving flags for world survival2 23:23:00 [INFO] [WGCustomFlags] Saving flags for world spawn 23:23:01 [INFO] [WGCustomFlags] Saving flags for world protected 23:23:01 [INFO] [WGCustomFlags] Saving flags for world vanilla 23:23:45 [INFO] [WGCustomFlags] Saving flags for world world 23:23:45 [INFO] [WGCustomFlags] Saving flags for world world_nether 23:23:45 [INFO] [WGCustomFlags] Saving flags for world world_the_end 23:23:45 [INFO] [WGCustomFlags] Saving flags for world flatlands 23:23:45 [INFO] [WGCustomFlags] Saving flags for world survival2 23:23:45 [INFO] [WGCustomFlags] Saving flags for world spawn 23:23:46 [INFO] [WGCustomFlags] Saving flags for world protected 23:23:46 [INFO] [WGCustomFlags] Saving flags for world vanilla
You should make it to where curtain groups can have the effects.
@rustyshakelford2
This problem occurs with the latest bukkit build:
2012-11-15 20:08:12 [SEVERE] Error occurred while enabling WGRegionEffects v1.3 (Is it up to date?) java.lang.NullPointerException at com.mewin.WGCustomFlags.data.YAMLSaveHandler.loadFlagsForWorld(YAMLSaveHandler.java:73) at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.loadFlagsForWorld(WGCustomFlagsPlugin.java:178) at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.loadAllWorlds(WGCustomFlagsPlugin.java:165) at com.mewin.WGCustomFlags.WGCustomFlagsPlugin.addCustomFlag(WGCustomFlagsPlugin.java:221) at com.mewin.WGRegionEffects.WGRegionEffectsPlugin.onEnable(WGRegionEffectsPlugin.java:86)
@Zooey105
If you have problems please post it in the Forum of WorldGuard custom flags.
I won't check every plugin page for comments every day and will ignore any issues posted there.
@der_mewin
I have both dependencies running fine, they enabled correctly and everything, but when I apply the effects flag, nothing happens when I enter the region. No errors though. Are there any known conflicts, or some toggle I need to edit in WorldGuard? Is it not compatible with 0.2RB?
I thought it might have been vanish, god or creative mode but after disabling all of them it still does nothing. I tried multiple flags in different regions.
@Ciph911
You need to install WorldGuard Custom Flags too.
This looks like a really interesting plugin. But im getting error when im trying to start. Check here: http://pastebin.com/t8ZQi2Pi
@coolo1
Whats your problem? Server log?
This seems to not work...
@epictech300
Gonna look for a way to do this, but it wont be easy.
Edit: nearly finished, expect an update during the next days.
Any chance of fixing the blindness effect? that would be awesome for forests in adventure servers.
@der_mewin
IT WORKS!
Thanks a lot.
@epictech300
aaargh, looks like github reverted my changes again -.- gonna reupload this in a few minutes
edit: uploaded it now, check mewin.bangl.de again
@der_mewin
Yes I did, The same thing happens.
Not sure if it's useful but here is the server.log
http://pastebin.com/4tkPx0Rx
@epictech300
5.5.4 works fine for me
did you try the java 6 version?
@der_mewin
It's strange how 1.1 works fine and 1.2 doesn't :(
What version of WorldGuard should I be using?
@epictech300
I don't think that changes anything.