Diamond counter
What does it do?
It counts the amount of diamonds a player minesUsing other plugins
The plugin is able to use economy, but Vault needs to be installed, but it not needed for the plugin to work.This plugin will use Factions if it's found, also this is not needed though.
Commands & Permissions:
The plugin has one central command, diamondYou need to give at least 2 arguments when using this.
/diamond get <player>:
The default command for the plugin, it gets the amount of diamonds mined by a player.
Permission: diamond.count.get
/diamond factions <factionname>:
The Factions command, it gets the amount of diamonds mined by a faction.
Permission: diamond.count.factions
/diamond day <player> dayformat:
The day command, gets the diamonds mined by a player for a day.
Example for 3 April 2013 with player teunie_nl(me)
/diamond day teunie_nl 2013-05-3
Permissions: diamond.count.date
/diamond update check
This will send you a message about the newest updates on this plugin.
Permissions: diamond.update.check
/diamond update file
This will update the plugin to the newest version.
Permissions: diamond.update.file
Logging & Permissions
To let the plugin log the data of the player, that player needs to have the permission: diamond.count.logIf the player has the permission: diamond.count.withdraw, a certain amount of money will be taken from their (virtual) bank account.
To do this you'll need to have economy set to true in the configuration file, ecowithdraw is the amount taken when this happens.
If cancel is set to true, the mining will be canceled by the plugin should the player not have enough money.
If factionlog is set to true, the plugin will log the amount of diamonds mined for a Faction. If date is set to true, the plugin will log the amount of diamonds mined per day for a player.
Other stuff you need to know
This plugin will notify you about updates as they come out on BukkitDev, this can be disabled in the Configuration by setting update to false.This plugin is hooked into McStats, this will collect some information about the server (OS version, Java version etc)
It's nothing too personal as you can see here, this can be disabled by changing the config for the PluginMetrics.
Thanks to Blooguy for the logo on the top of this page
Errors, suggestions or questions?
Post this in the comments.If you have a error, please verify if it is Diamond Countercausing the error.
Then post the error here, it will always show the location of the problem, so I can have a look at it ;)
You will always get a reply when posting. A tutorial on how to read errors can be found here
If you've read this you'll know whats going wrong and you can post some important information I might need.
I've got a suggestion. Type /diamond get [name] And it displays how many Iron, Diamond, Emerald, Gold, Redstone, Lapis etc. And have it configurable to announce if someone mines diamonds/gold but only if they have a permission to do so.
@GrimReaper_MC
Only if you type in the command, for example: Player has mined 3 diamonds
Does the plugin give you an alert in chat Eg:
[DiamondCounter]GrimReaper_MC has found 4/3/2/1 diamonds
@JustinFatalx
I could try that :)
It would also be cool if it kept track of how many diamonds they mined based on day.
So like if a new player joined and had xray but I didnt check them out a week later I could tell that they used xray alot of there first day.
@IceFrog1
If a player is in creative mode, and then mines ore it will not count for the plugin.
I will try to work on this, im also working on another update.
Could you add a command /diamondTop to see the TOP 10 diamonds for example
Hi. What's the use of creative: true ?