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.
-
View User Profile
-
Send Message
Posted Jun 21, 2013I agree with zizitt. When applying a potion such as speed, everything goes crazy! Could you add an option for time configuration please, so for example can refresh effect after 5 seconds or more if still in region. Btw, great plugin! Keep up the good work.
-
View User Profile
-
Send Message
Posted Jun 13, 2013Yeah as do6star said, having an option to specify the length of the potion would be good. Atm as you use speed potions it's very annoying since you constantly drop out and into speed affects creating a bumpy ride.
-
View User Profile
-
Send Message
Posted May 20, 2013Can you just have it say something? Like in WoW how it shows the area your entering like Westfall or Stormwind, is that possible with this plugin? And could you update it to 1.5.2 please?
-
View User Profile
-
Send Message
Posted May 12, 2013@der_mewin
Having the same issue as janie177. Think it kicks off more with more people in the region and possibly lag. Would love to be able to set the length of effects and how long a buffer between the potion effect is finished, and it starts again.
Great plugin btw. Made is possible to make my rat race game (bukkit version): http://www.planetminecraft.com/project/rat-race---a-non-pvp-game-for-20-players/
-
View User Profile
-
Send Message
Posted May 10, 2013WHERE i can set the time how long the effect is
-
View User Profile
-
Send Message
Posted May 7, 2013Is there a way to set the region to remove effects, like say a no invisibility region?
-
View User Profile
-
Send Message
Posted May 6, 2013@der_mewin
Actually it does, I have the same problem with blindness just keeps flashing...
-
View User Profile
-
Send Message
Posted May 5, 2013@janie177
I don't think its 1.5.2, but I should add an option for this ;)
-
View User Profile
-
Send Message
Posted May 3, 2013In 1.5.2, the effect just starts and stops. Speed in a region makes walking impossible now. The screen is all zoom in zoom out zoom in zoom out. Is there a way to set the time of the effects? 5 seconds would be way better. This way they wont run out when theres a little lagg.
-
View User Profile
-
Send Message
Posted Mar 31, 2013Hi there,
As WizardCM has said, is there a way to adjust the time of this? I have seen a server with these effects on and they run down from 8 seconds and reset to 8 again at 0-1.
Thank you.
-
View User Profile
-
Send Message
Posted Mar 26, 2013Wow, this is exactly what I need. I'll try it out to see if it works.
-
View User Profile
-
Send Message
Posted Mar 23, 2013Can i use this to block effects from drinking a speed potion in a selected region? Like only allow healing or something to that effect.
-
View User Profile
-
Send Message
Posted Mar 22, 2013Could you make it set it for 3-5 seconds rather than 1-2? It keeps dropping to 0 every few moments and with speed it can be very glitchy and annoying.
Alternatively, maybe something like;
/region flag global effects speed IV:3-5
-
View User Profile
-
Send Message
Posted Mar 21, 2013Edited the config file to 'Flat' like the main page suggests, works fine now oon 1.5. Excellent :)
-
View User Profile
-
Send Message
Posted Mar 21, 20131.5 Same here, /toggleeffects command works, region flags added, looks like everything works fine but having no effect. Tried deopping, all the different game modes.
Looking forward to this working, got some great ideas for it! :)
-
View User Profile
-
Send Message
Posted Mar 16, 2013does this not work because of 1.5?
-
View User Profile
-
Send Message
Posted Mar 11, 2013Hmm, for some odd reason this isn't working for me. I defined a region (I know how to use WorldGuard) and I set the effects flag but the effects won't work. I even restarted the server. The command I typed: /rg flag spawn effects speed 2
-
View User Profile
-
Send Message
Posted Mar 11, 2013@ItsHarry
Please don't be sarcastic, you could simply ask him to try and make it less resource-consuming.
-
View User Profile
-
Send Message
Posted Feb 10, 2013can u add permission to block groups from geting the potions? pls :P
-
View User Profile
-
Send Message
Posted Feb 8, 2013Good job on the memory leak!
You put the players in a HashMap at each login but never remove them. This isn't a big problem on its own but it is if you have a server with thousands of players logging in everyday, which is my case.