- Turning off statistics via configuration now fully disables the data from the item, rather than turning off just the lore. This means the items won't track data regardless of configuration.
- Adding tokens to items now follows the configuration for statistics that are disabled/enabled.
- When hashes are disabled, remove them from items that have it.
- Added missing
fishing-rod
to configuration sections. - Added missing
crops-harvested
to configuration. - Configuration now updates in order from lowest configuration version to highest.
- New token system (off by default)! This let's players add stat tokens to their items to track stats instead of everything being tracked! You can find more information on the wiki: https://github.com/hyperdefined/ToolStats/wiki/Token-System
- Fixed MiniMessage support.
- Fixed armor damage lore being repeated on armor (#70).
- Fixed "arrows shot" and "damage taken" on
/toolstats reset
not being added to lore.
- Added 2 new tool tracking stats:
- "Crops harvested" for hoes.
- "Arrows shot" for bows/crossbows.
- Added "creative" item origin. Any items will be tagged if they were spawned in creative mode (#41).
- Added a new config updater system. This means you do NOT need to add new config values or regenerate your config for updates. The plugin will do this automatically now.
- Fixed crafting bowls adding tags when they shouldn't be (#42).
- Added hashes to newly created items (only ones we want to track). This does not have a purpose yet, but can be used for detecting item duplications. Any current items will automatically generate hashes. This can be disabled in the config. Requested by CraniX.
Thank you everyone for your continued support!
- Added support for Folia! Thanks to MorePaperLib.
- Added new
toolstats:origin
tags for items to better track where items came from, rather than relying in the lore. This version will add tags to missing items based on the current lore. Any new items will have their origin's set correctly. - Added config for
looted-by
andlooted-on
for items found in newly spawned chests. This will be missing from your config, you can add it like this:
looted:
looted-by: "&7Looted by: &8{player}"
looted-on: "&7Looted on: &8{date}"
found-by: "&7Found by: &8{player}"
found-on: "&7Found on: &8{date}"
- Fixed
/toolstats reset
having the wrong logic for checking if an item is valid.
- Fixed a potential issue with Elytra's "found by" tag (#33).
- Hopefully improved compatibility in some cases with other plugins.
- Fixed using different tools in offhand.
- Fixed "dropped by" tags not being added to drops when killed by trident throwing or shooting with a bow.
- Added support for full customization of number and date formatting.
The plugin will complain about you not having some config values, you can add these! If you add them, make sure to update your
config-version
to4
.
# Change the default formatting for dates.
# See: https://www.digitalocean.com/community/tutorials/java-simpledateformat-java-date-format
# Example: "dd/MM/yyyy"
date-format: "M/dd/yyyy"
# Change number formatting.
# You probably do not need to touch this.
number-formats:
comma-separator: ","
decimal-separator: "."
comma-format: "#,###"
decimal-format: "#,###.00"
- Added the ability to change date formatting (#20).
- Fixed rare case of French number formatting using symbols Minecraft can't display (#19).
The plugin will yell at you for not having date-format
in your config. If you don't want to redo it, simply add this below to it:
# Change the default formatting for dates.
# See: https://www.digitalocean.com/community/tutorials/java-simpledateformat-java-date-format
# Example: "dd/mm/yyyy"
date-format: "M/dd/yyyy"
If you don't add it, it will simply use the default format.