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.
@AnxAlbumxCover
Outdated Java Runtime Environment. You need 1.7.
@MistPhizzle
When I start my server, it basically fails to load the plugin.
"[SEVERE] Could not load 'plugins\MobEffects.jar' in folder 'plugins'"
then it says "Unsupported major.minor version 51.0"
Later on "Caused by: java.lang.UnsupportedClassVersionError"
I'll supply you with any additional info you need.
@BrandonAest
Let me clarify: So when a player hits a mob, it could get the Potion Effect as well? If so
I don't see why not.@AnxAlbumxCover
Error log on startup?
I feel pretty dumb. I pasted the .jar file into my plugins folder, but when I start my minecraft bukkit server, it won't load your plugin. The only other plugin I'm using is "Shopkeepers", which works fine. Is there maybe something I'm not doing, or an incompatibility with "Shopkeepers"?
Any way you’d make some kind of vampirism attack? Where the mod would gain *Regeneration or in their case poison?* heal over time after attacking you. I.E Zombies have a 15% chance to heal as they eat you alive.
Or the monster has a % chance to gain X potion effect on attack. I know it adds more scope to your project but it completes the idea.
@toxictroop
The world name is probably case sensitive. By default 'world' is the one you should use.
The plugin appears to be working perfectly, post your main config on http://pastie.org if changing your world name does not work.
This plugin is confusing to set-up..
its not working with me, i have debugged it tons myself, i have the worlds set to 'World', this is my minecraft server world name, i have zombie blindness set to true, and nothing else, it doesn't work..
latest version, no errors displayed.
@EsZeus
I can't do anything without specifics. You're writing in fragments which is hard to deal with. There are a ton of different files, please tell me specifically which ones so I can fix it.
You can also chance the words in the config yourself. It looks for "DodgeChance"
So you can just change any of them to that.yes, and i ment that the config files are messed up! The plugin is creating config files with "DodgeChange" and "DodgeChannce"
Didnt you read it correctly? xD Its written wrong :D
Adn yes, im using 1.5 ^^
EDIT: Ok, i got my world config wrong. it was world, but my world ist with a BIG W ;) But still: The configs are wrong written xD
@EsZeus
Try downloading the new version of the plugin (If you haven't already). When testing it on the latest 1.4.6 Beta Build things seem to be working flawlessly.
DodgeChance is a % chance of dodging the effect (Not the mob hit - but just the % chance of the potion effect not being added)
Have a problem ;)
Im using this plugin since yesterday, configured all files correctly, but the effects are not yet active ingame.
Why?
2. Thing: I saw something under the "Wither" Line, in the config file. "DodgeChange: 10" DodgeCHANGE ?? Is this correct? Or did you messed your config up? :D
greetings^^
Ps.: AND you added something like "DodgeChannce" in your files. Sure you tested all before launching this version?^^
@Nickbbeezy
Haha, no problem. I didn't realize it was a problem as I had stopped using the plugin on my own server some time ago. It came up with the 1.4.6 builds of Bukkit I believe (as when I was testing it, it worked perfectly until I updated.)
"You no longer have to use /mobfx reload for the plugin to work. Actually works on startup now. "
God, I thought it was just me...Thanks for the update :)
Alright: v1.5 is here.
You can view the changelog and download it here: http://dev.bukkit.org/server-mods/mobeffects/files/8-mob-effects-v1-5/
ah thank you, much appreciated :D
@MrMightyGnome
Will update it tomorrow. I've been busy. Thanks for the error reports though
please update, it needs a hotfix :)
Hello!
this doesnt seem like it is working for 1.4.6 bukkit.. here is my config
(i only edited the zombie one)
~~~cut~~~
DodgeChance: 10
Hunger:
Enabled: true
Power: 1
Time: 1000
DodgeChance: 0.0
Invisibility:
~~~cut~~~
@MinecraftAdmin
I have created a ticket based on your comment. I really need to get back into developing this plugin, other projects have kept me occupied. I'll test the issue, try to fix it, and I'll send you a PM when it's done.
Ticket: http://dev.bukkit.org/server-mods/mobeffects/tickets/5-the-age-chances-of-getting-affected-dont-seem/