== Block Economy ==
A lightweight plugin that allows a player to earn money by mining, digging, and otherwise being destructive in the world. It does NOT Pay out on player-placed-blocks - so no farming your own builds.
Some servers don't want to use the entire job system, but want to bolster their economy without flooding the market - Block Economy allows that.
If your money plugin is compatible with Vault, it should work with no issues. If it does not, please contact me here via PM so we can get it fixed.
BE uses a config.yml file to track if it is supposed to pay out on a block or not - the first time you load the plugin, it will automatically generate the config file and provide you with an example using block 0 (since you can't break air ...)
The config:
main: debug: false announce: false defaultPrice: 5 allowMCMMO: false block: '0': override: 5 // Ignore Muplier/Default - This is the reward multiplier: 1 //How much * defaultPrice per Block - Use one OR the other. chance: 50 // Percentage chance to get the reward for breaking the block
Note Regarding Block ID This plugin takes into consideration data values: ie: 17:2 (Spruce Wood) is a different value than 17:0 (Oak wood).
When adding a block, add a modifier OR an override - not both. Override pays out that amount, period. Modifier will change the default amount - ie: defaultPrice is 5, modifier is 10 for obsidian, it will give 5 * 10 for breaking an obsidian block.
Prior to 2.3, all changes had to be made in the config. As of 2.3, Online commands have been added to allow editing without a reload.
The config will automatically save on each change - Alternately, you can still edit offline, and issue a "/blecon reload" to add the changes to game!
hdgraming has provided an example configuration - this includes all blocks currently found within Minecraft! Of course, you will want to sift through it yourself and adjust things as needed, but it's a great place to start!