EventEffects
EventEffects
EventEffects is a plugin which allows you to set potion effects for a player when certain events take place. With EventEffects you can set any potion effect (even ones that are not available in-game), for any duration and level, for many differemt events.
Features (so far):
- Can give any potion effect, for any duration and level, for many different events (see Events (so far))
- Can also send a command via the console for many different events.
- Permission nodes for each event, to exempt a player from receiving the effects from those events, Ops are exempt by default.
- Enable/Disable events and effects in config.yml.
- Configurable to remove a player's previous potion effects.
Events (so far):
- Teleporting
- Respawning
- Joining Server
- Moving
- Item Breaking
- Exp Changing
- Changing World (configurable worlds)
- Entering A Bed
- Receiving Damage From An Entity (configurable entities)
- Enchanting An Item
- Killing a player
- Killing an entity (configurable entities)
- Block break (configurable blocks and whether players can use silktouch)
Permissions:
Configuration:
Todo:
In Progress or Planned
- More events to add effects to (such as talking, eating, being low on health, etc...).
- Configurable whether Move event only detects x and z coordinates.
- New effects: Invisible, night-vision
- Configurable whether Ops are exempt by default or not.
- Cooldown for events
- Allow infinite duration of effects.
Latest Update:
See ChangeLog EventEffects 1.3
Coming In Next Update:
This is what I have coded and will definately be in the next update, so there maybe more than the list below.
Great Plugin!
Can you add "standing on block" specifying ID. And also, effect range in number of blocks, so effect will be applied around a range of the block you are standing on?
Thanks!!!
aww outdated... Ant
UPDATE TO 1.7.4
@kpone59168
Try using jre7. Also, does it give the same error when the plugin is on the host? Lastly, check if your host using jre6 and not jre7
I use Jre6, you think I should use jre7 ? because I did not see that I used a previous version: p
Sorry for my bad english, i'm french :)
----EDIT :even with my hoster plugin does not work
@kpone59168
What version of Java are you using?
21:52:39 [GRAVE] Could not load 'plugins\EventEffects.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : me/sharp237/eventeffects/EventEffects : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:223) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:199) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(Server ConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:377) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: me/sharp237/eventeffects/Even tEffects : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:143) ... 9 more
--------Why ?
@sharp237
Sounds like a plan.
@sharp237
YES!!!
@nurwin22
So you want to give people effects with permission nodes?
@sharp237
Hey, thanks for the cool plugin man. Any way you could add permission node effects?
Like eventeffects.strength.iii.infinite or <root><effect><level><duration> to a permissions group?
@FUUUUUCK
Ok, thats a cool idea. I'll add that to the next update :)
Any way you could add chance to the effects? Eg, 10% chance of getting poisoned when an entity deals damage. That would make it the perfect plugin I'm looking for
@olane81
Break block event has been added for the next update. This has configurable blocks which give the effect and you can choose whether the player is allowed to use a silktouch to get the effect (so for diamond,lapis,redstone,coal,emerald ores you can only get the effect once).
@olane81
Ok, I'll try and add an event for breaking blocks... and have a config for which blocks you get the effect from.
@Craftiii4
Perhaps when breaking ores like diamond and coal, to be less abused?
Some time last night the 100th copy of Event Effects was downloaded :D
@Craftiii4
Ok, I'll try and add that to the next update. Only problem with that is that someone can simply drop the item and then pick it up again... can you think of a way to stop that exploit?
@sharp237
Picking up a certain item would be nice :)
Anyone have any ideas for events?