MakeMoneyMining
Get paid in economy money for mining ores.
Requirements
This plugin requires Vault. It should work on CraftBukkit-based servers 1.7.4 to 1.7.8.
Optionally, this plugin can integrate with LogBlock for protection against players being paid for mining blocks they create.
Configuration
Copy the jar to your plugins directory, and start/restart/reload your server. A directory containing config.yml will be created. If you would like to enable the protection feature (see below), make sure that LogBlock is installed and configured correctly.
You can set up the plugin to pay however much you want when a player breaks the following blocks:
- IRON_ORE
- GOLD_ORE
- DIAMOND_ORE
- EMERALD_ORE
- REDSTONE_ORE
- COAL_ORE
- OBSIDIAN
- QUARTZ_ORE
- LAPIS_ORE
You can also customize the message that is displayed when a user breaks one of the above blocks. To disable payout for a certain block, just set the value in the config to 0.0 (do not delete it from the config).
Default config: http://pastebin.com/N4v46edq
Per-World
This plugin can be enabled on a per-world basis. If you have multiple worlds that you would like to enable payouts for, add them to "worlds". By default, only the world "world" is enabled (you probably want to add at least "world_nether").
Protection
If LogBlock integration is enabled in the config, players will not be able to mine blocks that were created by themselves or another player. This prevents people exploiting the plugin by repeatedly creating and mining blocks for money.
If you find that players are still able to mine blocks they place, you may need to lower the "delayBetweenRuns" value for the consumer in the LogBlock config (1 or 2 would be ideal, but with lots of players that could cause lag).
Commands
The only command is /makemoneymining (alias: /mmm). This reloads the config.
Permissions
The only permission is "makemoneymining.admin", which grants permission to reload the config.
I have logBlock enabled and the "delayBetweenRuns" is set to one, but it's still not preventing grinding! I have the latest version of logBlock, which I downloaded from the continuous integration server of development builds they provided in the link to their plugin on Bukkit. I also tried using the latest version of logBlock on the Bukkit website, and it still didn't work. Can you help me?
This works for cb1.7.1-r0.3?
@parat26ify
If you install LogBlock (which keeps track of player-placed blocks) and enable LogBlock implementation in MakeMoneyMining, then players do not make money from blocks they have placed. If you don't have LogBlock, then this is entirely possible.
One problem though, what if the player after mining the ore, replaces it in the ground and mines it infinite times?