SimpleToolStats icon

SimpleToolStats -----

Track statistics for your tools and weapons




Fixed a minor bug related to the Scraped blocks config option.
----------, Jun 23, 2021

Added in the config section for Scraped blocks. The config file should auto update adding/defaulting the new config properties. You will see some messages in the console about the auto conversion adding the new sections.
----------, Jun 23, 2021

Added support for 1.17.
Added a new statistic for removing oxidation from Copper blocks to the Axe.
Adjusted the valid blocks for the making path stat.
Adjusted the valid blocks for the tilling stat.
Adjusted the valid blocks for the harvested stat.
----------, Jun 17, 2021

  • I now only register the listeners for the sections you have enabled in the config. Using the reload command will register listeners as well. This will help save a bit of unnecessary processing (albeit a small amount). Note disabling a section and running the reload will not unregister any listeners, in that case you will want to restart the server if you want the listeners disabled.
----------, Aug 14, 2020

When you craft an item in the players inventory or in a crafting table I will merge the stats the same as the anvil. The permissions for this will utilize the same anvil permissions/config settings.
----------, Aug 14, 2020

See previous update for information. Oh the irony of releasing an update to prevent too many notifications and forgetting to set the version haha
----------, Aug 10, 2020

  • Added fishing stats to the fishing rod.
  • Added 2 new commands (with new permissions to both). LoreList for displaying the lore on your item in chat along with the line numbers for each lore item. LoreRemove for removing a line of lore on your item. This is intended to help you cleanup any lore lines you no longer want on your item. Both commands are defaulted to OP permissions only.
  • Players with the simpletoolstats.update.notify (Default OP) permission will now get notified when signing into your server about a new update being available to this plugin. They will only get notified once per server restart.
  • I know that frequent plugin update notifications can get annoying so I enhanced my update notifications with a new setting in the config allowing you to specify which types of updates you want to receive. This will allow me to update the plugin with minor updates without everyone being notified. By default it will only notify you about Major updates and bug fix updates. Updates that only provide minor changes will be ignored. See the config file for information about the types of updates.
----------, Aug 10, 2020

  • Added option to format stat numbers comma separated (Off by default) ex: "Destroyed blocks: 55,412". It will auto convert to the desired setting on/off the next time you use the item or when you merge the item through the anvil.
  • Added in a validation error for when the text node is invalid. I now check for a blank config node as well as any colons in the text. Both scenarios would cause the plugin issues. For now I am just showing a message in the log but in a later release I will change it to disable the plugin.
----------, Aug 8, 2020

  1. Added support for any custom mob that fills in the customMobName. MythicMobs was tested but other custom mob plugins may work if they function similarly to MythicMobs. I allow you to configure a global custom mob stat with an optional prefxFilter to catch any custom mob otherwise I give you 10 custom mob sections to configure. See the config file documentation for more information on setting up stats for custom mobs.
  2. Added Killed bosses stat line for Ender Dragon and Wither bosses.
----------, Aug 7, 2020

  • Added hex support in the config as well as color codes. I am a bit concerned about the potential for performance issues for the hex lookup so I added a config to disable this. I couldnt detect any noticeable lag but I do not have access to a server with a large amount of players to properly test that. Just something to keep in the back of your mind if you notice any new performance hits. Disabling hex in the config and running the "/simpletoolstats reload" command will take care of it if you have issues. I am planning on implementing some form of performance tracker based around this and giving it as debug option in the config or a command.
  • Major overhaul of the anvil stat merging mechanism to help with changing your config colors. I tried to explain it in the Overview page but I tried to give you a way to update your items seamlessly without needing to utilize any commands since commands are not user friendly.
  • Added shears stats. This works for everything except beehives/beenests, this might be an issue in the spigot api but I was never able to get information in my plugin when you shear them. I even implementing code to add stats to your shears when you utilize an automatics sheep farmer. The plugin will set stats on the shears inside the dispenser.
  • Resolved issue with protected objects counting stats even when you are not allowed to break the item. My code no longer fires when another plugin cancels the event such as the "BreakBlock" event. Hopefully this will end up giving support for all protection based plugins but let me know if you notice any issues.
  • Resolved update notification again. It turns out spigots web API is completely unreliable for returning the version so I now make 3 different URL calls with 3 different number of slashes at the end of the URL and use the largest returned value for my alert. I will have to look into an alternate method for this down the road.
  • Implemented logic to help me update your config.yml files while preserving all your custom settings as well as my comments. Again please let me know if you notice any issues. It will save a backup named config.yml.old when it does the upgrade.
----------, Aug 6, 2020

This will fix the issue where the update check will never give a message because the Spigot website API returns back the wrong an old version number.

Technical details of what I fixed:
Found this post with the same issue https://www.spigotmc.org/threads/sp...ng-plugin-version-number.428115/#post-3747608 and I just added the slash to the URL to get Spigot to return back the correct version number. The update check should now function correctly go forward.
----------, Aug 4, 2020

Hotfix to resolve issue with the update check. For some reason the version never update on the Spigot API so I added in a check to not put a notification in the console when your version is greater than the one returned from the Spigot API.
----------, Aug 4, 2020

  • Implemented config file to allow customizing the text displayed and giving the ability to enabled/disable features
  • Implemented permissions for which users get the tool tracking and which users get the anvil combine ability.
  • Implemented some basic commands as well as permissions for those commands.
  • Added "Stripped logs" to the axe.
  • Fixed mob/friendly mob issues where some friendly mobs were being tracked as mob kills.
  • Added bStats metrics
  • Added version update notification (if you have the config set to notify you about a new update)
----------, Aug 4, 2020

Stat merging - When you combine two items in an Anvil the stats of the two items will now be merged. If the item's stat line was using ToolStats format I convert the format to my format. If you wish to preserve the ToolStats format then do not combine the item with another item containing stats.

Swords
- Added "Destroyed webs".
Shovels - Added "Created paths". (Right click grass block)
Hoe - Added "Harvested blocks". Tracks blocks broken that are best broken by the hoe such as Leaves, Wart blocks, Shroomlight, Hay Bale, Target, Dried Kelp Block, Sponges and Leaves. Gamepedia refers to this action as "Harvesting" so that is the wording I decided to use.


The next update will include Permissions, Config and Commands.
----------, Jul 29, 2020

Added stats to the shield to count the number of blocked attacks.
----------, Jul 28, 2020

Added arrows shot to bow statistics.
----------, Jul 26, 2020

Added Hoe till statistic.
Added logic to prevent stat lines from being added to items that are stackable (ie Kill a chicken while holding a single dirt block).
----------, Jul 24, 2020

Fixed exception thrown in server logs when a block is mined without a tool in hand.
----------, Jul 23, 2020

Fixed "Killed villager:" text changing to "villagers" to be consistent with the other stats.
----------, Jul 23, 2020

Resource Information
Author:
----------
Total Downloads: 3,222
First Release: Jul 23, 2020
Last Update: Jun 23, 2021
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings