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.
@Maluzis
Try this: https://github.com/MistPhizzle/MobEffects/blob/master/Dev%20Build/MobEffects.jar?raw=true
This dev build also has Witches support. They do not work quite right yet, so I wouldn't tamper with those. This SHOULD fix the issue you were having though ;). Let me know if it does / does not.
@Maluzis
Make sure you alter your startup script to include the new JRE. It was compiled in Version 7, so it should work. The Major.Minor error is an issue with java versions.
The next release will be compiled to version 6 most likely, just to prevent this error. I think I did this a while back but must have forgotten to compile it to v6 again. If you give me 10 minutes I'll get a dev build for you.
@MistPhizzle
I installed "Version 7 Update 9" java runtime environment and have the same problem.
@Maluzis
You need to update your Java Runtime Environment.
Not working for me. :(
Just an update on development:
I have a long weekend this weekend with the US Election, and a couple of additional days off of school. I am using this time to update some of my private plugins for my server, and some of my public ones, like this.
The latest Dev Build can be found on the Dev Build page above. The Dev Build does begin to implement some new features coming from 1.4.2 such as the potion effects. As of this message, none of the new mobs are supported but should be supported in full later on. The Dev Build does have some interesting changes, so I recommend you take a look! (The Dev Build IS stable
I only push new Dev Builds after they've been tested :p)@Maluzis
I definitely will do it this weekend. :)
Hey! Could you update it for 1.4 (and for mobs from this ver.)? Please.
@MistPhizzle
Thanks. I gonna try it out :D
@MistPhizzle
Sorry but same st.. 1 Small config is best. Not many files for each Mob. Look to config of zombieinsanity.
There are : SKILLS Blind:True Pois:True ... MOBS Pig:True Zombie:True ... Pig cant use Bad skills. Zombie cant use Good skills.
@y1985
The % chance was added in the latest stable build and has been improved as of the latest Dev Build :).
@lenivets09
I have revamped the configs as of the latest dev build. Each mob gets its own file so you can edit them as you wish. There is also a command to reload the configs in-game!
Add some % chance to get that effect would be nice. Also, some protection of effect would be great too(Maybe in permission)
Mb you can make config like in ZombieInsanity ?
@JohOply
I would make sure you have nothing else on. I turned on the same three effects and things worked fine. Then again, it may just be a fix in the next build.
I'm not sure what is turning on instant healing.
Hello,
i think there is a bug... In my config :
And when a zombie hurt me :
Development on v1.4 has been started! Details can be found on the Dev Build page linked at the top. I am taking suggestions for this build, as I'm just about out of new features to add. I will be adding Skeleton support in this build (most likely), Skeleton and Ghasts have been giving me the most trouble.
Development slows down during the week due to school, however on the weekends, expect lots of feature changes. 1.4 will likely be more convenience updates rather than new features. If you feel an area of the plugin needs improvement, let me know. Config is at the top of this list, the main config file is too cluttered. I'm well aware of this.
@lenivets09
Yeah, I'm thinking of ways to improve the config, it's pretty long. In the latest update it's all in alphabetical order, so finding what you're looking for isn't impossible.
I'm not sure if I like the idea of 'Categories' the way you have it out. I am open for ideas, seeing as I'm developing it for other players, not myself. The config IS a priority in 1.4. I plan to make it so you're able to reload it in-game. Maybe even make it editable in-game.
Mb its better to make Categories ? Bad skills , Good skills. And Mobs , Animals.
And 1 Config for Category. Becouse its crazy to eddit all skills now..
1.3 is now out! You can download it at the link toward the top of the page until Bukkit approves it :). Changelog will be on the page.
@Trielkin
Ah, not sure why that error comes up D:.
PluginMetrics just lets me see how many people are using my plugin. Just some useful stats for me. Doesn't effect you much. Most likely, you have other plugins using it as well.