Warning: v3.9.2
(or higher) of Better Statistics Screen depends on this version (or higher) of this mod.
- General bug fixes and tweaks
- Fixed a bug with the slider widget not always updating properly
- Implemented some extra utility methods
- No longer depends on Fabric API
Warning: Incompatible with Better Statistics Screen v3.9
and older. Make sure you update that mod to the latest version.
- Adjustments to the mod's code structure. No worries, the API is unaffected, so nothing will break if you're using this API.
- Added a
TEvent
forItemGroup
s's "display context" updating - Added a "placeholder text" feature for textboxes
This release features some changes that were made to the commands and the config system for this mod.
Important: This release is incompatible with Better Statistics Screen v3.7.1
and below.
Commands
- In order to avoid registration of modded features in this mod, the
/badges
command was moved to Better Statistics Screenv3.8
and up. - Given the player badge system wasn't really popular nor useful among people (plus I don't know where to go with it from here), I have decided to make it disabled by default.
- The player badge system can be re-enabled at any time via the config. However, doing so will require a restart of the game/server.
Mod configuration file
For better clarity and readability, I have decided to rename the config properties. This will likely result in the previous configs for this mod being lost, so if you need to, ensure you have updated the config file accordingly.
- Renamed
enablePlayerBadges
toserver-enablePlayerBadges
- Renamed
broadcastEarningPlayerBadges
toserver-broadcastEarningPlayerBadges
- Renamed
enableHttpUtils
tocommon-enableHttpUtils
To learn how to configure this mod, please refer to this wiki page.
In order for me to avoid having to copy/paste the changelogs on every single platform, please refer to the changelogs on GitHub for more info about this release.
In the meantime, happy holidays to everyone!
The following changes were made to allow people to to incorporate the /badges
command into their data-packs and custom maps:
- Improved the
/badges
command outputclear
andedit
will now output an integer representing the number of affected players.- The output number will be
-1
if a command error or a syntax error takes place, and the command fails to execute.
/badges
can nowquery
. Useful for map-makers.query
will now output an integer representing the player-badge stat value for a given player.