MoneyDrop
MoneyDrop, the original money dropping plugin, is back and better than ever!
MoneyDrop drops virtual money, represented by an ingame item, when a mob or player dies. This money can be picked up by players, but will go into their wallet instead of their inventory. Vault and an economy plugin supported by Vault are required to run MoneyDrop.
Help support the development of MoneyDrop: Donate today! Every little bit helps!
Note: MoneyDrop version 2 uses different settings than version 1. Read the following instructions before updating or things will break!
How to set up MoneyDrop
The steps in bold are for those updating from version 1.
Step 1: Make sure you've got one of the supported economy plugins set up on your server.
Step 2: Download and set up Vault if you haven't already.
Step 3: Download the latest MoneyDrop and place it in your plugins folder.
Step 4: Back up your existing .yml files, then delete the original ones.
Step 5: Start up your server and shut it back down again.
Step 6: Edit the .yml files in the plugins/MoneyDrop folder with your favorite text-editor. This page tells you what does what.
Step 7: Start up your server and you're good to go!
MoneyDrop 2.2.0 supports permissions. The nodes are:
- MoneyDrop.pickup - Allows the player to pick up money.
Permission use needs to be enabled in The config files.
Extending MoneyDrop
MoneyDrop can be easily customized with other plugins.
For a list of plugins that make MoneyDrop even more awesome: Check here!
For information on how to create your own MoneyDrop extension: Check here!
FAQ
I found a bug!
Post a ticket and I'll try to fix it asap!
Bugs that allow players to get more money than intended should be PM'd, not ticketed.
Please don't discuss money duplication in the comments.
Something isn't working, can you help me?
I'll try, but I'll need the following info:
- The version of MoneyDrop you're using.
- A list of other plugins you're using.
- Any errors that pop up (the entire error message).
- Your MoneyDrop config files.
I can't pick up money when my inventory is full.
This bug has been around since the day MoneyDrop was made and is one of the few bugs that can't be fixed due to the way bukkit handles item pickups.
Why did you get rid of the WorldGuard and Spout stuff in version 2?
To increase the stability of MoneyDrop.
Don't worry, the features are still available, but in the form of an extra plugin. That way, if one of the other plugins isn't playing nice with MoneyDrop anymore, you can just remove the plugin that links the two.
I'll donate if you add this!
Donate because you like the work I've done, not because you want me to do something.
If you want a feature added, post it as a suggestion or hire me to make you a custom version.
Asking me to value your suggestion higher because you promise to donate is disrespectful to both me and your fellow users.
What's new in version 2
- You can now set the damage values to further customize your drops.
- Money is now easier to configure and has better support for decimal values.
- MoneyDrop will automatically add new mobs to your config file when they're added ingame. No need to update each time Minecraft does!
- Features relying on other plugins have been removed to make MoneyDrop more stable. You can find those features again in the form of a MoneyDrop-extending plugin.
- Many under the hood optimisations.
- A new event system makes it even easier to create plugins that customize MoneyDrop's behavior.
Changelog
2.2.0
- Fixed a bug that would cause MoneyDrop to not generate tamed mob variants in the config files.
- MoneyDrop now generates settings for all horse variants.
- Fixed a bug with inventory checking.
- Inventory checks can now be disabled in the config files. Do not disable checks if money can exist in an inventory!
- Added a setting to prevent hoppers from picking up money.
- Added a setting to prevent players in creative mode from picking up money.
- Added a setting to prevent mobs spawned by other plugins from dropping money (thanks TrenTech!).
- Added a setting to prevent mobs spawned by mods from dropping money (thanks TrenTech!).
- MoneyDrop now supports permissions. This can be enabled in the config files. The node is MoneyDrop.pickup
- Other bugfixes (thanks TrenTech!)
2.1.1
- Fixed a money duplication bug
- Fixed more rounding errors
2.1.0
- Fixed a money duplication bug
- Fixed the rounding errors in chat
- Added some missing features in the api
- Added an option to send a chat message when the player dies
2.0.0
- Initial release
For info on the outdated version 1, check out this page.
Creator's Note
A big thank you to the people who kept MoneyDrop alive during my year-long absence. You guys are amazing!
The mods have requested I remove the link to TrenTech's version. My apologies for the inconvenience.
Im using the most recent version along with 1.6.1 of Minecraft, and when i try to set Player-Attack to ANY percentage, it drops $0 every time. but when i set a percentage to any other value, whether its mobs or suffocation, it drops the correct percentage. any idea why?
@TrenTech
LMAO no not using that fail essentials shit. but your right maybe commandbook overrides /kill altho i don't see why it would need to.
This plugin Causes inventory LAG for YOUR players should be at the top of this plugins page.
The constant scanning of the players inventory for your "special item" causes the minecraft client to flip out its only part the plugins fault the other part is just bukkit.
Im guessing here but this makes sense with what i'm seeing. the plugin uses a for loop or some other very fast loop very frequently to check every players inventory for the item with the correct name and special lore.
The issue with that is that any items that the player moves in his/her inventory Lags out its messing up the Confirm packets from the server and delaying them thus making it seem laggy.
How to fix:
Stop spamming the shit out of checking every players inventory every time they move an item. instead only search the inventory when they pick an item up I know this causes a small security flaw if a player does get one of the items in their inventory using say a hopper but it wont do them any good as they can't recreate the lore. they will just have to drop the item to have it added to their account.
its taken me days to track down the cause of this inventory lag on my server and some warning would of been great.
@TrenTech
Thank you so much.
@ursak
Your mostly using a mod item-id that bukkit doesn't know how to handle. Some mods will use metadata instead of damage values to assign the same id to multiple items causing bukkit to freak out.
@MrREOM
check the precision option in the config
@ursak
no
I use this with mystcraft installed on our server, and everytime a player makes a new world a new config file for that world is created, is there anyway to just have a default config for all worlds? or change the default config it makes when ever a player loads a world?
How come the minimum and maximum isn't working for me? It always seems to go to the minimum it doesn't go in between or the maximum
Oh well. Still doesn't work.
First try gave an error that the ID didn't exist.
Second try didn't give any error but the config reseted.
Third try didn't give any error and the config didn't restet but mobs still drop gold nuggets.
I give up... ;(
@TrenTech
Thanks. It fixed it partly. I forgot it had different data since the config only let you set the ID. Beside this the mod strangely doesn't seem to use the ID's from the config anyway so they wasn't correct :P
Strange thought that it uses different ID's since I still had to change them in the config to not get a conflict. Oh well. Nothing that has anything to do with this plugin :P
Thanks for the help :)
EDIT: I take the "it works" part back. Seems like it reseted it back to standard 371 again. But it did work once. Then at server restart it reseted??? I don't understand anything at this moment. ;(
EDIT2: Seem to have got it working now. :P
Is there a way to disable players loosing money, upon death, while still dropping some?
@RustyDagger
I tested this and am assuming you have essentials. The essentials /kill command overrides the Bukkit kill command therefore MoneyDrop does not recognize the event as a suicide.
Bug Report.
with the following config: http://pastie.org/8252334
typing /kill on the map with the config the plugin does not behave correctly it does not take 40 from the player and it does not use the message I have typed in the config it uses the wallet default line in chat.
Seeing how /kill is part of vanilla minecraft this really should work It however does not. I tested this on 1.6.2
And
feature request. I know this is kind of against the plugins name but an option to not drop player death money on the ground would be awesome my players think its cool to kill them self to gain Hp as natural heath regen is disabled. so making it cost them would be nice. instead of o look i died i dropped money lets pick it up again.. yep and the point was? Lost. or atleast have it so they cant always pick up the full amount the first may be easyer to add tho. either way I really want a death penalty.
@noobinator_boy
what are the odds of me RANDOMLY just stumbling on to you here?! are you still running your server?
I love your plugin
@TheFierCeBuLL
This plugin works fine for 1.6.2. There's no need for an update. If your having problems use the copy posted a few comments down
Awesome plugin simple and works Very Very happy exactly what i was looking for I was able to add the death cots to my server and replace phatloots bonus!
@DrakeSpirit Please update this plugin to version 1.6.2. Thank you!
@ursak
Try putting the item id in quotes if it contains metadata like so
'30186:2'
I have two things I wonder about that is kinda problem for me.
First is that if I configure this and a couple of other plugins so that chests in dungeons can contain money then the goldnuggets have to be moved from the chests and then thrown on the ground before they can be picked up as money, othervise they are "physical" money/nuggets in your inventory. No biggie.
The secon is that this plugin doesn't seem to support modifications which is sad. The reason is that I have a mod that actually add coins to the game and I'd thought these coins would be awesome to have as the dropped money.
When trying to change the config to use the coins thought I get this error:
And all I get ingame is the nuggets again.
I understand that none of these are "bugs" since they all are things connected to plugins/mods. This plugin works like a charm othervise, but since it supports all modded entities so well I thought I'd just meantion this in the hope you'll find a way to fix it, or not. Love the plugin no matter what. :)