Sueta

MineEconomy

2.1.0

Money for Mining Blocks!

·Plugin

24311a3fb68b231456fe94813eafb8e84995a47c.png

Mine Economy 2.1.0

Description

Get paid for mining certain blocks. Earn in-game currency for mining a diamond ore, 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.

Commands

  • /meco - For information about the plugin and the main command.
  • /meco messages - Disables Money Notification.
  • /meco reload - Reload the configuration file.

Permissions

  • mineeconomy.moneyperblock- Allows you to earn money from mining.
  • mineeconomy.reload - Allows you to reload the config.

VQD4Yf4.png

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 name.

Here is an example configuration file:

blockcreative   :  true 
 # This blocks players who are in creative getting money for mining blocks.  
 
banSilkTouch   :  true 
 # If a player uses a SilkTouch pick then they will not get money for mining that block.  
 # See below for block specific silk touch unbanning.  

 # Formating: blockName:amount   
blocks  :  
  DIAMOND_ORE   :  100.0  
  STONE   :  1.0  
  COBBLESTONE   :  15.0  
  DIRT   :  0.10  
  GRASS   :  0.01 
  
  
 # 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.   
allowedSilkTouchBlocks   : 
  - DIAMOND_ORE 
   
Messages  :  
  prefix   :  '&6  [  &aMECO&6  ]  '  
  sold   :  '&aYou Received &e$  %amount% &afor mining &e%block%!'   
  reloaded   :  '&aReloaded the configuration!'  
  unknownargument   :  '&cError  :  The argument you specified is invalid'

You can also configure some of the messages for the plugin in the config.

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.

This is a Revamped version of Mine For Money
This adds block tracking so users cannot place blocks and mine them for money.


This is my first plugin please leave a rating and suggestions.

Thank you.

Similar projects

Plugin →