Diamond counter

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

What does it do?

It counts the amount of diamonds a player mines

Using 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, diamond
You 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.log

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

You must login to post a comment. Don't have an account? Register to get one!

  • 8 comments
  • Avatar of Shoween Shoween Dec 08, 2013 at 09:44 UTC - 0 likes

    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.

  • Avatar of teunie75 teunie75 Jun 05, 2013 at 08:21 UTC - 0 likes

    @GrimReaper_MC: Go

    Only if you type in the command, for example: Player has mined 3 diamonds

    Last edited Jun 05, 2013 by teunie75

    I'm Dutch, so my English may not be that good.
  • Avatar of GrimReaper_MC GrimReaper_MC Jun 04, 2013 at 18:39 UTC - 0 likes

    Does the plugin give you an alert in chat Eg:

    [DiamondCounter]GrimReaper_MC has found 4/3/2/1 diamonds

    GrimReaper ...... lol

  • Avatar of teunie75 teunie75 Apr 26, 2013 at 15:05 UTC - 0 likes

    @JustinFatalx: Go

    I could try that :)

  • Avatar of JustinFatalx JustinFatalx Apr 25, 2013 at 21:35 UTC - 0 likes

    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.

  • Avatar of teunie75 teunie75 Feb 01, 2013 at 15:47 UTC - 0 likes

    @IceFrog1: Go

    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.

    Last edited Feb 01, 2013 by teunie75
  • Avatar of IceFrog1 IceFrog1 Jan 31, 2013 at 22:08 UTC - 0 likes

    Could you add a command /diamondTop  to see the TOP 10 diamonds for example

  • Avatar of IceFrog1 IceFrog1 Jan 31, 2013 at 22:02 UTC - 0 likes

    Hi. What's the use of creative: true ?

  • 8 comments

What do you use the plugin for?

  1. Choices:

  1. Results
  2. 0 comments

Facts

Date created
Jan 24, 2013
Categories
Last update
Jun 02, 2013
Development stage
Abandoned
Language
  • enUS
License
All Rights Reserved
Downloads
1,826
Recent files

Authors