Inactive [ECON/MECH] MoneyDrop v1.6.2 - Drop tangible virtual money from players and mobs! [Spout] [1.2.5-R1]

Discussion in 'Inactive/Unsupported Plugins' started by DrakeSpirit, Aug 24, 2011.

  1. [​IMG]



    What does it do?
    It does what it says on the tin: MoneyDrop drops money.
    When a player or mob dies he will drop a configurable amount of virtual money (read: iConomy money) on the ground with the other loot he had.
    This money can be picked up by other players just as they would pick up normal items. Instead of going into their inventory, the money will go directly into their wallet.

    Sounds good, but does it support my economy plugin?
    MoneyDrop supports iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP thanks to Vault.

    So how do I set this thing up?
    Step 1: Make sure you've got one of the supported economy plugins set up on your server.
    Step 2: Download and set up the Vault plugin.
    Step 3: Download MoneyDrop.jar and place it in your plugins folder.
    Step 4: Start up your server and shut it back down again.
    Step 5: Edit the .yml files in plugins/MoneyDrop with your favorite texteditor.
    Step 6: Start up your server and you're good to go!

    Whoa there, what's all the stuff in .yml files for?
    MoneyDrop creates a seperate .yml for each world you're using. They'll be named the same as the world they affect. The options in each file are the same, so if you want to use the same settings for each world, you can fill in 1 file and copy the contents to the other files.

    Dropped-Value is the value of 1 money item. If you set this to 0.1 and you let a sheep drop 64 items, the player who picks up the stack will receive 6.4 money. Keep in mind that when you set dropped amounts later on, you will be setting the quantity of items dropped, not the quantity of money.

    Player-Dropped-Amount is the amount of money items a player drops/keeps when he dies.
    40 will cause a player to lose up to 40 money when he dies, -40 will cause a player to lose all but 40 money and 40% will cause a player to lose 40% of their money.
    You can set a seperate value for each deathcause. Keep in mind that lava falls under fire, not other.
    % is the actual amount of money lost, not the number of items dropped. If the money can't be fully converted into items (e.g. 14 money with a money value of 5), the grim reaper will keep the change (so only 2 items will drop, for a total of 10 money).

    Dropped-Material-ID is the id of the material dropped money will look like. The default is 266 (gold bar).
    Unfortunatly, materials with multiple versions such as dyes will be invisible except for the shadow they cast.
    When you change this, all money that was already on the ground when you shut down the server will keep the old appearance, but can still be picked up as money.

    Pickup-Chat-Notification-Enabled will send a chat message to the player with the amount of money he picked up.
    Pickup-Achievement-Notification-Enabled will do the same, but in an achievement window if your server and the player is running Spout.
    You can set the displayed message with Pickup-Chat-Notification-Message, Pickup-Achievement-Notification-Message and Pickup-Achievement-Notification-Title.
    The word "<money>" (without the quotes) will be replaced with the picked up value.

    Pickup-Sound will play a sound if your server and the player is running Spout.
    Put an url like http://dl.dropbox.com/u/11950680/MoneyDrop/coin.wav here. Accepted file formats are .wav, .ogg and .midi.
    Keep in mind that players will have to download and listen to this, so don't put something huge like Beethoven's 5th here!

    Independent-Drops sets if the money is added to the list of mob drops or if it's dropped independant of it.
    If other plugins prevent items from dropping, but you'd still like MoneyDrop to drop money, set this to true.

    Mobspawner-Drops-Allowed will prevent monsters spawned from mob spawners from dropping money if this is set to false.

    Mobs-Only-Drop-On-Kill will only make mobs drop money if they are finished off by a hit from a player if set to true. If set to false, mobs will always drop money on death.

    The WorldGuard settings allow you to set wether or not a player/mob should drop money depending on the region it's in.
    Global-Mob-Drops is the general setting wether or not mobs drop money. This will be overridden by specified regions.
    Global-Player-Drops does the same, but for players.
    Mob-Drop-Enabled-Regions is the list of region names where mobs will drop money.
    Mob-Drop-Disabled-Regions is the list of region names where mobs won't drop money.
    Player-Drop-Enabled-Regions is the list of region names where players will drop money.
    Player-Drop-Disabled-Regions is the list of region names where players won't drop money.
    If any of these regions overlap, the smallest region will take effect.

    You can configure money drops per mob:
    Dropped-Minimum is the minimum amount of money a mob will drop.
    Dropped-Maximum is the maximum amount. If it's lower than the minimum amount, it'll be set to the minimum amount.
    Dropped-Frequency is the chance a mob has to drop money. 1.0 is 100%, 0.5 = 50%, etc.

    If Spout or WorldGuard are conflicting, you can disable MoneyDrop support for them by setting their Enabled properties to false.

    How can I get my own plugins to play nice with yours?
    If you're messing with player/monster drops and you don't want MoneyDrop to be affected, change Independent-Drops to true.

    If you want to poke around in my plugin, the source is included in the jar. You're free to mess around with it, but give me credit.

    If you want to build on my plugin, you can use dropMoney(Location location, int amount) to drop currency at that location.
    You can use the getWorldSettings method to take a look at the settings for that world, so if for example you want to know the material id used in the world "world", use MoneyDrop.getWorldSettings("world").getMaterialID().

    This stuff's pretty awesome, can I buy you a drink?

    [​IMG]

    Something's not working right, can you help me out?
    Of course, but I'll need the following information:
    • How and when it happened, so I can try to replicate it on my test server
    • The entire error log
    • The contents of the affected world's .yml file
    • A list of the plugins you're using that affect economy, item pickups or mob deaths
    • The MoneyDrop version you're using
    Please check if you're running the latest version of your plugins before posting.


    Changelog
    1.6.2
    • Added support for Ocelots, Cats and Iron Golems.
    1.6.1
    • Updated for 1.1-R5.
    1.6
    • Added Minecraft 1.0 creatures.
    • MoneyDrop now requires Vault instead of Register.
    1.5.1
    • Minor bugfixes.
    1.5
    • Support added for multiple worlds.
    • Fixed a bug that allowed broke players to drop money.
    1.4
    • MoneyDrop now requires Register as a seperate plugin.
    • Preferred Economy now needs to be set through Register.
    • Added Mobs-Only-Drop-On-Kill property.
    1.3.2
    • Fixed a bug with Register.
    • MoneyDrop now complains when you're using an invalid Material ID.
    1.3.1
    • Fixed spout support.
    • Fixed mobspawner drops.
    • Added support for the giant and human mobs.
    1.3
    • Added support for 1.8 mobs.
    • Optional plugins can now be disabled.
    • The value of a single dropped item can now be set (decimal support).
    • Pickup notifications are now customizable.
    • A preferred economy plugin can now be specified.
    • You can now choose whether or not monsters spawned from mobspawners drop money.
    1.2
    • You can now set a different value for each player death cause.
    • Fixed a bug that caused mobs to always drop the minimum amount.
    1.1
    • Added % support to the Player-Dropped-Amount setting.
    • Added WorldGuard region support
    • MoneyDrop doesn't discriminate money based on looks anymore.
    1.0
    • Initial release
     
  2. Deren909 Sure!
    SniperGuy That's odd, is Vault hooking into your economy correctly?
    a11111 If you do that, keep in mind that people with less than that amount will lose all their money without dropping anything.
    skrety UnknownDependencyException: Vault usually means the Vault plugin is missing.
     
  3. Offline

    GoTheRedSox

    nice plugin but if the player has lets say 1,000,000$ and he dies at 40% it completely crashes the server due to an intense number of items dropped in the same location. anyway to fix this?
     
  4. Offline

    C0DG0D42

    My config file keeps getting reset. Help!
     
  5. Offline

    Royalgamer06

    Mine too, it says 'no config found for world <world>, generating a new one'.
     
  6. Offline

    omega3141

    It seems to complain for various worlds here at times, but all the files exist, havent had it reset though, maybe ive been lucky
     
  7. Offline

    Deren909

    Ive finally completed a quick showcase of what the plugin does! I hope you add it to the page Drake. :)
     
  8. Offline

    grant1222

    I keep getting this error!

     
  9. Offline

    t3kn0guy212

    Any idea on how i can get the ender-dragon to drop 1-2 million cash without a huge epic lag and crash.
     
  10. Offline

    Duskye

    Hi, I've installed your plugin, and I have vault installed and boseeconmy install as well, though the mobs don't drop money, i think it's because I don't have vault linked into boseeconomy, can you please help me link them?
     
  11. Offline

    Patolord

    IF YOU ARE A DEV USE BUKKIT DEV!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
  12. Offline

    EMOberger

    IF YOU ARE A LAZY ADMIN TRY SEARCHING BEFORE POSTING ANNOYING SHIT IN ALL CAPS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    http://dev.bukkit.org/server-mods/moneydrop/
     
    Sketaful likes this.
  13. Offline

    MrStealthDog

    I have all up-to-date plugins but when i start server and try to kill a mob it just dies...no money. Ive searched all day and this is the only place left. there are no errors on startup...Heres my config:

    Settings:
    Mobspawner-Drops-Allowed: true
    Mobs-Only-Drop-On-Kill: false
    Dropped-Material-ID: 371
    Dropped-Value: 1.0
    Spout:
    Enabled: true
    Pickup-Sound: ''
    Pickup-Achievement-Notification-Enabled: true
    Pickup-Achievement-Notification-Title: $$$
    Pickup-Achievement-Notification-Message: Picked up <money>$
    Pickup-Chat-Notification-Enabled: true
    Pickup-Chat-Notification-Message: Picked up <money>$
    WorldGuard:
    Enabled: true
    Global-Mob-Drops: true
    Mob-Drop-Enabled-Regions:
    - exampleregionname1
    - exampleregionname2
    Mob-Drop-Disabled-Regions:
    - exampleregionname
    Global-Player-Drops: true
    Player-Drop-Enabled-Regions:
    - exampleregionname
    Player-Drop-Disabled-Regions:
    - exampleregionname
    Independent-Drops: false
    Player-Dropped-Amount:
    Mob-Attack: '10'
    Player-Attack: '50'
    Block-Explosion: '50'
    Block-Contact: '50'
    Drowning: '50'
    Fall: '50'
    Fire: '50'
    Suffocation: '50'
    Suicide: '50'
    Other: '40'
    Mobs:
    Blaze:
    Dropped-Minimum: 50
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
    Cat:
    Dropped-Minimum: 1
    Dropped-Maximum: 3
    Dropped-Frequency: 0.0
    Cave-Spider:
    Dropped-Minimum: 25
    Dropped-Maximum: 50
    Dropped-Frequency: 0.0
    Chicken:
    Dropped-Minimum: 2
    Dropped-Maximum: 5
    Dropped-Frequency: 0.0
    Cow:
    Dropped-Minimum: 2
    Dropped-Maximum: 5
    Dropped-Frequency: 0.0
    Creeper:
    Dropped-Minimum: 25
    Dropped-Maximum: 50
    Dropped-Frequency: 0.0
    Ender-Dragon:
    Dropped-Minimum: 50000
    Dropped-Maximum: 100000
    Dropped-Frequency: 0.0
    Enderman:
    Dropped-Minimum: 25
    Dropped-Maximum: 50
    Dropped-Frequency: 0.0
    Ghast:
    Dropped-Minimum: 100
    Dropped-Maximum: 200
    Dropped-Frequency: 0.0
    Giant:
    Dropped-Minimum: 10000
    Dropped-Maximum: 20000
    Dropped-Frequency: 0.0
    Human:
    Dropped-Minimum: 99
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
    Iron-Golem:
    Dropped-Minimum: 75
    Dropped-Maximum: 125
    Dropped-Frequency: 0.0
    Magma-Cube:
    Dropped-Minimum: 20
    Dropped-Maximum: 40
    Dropped-Frequency: 0.0
    Mooshroom:
    Dropped-Minimum: 50
    Dropped-Maximum: 50
    Dropped-Frequency: 0.0
    Pig:
    Dropped-Minimum: 2
    Dropped-Maximum: 5
    Dropped-Frequency: 0.0
    Ocelot:
    Dropped-Minimum: 5
    Dropped-Maximum: 10
    Dropped-Frequency: 0.0
    PigZombie:
    Dropped-Minimum: 75
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
    Sheep:
    Dropped-Minimum: 2
    Dropped-Maximum: 5
    Dropped-Frequency: 0.0
    Silverfish:
    Dropped-Minimum: 50
    Dropped-Maximum: 75
    Dropped-Frequency: 0.0
    Skeleton:
    Dropped-Minimum: 75
    Dropped-Maximum: 50
    Dropped-Frequency: 0.0
    Slime:
    Dropped-Minimum: 55
    Dropped-Maximum: 60
    Dropped-Frequency: 0.0
    Snow-Golem:
    Dropped-Minimum: 30
    Dropped-Maximum: 40
    Dropped-Frequency: 0.0
    Spider:
    Dropped-Minimum: 50
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
    Squid:
    Dropped-Minimum: 10
    Dropped-Maximum: 20
    Dropped-Frequency: 0.0
    Villager:
    Dropped-Minimum: 50
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
    Wild-Wolf:
    Dropped-Minimum: 100
    Dropped-Maximum: 101
    Dropped-Frequency: 0.0
    Tamed-Wolf:
    Dropped-Minimum: 50
    Dropped-Maximum: 90
    Dropped-Frequency: 0.0
    Zombie:
    Dropped-Minimum: 50
    Dropped-Maximum: 100
    Dropped-Frequency: 0.0
     
  14. Offline

    Janb

    Hi, putting this in the right place:

    Any plans to allow color codes for the output message? That'd be boss. Also, any way to display only a whole number/get rid of the decimal?
    Thanks!
     
  15. Offline

    UltraFaceguy

    Or even better, add support for this: http://dev.bukkit.org/client-mods/simplenotice/
    It makes a small message appear top left of your screen, separate from the chatbox, a couple of other plugins have it as an option, and I must say it works VERY nicely!

    Seriously though, on a list of my 30 plugins I have running, I'd have to say this is number four. Adding simple notice support would bump that up to two o_o
     
  16. Dropped-frequency: 0.0 means it never drop. 1.0 means I always drop and 0.5 means it drop 50% of the times. So change the droprate cause right now you've configured it to never drop. :)
     
  17. Offline

    UltraFaceguy

  18. It resets config to all items costing 0.0 at every restart. I have to write-protect the config.
     
  19. Stop the server, change the config, save, start the server.
     
  20. thats more easy said then done? i dont know what to change. I have done that many times with same result, so i want to know what to do.
     
  21. If you stop the server. Not pause it, or reset it or reload it but put it to a full stop and then change the config it shouldn't change back. What you need to change it the config is the part I've already posted.
     
  22. just not the case. it still resets the config.
    Using git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
    moneydrop.ja is 38kb. gameversen CB 1.2.5-R1.0
     
  23. Well, can't help you with that I'm afraid. It works for me and I have no clue why it would reset unless some of your changes are messing up the config so much it reloads the default.
     
  24. Offline

    pumakid98

    What is sound pick up can i u put sounds?
     
  25. Offline

    war56aj

    Cannot load plugins\moneyDrop\world.yml
    org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here
    in "<string>", line 42, column 45:
    ... Maximum: 25 Dropped frequency:1

    Please help its not loading any of my edits to the world.yml so it won't drop any money what so ever.
     
  26. Offline

    UltraFaceguy

  27. Offline

    Mime21

    Not working @ all for 1.3.1.
     
  28. Offline

    letmedl

    Is version for 1.3.1 in develop? If not can some one recommend replacement??
     
  29. Offline

    joshp97

    for some reason this doent work on my server when i type /pl the plugins there but when i kill a monster no gold nuggets drop and i dont get any money :(
     
  30. Offline

    Destroyer7712

    For some reason my config erases every time i restart or reload the server, can you help with that?
     
  31. Offline

    ibuildparadise

    i cant exchange gold nuggets to gold ingots, and gold ingots cant exchange to gold nuggets.

    only when i use the "give command" i can exchange them, the plugin-dropped dont work, please help!
     

Share This Page