GenerousMobs

GenerousMobs v1.3

Lightweight plugin so mobs drop economy money and more!


This plugin makes it so all mobs can drop a configurable amount of money when killed. All mobs have a separate configuration which allows a minimum and maximum value to be entered, as well as whether or not it's a reward or fine. On top of that it's possible to add custom item drops to mobs. There's also per-mob permissions, localization and more.


Usage

Simply place the GenerousMobs.jar file into your /plugins directory and start/reload your server. You can make changes to the configuration file while the server is online and use the reload command to refresh the changes.


Current Features

  • Mobs drop economy money
  • Configurable drop amounts
  • Rewards, fines, or nothing can be given
  • Minimum and maximum drop amounts
  • Drop amounts will be randomly chosen between those the values
  • Mobs drop custom items
  • Custom item drops allow for in-depth editing including display name, lore, enchantments and more
  • Per-mob permissions
  • Localization
  • Option to stop mobs spawned by monster spawners from dropping money
  • Reload command
  • Reset command

Planned Features

  • Kill-streaks
  • Suggest below

Plugin Spotlight

Due to DevBukkit's page encoding constraints it is not possible to embed a video. You can check the video out here. The video was made by LeProDude, thanks!


Dependencies

This plugin requires Vault and a Vault supported Economy plugin.


Configuration Snippet

Pig: 0.5#5#gain
Cat: 5#50#loss
IronGolem: 0#0#gain

  • Pig/Cat/IronGolem is the name of the mob.
  • 0.5/5/0 is the minimum amount the mob will drop.
  • 5/50/0 is the maximum amount of the mob will drop.
  • gain/loss is whether or not the player should be rewarded or fined.

Other configuration options:

  • SpawnerRewards.Enabled - Whether or not players should receive money for defeating mobs that came from monster spawners.
  • PreventKillIfBroke.Enabled - Whether or not players should not be able to kill a mob if they can't afford the fine.

The localization settings are pretty self-explanatory. You can use all chat formatting codes. Use %amount% to show the reward/fine and %name% to show the mob name set below.

The CustomDrops section is again, rather self-explanatory. The template is id;data;amount;enchantments;name;lore;dye=chance and you just replace it with the values. An example would be 397;0;1;DURABILITY:10;&6Skeleton_Skull;&dThe_power_of_the_Skeleton,Amazing;null=10 which drops a Skeleton Skull (id 397, damage value 0) of amount 1, with the enchantment Unbreaking X, the name Skeleton Skull in gold font, and the lore The power of the Skeleton and Amazing in pink font, with a chance of 10% to drop. The id, data and amount is necessary, but the rest can be replaced with null if you do not want to have those options. For example 276;0;1;null;null;null;null=100 would drop a diamond sword 100% of the time. The colour option is in RGB, so for example 50,255,50 would be green. All enchantments can be found here.

The default configuration can be found here.


Commands & Permissions

In the column 'Default,' OP means all opped players get the permission, TRUE means everyone gets the permission, and FALSE means no one gets the permission, by default.

Permission Node
Description
Default
GenerousMobs.Mob.* Inherits all GenerousMobs.Mob.<MobName> permissions. TRUE
GenerousMobs.Mob.<MobName> Loot money from the specific mob. A list of mobs is available here. N/A
GenerousMobs.Reload Access to /GMobs reload - Reloads the configuration file. OP
GenerousMobs.Reset Access to /GMobs reset - Resets the configuration file. OP


Change Log

Click here for the change log.


Statistics


Support the Development

If you find this plugin useful then please support the development of it by donating.

Donations so far:

  • None

Donate


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files