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
Update to 1.11.2 please
Will this plugin update to 1.10 ?
Seems the plugin broke in MC 1.9.4. Im getting a error on startup.
http://pastebin.com/uZzPj3wZ
@SmokyMiner
can't you just do something like that:
"- 73, 74" instead "- 73"
glowing_redstone_ore(ID: 74) does not have the same id as redstone_ore(ID: 73) - so this may work :D - but i think with my multi-id-stuff you have to make it posible to change the language of a line
would also really like to translate stuff - but i know this may be hard to (re-)code
@KevinABC96
No. You can use that plugin along with this one though.
@GPlayer93
I'll look into it. Due to an issue I haven't worked out yet, glowing redstone dust won't work.
one little bug - redstone ore is tracked under miscellaneous and this is my config:
(it does not matter if glowing or not)
Tools:
PickAxe:
Color: 8;o
Track Stats: true
Block Ids:
- 1
- 16
- 15
- 14
- 21
- 73
- 56
- 129
- 153
- miscellaneous
any ideas why?
is it possible to change the language?
@Cloman
It should not interfere with any plugin that edits lore. I haven't tested it thoroughly, but I did run through some basic tests with extra lore above and below the stats without issue.
Look awesome plugin but just have a question. Will this plugin not interfere with already existing lores from other plugins ? As i have a plugin with custom enchants but it uses lores and it would be terrible for them to lose the enchant if the stats will overwrite the lore and so they will lose the enchant.
New update should be coming out in the next few days. I spent the past week completely recoding this plugin. So far it's 700 less lines of code!
@follet2004: http://api-d.com/snaps/01032016-2158.png That's why I put it in the comments
@newmine
Sure put the error on the http://dev.bukkit.org/bukkit-plugins/tool-stats/tickets/ not in the comment. -_-
Use the so can read more easy.
[15:02:00 ERROR]:
How about cb1.7.2-r0.3?
I can use this plugin on my server? I have the version 1.6.4 CB
@jephreyz
@dotapurex1
That is correct, which is why I added the ability to "Delete Stats On Untracked Tools", if you want to remove the stats, set that to true, then set tracking on all tools to false. The next time a tool is used, if it has stats, they will be removed.
@dotapurex1
Tool stats saves the weapons stats onto the weapon itself and not in a separate file. All tools that have been affected by Tool Stats will keep their stats but not continue to update their stats and all new tools without stats will never gain stats.
Why is it when i remove this plugin the tool stats on the tools / weapons still remain?
@colinlyons29
I've been having the same issue. Hopefully the author will look into this.
@follet2004
Thanks follet, I'll look into this right away, any idea what you did to get the error? How could I recreate it?