Get paid for mining certain blocks. Earn $10 in-game currency for mining a diamond ore, or earn $50 for mining an emerald ore! All the prices and blocks which you earn money for can be configured in the configuration file.
This plugin requires vault, to put money into the players' bank account.
- /mfm - For information about the plugin and the main command.
- /mfm reload - Reload the configuration file.Permissions
- mineformoney.mineformoney - Allows you to earn money from mining.
- mineformoney.reload - Allows you to reload the config.Configuration
Configuring the plugin is very simple. For the blocks that you want players to earn money from, you will need that block's item ID.
Here is an example configuration file:Code (Text):
# Mine For Money Configuration #
# Plugin by omon23 #
# This blocks players who are in creative getting money for mining blocks.
# If a player uses a SilkTouch pickaxe then they will not get money for mining that block.
# See below for block specific silk touch unbanning.
# Format: <blockID>:<amount to be paid>
# Here are all the blocks that are allowed to be mined with a Silk Touch pickaxe.
# This means the player will get the money for mining a block even if they have a Silk Touch pickaxe.
# You MUST set a price for the block above for this to work.
sold: '&aYou recieved &e%amount% &afor mining &e%block%!'
reloaded: '&aReloaded the configuration!'
unknownargument: '&cError: The argument you sepcified is invalid'
To add a block, under the blocks section, add the item ID of the block you want to add. After the colon, write the amount you want players to get paid. So for example, if you wanted to add Sponge for $15, then add this to the blocks section:
You can also configure some of the messages for the plugin in the config.Code (Text):19:15.0
For the sold message (so when a players mines a block and they get paid), you can configure that message. You can use %amount% as a placeholder for the amount they got paid for, and %block% for the name of the block they mined for.
Donating gives me more incentive to keep developing and to updating this plugin. If you would like to buy me a coffee or a pizza click on the donate button!
Earn money for mining certain blocks!