MobEffects
<<center>>
Spanish Video Tutorial<</center>
The video above was done by UltiByte. It is now the 'official' mob effects video.
What is MobEffects?
MobEffects is a new Bukkit plugin that allows a server admin to give certain effects to players upon being hit by a mob. This plugin is a constant work in progress, and is in it's early stages. It is stable enough for release and I haven't found any bugs. As time goes on, support for more mobs and effects will be added, however, at the time being, school is consuming a great deal of time and I'm working as hard as I can to get builds out ASAP.
All effects are configurable and turned off by default
What are 'Effects'?
As of now, an Effect is a Potion Effect. When a mob hits a player, an admin can have a certain potion effect linger on that player for a set amount of time and at a set potion level. Every bit of this plugin is configurable, so you can make your mob choices as specific as you want. Currently available effects are:
- Blindness
- Nausea
- Damage Resistance
- Fast Digging
- FireResistance
- Harm
- Hunger
- Strength
- Invisibility
- NightVision
- Wither
- Jump
- Poison
- Regeneration
- Slow
- Speed
- Water Breathing
- Weakness
A server admin can configure which one of these effects to activate when a player is hit by a specific mob, how long the effect will last, and how strong the effect is. By default, all effects are turned off, and the power is set to default (0). To edit, just open the mob.yml file for the mob you want to turn effects on / off for. You can edit the main config.yml to edit which worlds the mobs spawn in, or configure the update checker on / off.
Commands
Command | Alias | Description |
---|---|---|
/mobeffects | mobfx | Shows all of the arguments for the mobeffects command. |
/mobeffects reload | mobfx | Reloads all of the MobEffects configs. |
/mobeffects version | mobfx | Shows the version of MobEffects the server is running. |
Permissions
Permission Node | Description | Default |
---|---|---|
mobeffects.check | Checks if there is an available update on login and sends a message. | op |
mobeffects.version | Allows use of /mobeffects version | op |
mobeffects.reload | Allows use of /mobeffects reload | op |
FAQ
Q) Why are some Mobs missing? A) I am working as hard as I can to implement all of the mobs. Some mobs (ones that fire projectiles) are a bit harder to implement as they require a bit more code. As of now, most mobs are supported. The mobs that are not supported are being worked on.
Q) Effect X is not working? A) All effects are tested before being released. You probably have something configured incorrectly. If you are having issues, delete / backup your configs and let them regenerated. To regenerate your configs, you must either restart your server or run the /reload command.
Q) Add Y feature! A) Not a real question, but we'll go with it! I am open for feature suggestions. Open a ticket or leave a comment. If I like it, and it's doable, I'll add it to the plugin. Also, feel free to use the git repo and make a pull request if you know how to code.
Q) When is the next build coming out? A) I only release builds once I am satisfied with them, even dev builds. Dev Builds tend to be released every time there is a new feature available and it works. I would not release a dev build that breaks everything else. All builds are extensively tested before being pushed out to the public.
Contact
If you have any suggestions for this plugin, any bugs, etc, please use the Bukkit Ticket System. I will respond to those more frequently than the comments most likely. It helps me keep things organized. You may also feel free to email me at [email protected], or through Private Messages!
Code:
This project is available on GitHub. If you find something that needs fixing, feel free to make a pull request. If you're interested in continuing to develop the plugin, send me a PM and we can discuss adding you as a contributor. Click the image below to be taken to the Github Repo.
Can you add the wither effect ? :)
edit: i’ve got no eyes officially, great plugin tho!
Hi wonderful plugin! It's working good in spigot 1.11.2
Would you pls fix the following errors in console in case you are active?
http://pastebin.com/3c6Mfhm3
Thanks.
Working for me atleast in 1.7.5 :) (I got to say that this is a well made plugin, I started using this in 1.4.7 and still works :P!)
any news on 1.7.x? or does anyone know one thats about the same like this one but updated
It seems work for my MCPC+ server 1.6.2, nice :D.
One question, is it possible to add effect on custom entities (Mocreature) etc ?
Yes, i hope an update too, this plugin is very funny :).
It would be great if this plugin were to be updated...it seems to be perfect otherwise.
Can you please fix the dev build? I want to make a new plugin based on this one, where would I go to get permission for that. I would greatly appreciate it since it would save me days of work!
Hello ! Are you sure that dodge effect work correctly ?
It just plain doesn't work :/
2013-02-23 21:40:03 [SEVERE] java.net.ConnectException: Connection timed out 2013-02-23 21:40:03 [SEVERE] at java.net.PlainSocketImpl.socketConnect(Native Method) 2013-02-23 21:40:03 [SEVERE] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.net.AbstractPlainSocketImpl.connect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.net.SocksSocketImpl.connect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.net.Socket.connect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.net.Socket.connect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.NetworkClient.doConnect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.http.HttpClient.openServer(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.http.HttpClient.<init>(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.http.HttpClient.New(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at com.etriacraft.MobEffects.UpdateChecker.updateNeeded(UpdateChecker.java:34) 2013-02-23 21:40:03 [SEVERE] at com.etriacraft.MobEffects.Listeners.MiscListener.playerUpdateCheck(MiscListener.java:22) 2013-02-23 21:40:03 [SEVERE] at sun.reflect.GeneratedMethodAccessor590.invoke(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 2013-02-23 21:40:03 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 2013-02-23 21:40:03 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 2013-02-23 21:40:03 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479) 2013-02-23 21:40:03 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerList.c(PlayerList.java:159) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.PlayerList.a(PlayerList.java:98) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.PendingConnection.d(PendingConnection.java:135) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.PendingConnection.c(PendingConnection.java:50) 2013-02-23 21:40:03 [SEVERE] at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:71) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.r(MinecraftServer.java:589) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.r(DedicatedServer.java:224) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.q(MinecraftServer.java:485) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:420) 2013-02-23 21:40:03 [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
@MistPhizzle
i did disabled it, when ever bukkit dev is down the plugin doesnt work after a server restart this is not good can you remove that all together?
Can I request a permission to negate mob effect in each effect type or each monster?
@noxturno
Looks like a problem with the update checker. Disable it.
@LeRelOo
Update to jre7.
Hi guys, it does not run on my server, Help me plz :)
Pastebin
CB: #2586 1.4.6-R0.3 Beta-build
plugin installed:
dynmap, essentials, Monster Apocalypse, NoCheatPlus, TerrainControl, thirst, Vault, VoxelSniper, WorldEdit & WorldGuard
thank you in advance.
i updated to java 7, so no worries got this error and it also crashed my server.
http://pastie.org/5666338
@BrandonAest
I'll look into it.
@noxturno
Next update. It was compiled with Java 6 before, but I switched computers a few days ago. When I compiled the last version I had compiled it with 7 instead of 6 :/
could you make it so it works with java 6 xD I cant figure out how to install java 7 on my debian server..
Almost Mist.
A monster could also have effects added to it on attack. Most of the potion effects are buffs and it would be nice to have monsters that could gain a buff when they attack.
in my example a Zombie could have X chance to gain the poison potion effect and heal over time when it attacks a player. Undead monsters heal with Harming and Poison potions
Another example would be a Spider getting a speed potion effect added to it when it attacks. Like the spider is hunting.
@MistPhizzle
Worked like a charm, thank you!