Tool Stats
Tool Stats

Overview
This plugin keeps track of and shows you statistics for each tool you craft/use. Using item lore, it'll show you how much of each block you've destroyed, or it'll keep track of how many creatures you've killed with your sword. Wanna know of many blocks you've hoed? It keeps track of that too!
Features
- Tracks Blocks Mined/Dug/Hoed/Chopped With Your Tools
- Tracks Sword And Bow Kills
- Displays Each Tool's Statistics In Its Lore
- Select Which Tools You Want To Be Tracked
- Customize The Color Of The Stats
- Permissions
New To Version 2.0
- Customize What Blocks Are Tracked
- Customize What Mobs Are Tracked
- Now Works With Any Plugin That Modifies Lore!
Config Breakdown
After putting the .jar file in your plugins folder a config file will be created. Inside the config you'll see 2 sections, General And Tools. Remember to delete your old config file when updating!
Tools
Each tool has 3 options: Color, Track Stats, and Block Ids. Color determines what color and effect the statistics will have. Track Stats determines whether or not ToolStats tracks that type of tool. Block Ids is a list of the block ids that are tracked for each type of tool.
Colors
There are 7 different color settings, one for each tool, and a universal option.
When you first open the config the universal setting will be filled out with 5;o. The 5 means the color is purple, the o means letters are Italicized. To pick a color you simply select the number that represents your color of choice and the replace 5;o with that number. If you want to add effects such as bold, you add a colon (;) after your first number, then you add the letter that represents your effect of choice.
The numbers and letters representing colors and effects can be found in the following image:

Block Ids and Mob Ids
Each tool type contains a list of ids that determines what statistics are kept track of. For weapons the list contains mob ids, for the other tool types block ids.
By default each list is filled out with a basic set of blocks and mobs. To keep track of how many oak logs you've chopped you would put 17 on the list under Axe. For blocks with special data types (e.g. black wool (35;15) or brick slabs (44;4)) such as a spruce log, 17;1, you enter the id, 17, first, followed by a semi-colon (;) and then the data type, 1. The Bow and Sword lists contain mob ids that can be found below.
There are also 4 special options for the lists: miscellaneous, hostile, passive, and player. Miscellaneous is for the Block Ids lists. When set it tracks all blocks not already listed. Hostile, passive, and player are for the Mob Ids lists. When hostile is set it tracks all hostile mob kills, passive tracks all passive mob kills, and player tracks all player kills.
Minecraft block ids can be found here: http://minecraft.gamepedia.com/Data_values/Block_IDs
Mob Ids can be found in the following image:

General
There are two options in the General section of the config. One is "Delete Stats On Untracked Tools" and the other is "Use Universal Color".
If you set "Delete Stats On Untracked Tools" to true, all of the saved statistics for tools that have the "Track Stats" option set to false will be deleted when the tool is next used.
The "Use Universal Color" option is used to determine whether or not to use the universal color. When set to true, all stats for all tools will be the universal color. When set to false, each tool will use its own individual set color.
Permissions
Note: All ToolStats permissions (excluding toolstats.*) are set to true by default. If you don't what someone to have a specific tool type tracked you will have to disable that specific permission. To disable all tools you only have to disable toolstats.*

Media







-
View User Profile
-
Send Message
Posted Jun 27, 2013When using this plugin with MCMMO 1.4.06-beta5-b2062 i encounter a glitch . Lets say you have a pickaxe with Efficiency III on it. you activate super breaker and then break some stone. Super breaker then runs out. The pick remains at a higher level of Efficiency than it was previously. Anyone else able to recreate this glitch?
-
View User Profile
-
Send Message
Posted Jun 27, 2013@SmokyMiner
Hey,
I have new error of your plugin.
Here the link of the error: http://dev.bukkit.org/paste/8021/
Nope can fix it.
-
View User Profile
-
Send Message
Posted May 21, 2013Can this be made so that it has a "Crafted by Playername" added to it? If so, this is just the plugin I was searching for. Having a "Crafted by" line attached to the tools can turn the item(s) into trophies for PVP worlds such as collecting a sword from an infamous killer that has stats on it showing how many people s/he has killed.
Thanks, LHammonds
-
View User Profile
-
Send Message
Posted Apr 29, 2013please try to fix the (not able to use lore ) thing
-
View User Profile
-
Send Message
Posted Apr 11, 2013wooahh lol, This is pretty epic!
-
View User Profile
-
Send Message
Posted Apr 9, 2013Would it be possible to make it so we can set individual tools to be tracked instead of globally affecting all tools? Like PickaxeOne is tracked but PickaxeTwo isn't? Could be done via some command that a player could run while holding the tool they want tracked.
-
View User Profile
-
Send Message
Posted Mar 26, 2013@Jordanlobato
Your idea? OK Buddy, what ever helps you sleep at night.
-
View User Profile
-
Send Message
Posted Mar 26, 2013I see you got around to my idea :D Worked out better than I described to you! I'll definitely be adding this to my server. Simply amazing.
-
View User Profile
-
Send Message
Posted Mar 18, 2013Does this increase efficiency beyond regular enchants?
-
View User Profile
-
Send Message
Posted Mar 16, 2013@MattIPv4
No, I've thought about adding them, but haven't really felt they were needed. If you do want them, I guess I could add a few in. Probably just one, which determines whether your stats are tracked.
-
View User Profile
-
Send Message
Posted Mar 16, 2013Are There Any Permission Nodes??
-
View User Profile
-
Send Message
Posted Mar 15, 2013reminds of the strange weapons in tf2 :D
-
View User Profile
-
Send Message
Posted Mar 14, 2013@jithins
Ill get it up in as soon as I can (bukkit has to release first of course.)
-
View User Profile
-
Send Message
Posted Mar 14, 2013compatible with 1.5 coming soon? ik the craftbukit hasn't released it yet, but just curious are you gonna do it immediately
-
View User Profile
-
Send Message
Posted Mar 14, 2013@Blueshadow
lol yea, well i was gonna say something like this, but i see you already commented
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Blueshadow
Just updated the plugin, the new version should be up in a day or so.
Sorry it took so long to fix it, been studying for midterms.
I wasn't getting the error before so I can't really test if it'll work for you now, but I compiled it with Java 6, so it should work.
-
View User Profile
-
Send Message
Posted Mar 11, 2013It doesn't coma up if I use oracle java 7 instead of (openjdk) java 6. I think you would have to compile it with java 6 (or lower) class combability.. adding
to the compile parameter should do the work (or setting target vm to 1.5/1.6 in your IDE)
if you using ant you can also add it to you build xml like this:
-
View User Profile
-
Send Message
Posted Mar 11, 2013@Blueshadow
EDIT: Like I said, I wasn't very sure, thanks for that ^ Ill try to get the new one up tomorrow.
-
View User Profile
-
Send Message
Posted Mar 11, 2013When I try using it on linux I get following error on loading (in V 1.1.1)
-
View User Profile
-
Send Message
Posted Mar 10, 2013@facemywrath
I can look into it, but no promises.