Payd2Mine

Features

You mine stuff. You periodically get paid.

The stuff you can mine for payment and how much you get paid are found in the config.yml.

There are some controls in place in an attempt to prevent exploits. You cannot simply replace the block and mine it again for more money. There there is a "cool down" delay before the same location can be mined again.

Requirements

This plugin requires Vault

Configuration

messages.alert.text: a text format (leave the %s in there) for payday

messages.alert.enabled: whether or not the message should be shown

updater.delay: amount of time to initially delay before the first payday in server ticks

updater.period: amount of time between paydays in server ticks

cooldown.period: amount of time it takes for the same block location to be available for mining in milliseconds

defaultAmount: the default payment amount. setting this sets the value for mining anything not already configured

materials.XXXX.material: the material for which you can get paid. The value is the string matching the Material enumeration in Bukkit API.

materials.XXXX.amount: the amount paid per block

Commands

/p2m reload

Reloads the plugin data. This is so that you can modify the config.yml and not have to restart your server.

/p2m cache-size

Returns the number of entries in the block cache

/p2m purge-cache

Clears out the block cache

/p2m payout

Performs a complete payout as if payday had just occurred

/p2m version

Shows the version of the plugin

/p2m list

Lists the materials and values associated with them

Permissions

Each of these permissions default to OP.

Each one enables the use of the equivalent command.

p2m.reload

p2m.cacheSize

p2m.purgeCache

p2m.payout

p2m.version

p2m.list

Notes

This is a completely fresh reimplementation of Paid2Mine, made by request from the Bukkit forums. It does not use any code from the original Paid2Mine, although that code was reverse engineered in order to make this plugin.


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit