Sueta

SimpleToolStats

2.42

Track statistics for your tools and weapons

·Plugin
  1. 2.42latestMinor bug fix for Scraped stats configJun 23, 2021
    Fixed a minor bug related to the Scraped blocks config option.
    16 downloads
  2. 2.41Added config values for Scraped blocksJun 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.
    10 downloads
  3. 2.40Support for 1.17Jun 17, 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.
    48 downloads
  4. 2.34Minor performance changesAug 14, 2020
    · 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.
    138 downloads
  5. 2.31Added crafting merge supportAug 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.
    28 downloads
  6. 2.3Forgot to increment version number for last updateAug 10, 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
    36 downloads
  7. 2.2Added fishing stats, add ability to remove lore from item, Enhanced update notificationsAug 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.
    5 downloads
  8. 2.21Added option to format stat count with commas. Added config validationAug 8, 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.
    29 downloads
  9. 2.1Hex Support, Color Code support, Large Anvil improvements, Implemented shearsAug 6, 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.
    32 downloads
  10. 2.01Hotfix Resolved the update check issueAug 4, 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-n… 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.
    24 downloads
  11. 2.0Implemented Config/Permissions/Commands as well as added new Axe statsAug 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)
    6 downloads
  12. 1.4Anvil Stat combine support and Expanded Sword, Shovel and Hoe statsJul 29, 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.
    20 downloads
  13. 1.3Added Shield statsJul 28, 2020
    Added stats to the shield to count the number of blocked attacks.
    20 downloads
  14. 1.2Added Bow statsJul 26, 2020
    Added arrows shot to bow statistics.
    23 downloads
  15. 1.1Added Hoe till statisticJul 24, 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).
    31 downloads
  16. 1.03Bug fixJul 23, 2020
    Fixed exception thrown in server logs when a block is mined without a tool in hand.
    24 downloads
  17. 1.02Small bug fixJul 23, 2020
    Fixed "Killed villager:" text changing to "villagers" to be consistent with the other stats.
    12 downloads
  18. 1.0Jul 23, 2020
    14 downloads

Similar projects

Plugin →