EpicDrop
EpicDrop
Development will be slowed due to personal reasons
Development will be slowed due to personal reasons
Go below to Dev Builds to get my GitHub versions and Patches!
About
About
- EpicDrop is a simple Mob Drop plugin created by EpicUnknown.
- It is very easily configurable and contains a reload command so you do not have to reload the entire server after one change.
- Can be easily turned on or off.
- Allows you to edit the mobs health!
- Allows you to edit how MUCH the mob drops on death!
- Drops must be block names!
Permissions
Permissions
Node | Description |
edrop.reload | Allows the /eDrop Reload Command to be used. |
edrop.config | Allows you to edit config In-Game through /edrop edit command. |
edrop.toggle | Allows you to turn on/off EpicDrop. |
edrop.drops | Allows you to turn on/off Drops. |
edrop.* | Allows you to do it all. |
If you wish for any to be added then please notify me.
Commands
Commands
- /eDrop reload - Reloads the Config File for EpicDrop.
- /edrop on - Turns on EpicDrop.
- /edrop off - Turns off EpicDrop.
- /edrop bothdrops - Turns on/off Default Drops.
- /edrop playerdrops - Turns on/off Player Drops.
- /edrop status - Shows the status of all the main EpicDrop values.
- /edrop inv - Turns on/off Inventory Placing.
- /edrop resetall - Resets the entire config file back to the defaults. (Added v1.1.0)
- /edrop health <normal / nether / end> - Turns on/off Custom Health for Mobs. (Added in v1.1.1)
- /edrop debug - Used to display any errors if something doesn't work. (Added in v1.1.1)
- /edrop moneydrop - Turns on/off MoneyDrops from Mobs. (Added in v1.1.1)
- /edrop healthregen - Turns on/off HealthRegen (Added in v1.2.0)
- /edrop message <regen/moneydrop> - Turns on/off HealthRegen and Money Messages (Added in v1.2.0)
- /edrop resetall - Resets the entire config back to default (Added in v1.2.0)
- /edrop percent - Turns on/off Percentages for Drops! (Added in v1.4.0)
- /edrop edit - Configure everything IN-GAME (Added v1.4.0)
- If you wish for any command to be added let me know
All Mobs Are Currently Supported!
- Rabbits, Guardians, and Elder Guardians are supported in v1.3.0 and on!
Changes
Changes
Added things | Removed Things | In Development | Fixed Issues | Thoughts
Version 1.2.0
- Added customizable HealthRegen upon killing a mob!
- Added /edrop healthregen command to turn on/off HealthRegen.
- Added ability to turn off MoneyDrop messages and HealthRegen Messages.
- Metrics was added to EpicDrop!
- Fixed when you did not have Vault it would give you an error upon starting the server.
- Also doesn't allow you to use /edrop moneydrop command unless Vault is installed.
Version 1.3.0
- UPDATED TO 1.8!
- Added new mobs! (Guardian, Rabbit and Endermite)
- v1.3.1 Patch fixed the "Mob, <MobName> doesn't have a set health!" in The_End
- Added /edrop health end in v1.3.1 Patch
Version 1.4.0
- Added Percentages!
- Added /edrop percent
- Added /edrop edit <MobName> percent <0-100>
- Changed Permission Nodes! Please check the new ones!
- Adding multiple Items per mob and different ItemAmounts for each Mob
- Adding commands to edit Config File IN-GAME so you never have to touch the Config File.
- Multiplier on at a certain time of the day!
Versions
Versions
Newest Version: 1.3.1
Dev Build: 1.4.0
Care to help/view my code? Visit My GitHub page for up to date content just about every couple weeks.
Important
- Drops MUST be names!!
Hi i'd really love a video tutorial on how to configure this plugin such as editing mob health and drops.
That is my config, the only thing I did since installing the plugin is make every mob drop GOLD_INGOTS and 0 money, because I use an item based currency. http://pastebin.com/x6wadkkD
@MrRhino27
Thats implemented in v1.4.0b that I'm playing with right now. I am just adding more things to it before I release it. But yes it is already added! :D
@k3ldon and @LastTulare
That's really weird.. It seems to work fine on my side and I haven't touched the getMobHealth Function since I've created the plugin. Could you guys send me your config.yml in pastebin please.
Also, That "Error" code you're seeing is from the mob having a health of "0". That could be one of the few reason it shows, another reason could be that the Config.yml format was edited such as names were put into lower case or mismatched.
[11:14:08] [Server thread/INFO]: [EpicDrop] [ERROR]: Mob, ZOMBIE doesn't have a set health! [11:14:08] [Server thread/INFO]: [EpicDrop] [ERROR]: Mob, SKELETON doesn't have a set health! [11:14:08] [Server thread/INFO]: [EpicDrop] [ERROR]: Mob, SPIDER doesn't have a set health!
Running the dev build 1.4.0 and the console is spammed with mobs not having set health. Even tho I turned off the custom health for normal and nether.
Heya, do you plan on making chance a factor? I'd really like mob eggs to be able to be dropped, but at like 1% chance.
@WhalesAreDelicious
Out of curiosity you said everytime ANY mob is killed? Thats weird :/
It looks as if the name for the item you want the mob to drop is not correct.
In a private message could you send me a copy of your config so I may look at it please?
Hi, I'm receiving an Event Exception error everytime a mob is killed when using your plugin, although everything appears to be working fine. Here are the error details:
[02:26:51 ERROR]: Could not pass event EntityDeathEvent to EpicDrop v1.2.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) [spigot.jar:git-Spigot-52c130f-89944c0] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot.jar:git-Spigot-52c130f-89944c0] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-52c130f-89944c0] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-52c130f-89944c0] at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:363) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntityLiving.die(EntityLiving.java:836) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntitySkeleton.die(EntitySkeleton.java:125) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntityLiving.damageEntity(EntityLiving.java:774) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntityMonster.damageEntity(EntityMonster.java:44) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntityHuman.attack(EntityHuman.java:1002) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.EntityPlayer.attack(EntityPlayer.java:1050) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:1312) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-52c130f-89944c0] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_09] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) [?:1.7.0_09] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_09] at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-52c130f-89944c0] at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-52c130f-89944c0] at java.lang.Thread.run(Unknown Source) [?:1.7.0_09] Caused by: java.lang.NullPointerException: Name is null at java.lang.Enum.valueOf(Unknown Source) [?:1.7.0_09] at org.bukkit.Material.valueOf(Material.java:65) [spigot.jar:git-Spigot-52c130f-89944c0] at net.unknown.epicdrop.MobDeath.checkMobDrop(MobDeath.java:40) [?:?] at net.unknown.epicdrop.Listeners.onMobDeath(Listeners.java:37) [?:?] at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_09] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_09] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) [spigot.jar:git-Spigot-52c130f-89944c0] ... 22 more
I'm currently using Spigot 1.8 Build 19.
Thanks for making this plugin by the way :)
@LepercyXL
Its funny you say that LepercyXL I'm working on that as we speak! I've thought of a way to do it and I'm implementing and testing it.
I'm also adding alot more features so I would say that update should be up in a week probably.
is there anyway to assign a percent to chance for a drop for money? items? like i would like to see this...
PLAYER: Item: APPLE ItemAmount: 1 MoneyDrop1: 25.0 Chance: 25.0 MoneyDrop2: 75.0 Chance: 10.0 RegenAmt: 2.0 CustomHealth: Normal: 20.0 Nether: 20.0
yes works! but with issues:
http://paste.ubuntu.com/9610758/
ty
It should k3ldon. If not just let me know what kind of error log it produces and I'll fix the problems it has and re-upload a version for it.
that support spigot 1.8?
@Code_Runner_15
Yeah I've being trying to think of a way to do that as well as making it hookup to an economy plugin so that way if you choose, you can receive money for killing mobs to use for plugins such as ChestShop and SignShop and what not.
Can you make percentages? like there is a 10% chance to get 1-4 items?
June 15th 2014 I started re-coding EpicDrop from the ground up yesterday. Mainly because I didn't like the code and my old laptop's hard drive corrupted with all my coding stuff on it. :/
So here I am today letting everyone know that I'm recoding it and it will be up ASAP and I will be trying to add an economy type thing into this plugin!
@Mattrock607
Hmm I like that idea. Although I haven't used Vault in my previous Economy personal plugins I would have to figure that out but if you have anyone who would want to do that I would certainly allow them to try with the source code. Just shoot me a message.
I'm trying to find a good replacement for CookieMonster, where I can have items AND currency (via Craftconomy/ Vault) drop. I'm not seeing anything about this dropping currency, but I figured I would suggest it. It would be amazing beyond awesomeness.
@avengershockey
It doesn't allow multiple item drops yet but I think I could make that possible.