MobRevival
GitHub: Source Code
A fun plugin that will make sure your server's animal supply does not run low! This plugin will spawn the baby form of a mob upon it's death.
| Permission | Function |
|---|---|
| mobrevival.reload | Allows user to reload the plugin after configuration changes |
| mobrevival.chicken | Allows user to spawn a baby chicken upon killing a chicken |
| mobrevival.cow | Allows user to spawn a baby cow upon killing a cow |
| mobrevival.pig | Allows user to spawn a baby pig upon killing a pig |
| mobrevival.sheep | Allows user to spawn a baby sheep upon killing a sheep |
| mobrevival.horse | Allows user to spawn a baby horse upon killing a horse |
| mobrevival.rabbit | Allows user to spawn a baby rabbit upon killing a rabbit |
| mobrevival.ocelot | Allows user to spawn a baby ocelot upon killing an ocelot |
| mobrevival.wolf | Allows user to spawn a baby wolf upon killing a wolf |
Commands
The only existing plugin is "/mrreload" which allows the user to reload the plugin after configuration changes without having to reload the whole server!
Configuration (config.yml)
This is a super simple config, it contains names of mobs that are spawnable upon death. Set to true to allow the spawning and set to false to disable it! The plugin configuration (config.yml) now includes areas where you may change the percentage that mobs can spawn.
Notes
- This is plugin is a very simple plugin that I'm using as a tool to learn plugin development. I decided to publish this plugin because its simple and fun and I know of a few servers that have been wanting this and can use it. Because I'm using this as a learning tool I did not bother to check if there are better/ current versions of this sort of plugin.
- If you find any bugs please let me know in the comments and I'll fix them ASAP
- If there are any features you guys desire post them below and I'll add them in the next release!
Planned Features
- Allow server managers to set a percentage that the baby will spawn (Suggested by OficialSaciDePatinete)
- Allow server managers to set a number of babies that will spawn (Suggested OficialSaciDePatinete)
- Allow server managers to change config.yml values through user friendly commands
Change log
07/21/2015 - You can now reload the plugin without having to reload the server! (Make sure to download the latest file)
07/19/2015 - You can now set percent chances that a mob will spawn a baby form!
07/15/2015 - Plugin submitted
-
View User Profile
-
Send Message
Posted Jul 19, 2015@OficialSaciDePatinete
Sorry if I misinterpret anything you've written, its a bit hard for me to understand :). Can you re-explain what you're talking about when referencing the configuration? That was a bit unclear to me.
Also the mushroom cow issue is known and I removed it from the plugin as a whole because it does not allow you to respawn the mushroom cow.
-
View User Profile
-
Send Message
Posted Jul 19, 2015Guy, thanks for accepting my suggestion! I wish much success to you, just u have to add configuration by percentage has stayed very cool when launching my RPG server will use esss plugin as a benefit for one of my classes. I have a suggestion, and also report a "bug" that occurs. suggestions: - Setting to determine whether only adult animals can relive like babies, or both adults and puppies can relive like babies. bug: - When a Mushroomcow is dead, she relives as a normal cow.
-
View User Profile
-
Send Message
Posted Jul 16, 2015@OficialSaciDePatinete
Ah thanks for telling me this, the messages were there for debugging purposes and were removed for the official release. Also those ideas sound great, they'll be in the next release hopefully
-
View User Profile
-
Send Message
Posted Jul 16, 2015Dude you are to be congratulated! This plugin is very cool, I have some holes ideas to add the plugin, I believe you liked: - Create translation file to translate the messages displayed when you kill a mob. - Enable or disable the display of messages. - Number of mobs babies that are spawned. - And most importantly, the percentage chance of a mob baby being spawned.