Releases: ZockerAxel/CrazyAdvancementsAPI
Releases · ZockerAxel/CrazyAdvancementsAPI
Update 2.1.4 - Lots of QoL Changes and Fixes
General Changes:
- Changed the /showtoast Command from
/showtoast <Player> <Icon> <Message>
to/showtoast <Player> <Icon> [Frame] <Message>
to now be able to set which Frame should be used in the Toast, however this Argument is optional which means Commands from prior versions still work (so you don't have to update your command blocks) - You can now ommit the flags in JSON Advancements instead of having an empty array if you don't want any flags
API Changes:
- Added VisibilityAdvancementsPacket class, which works just like the AdvancementsPacket but strips Advancements from the packet which are not visible to the Player
Bug Fixes:
- If a Folder with the same Name as a Save File exists, it will be deleted if it's empty or an error will be thrown if it is not empty
- Progress will now be unloaded upon leaving the Server for Advancements added through JSON
- Fixed Typo in Permission Message
- Fixed Save Files not being loaded if criteria or progress data was missing instead of empty
Update 2.1.3 - More Bug Fixes!
Bug Fixes:
- Fixed AdvancementManager revoke Methods granting Advancements instead of revoking them
- Fixed Reward function of JSON Advancements not being run as the player that got the reward
- Fixed Chat Color Issue in Command Error Message
Update 2.1.2 - Fix for nested JSON Advancement Files
Bug Fixes:
- Nested Advancement JSON Files now get the correct name assigned (for example advancement in folder advancements/a/b/c/advancement.json used to get the name "a:c/advancement" but will now get the name "a:b/c/advancement" as intended)
Update 2.1.1 - Fixes for JSON Advancements
General Changes:
- You can now ommit the "criteria" field in the json string if you just want a progress of 1 to be required
API Changes:
- Added hashKey() Override to NameKey (now NameKeys with same namespace and key will have the same hashKey)
Bug Fixes:
- Fixed namespace being incorrect for JSON Advancements
Update 2.1 - Support for JSON Advancements
This release aims to allow non-developers to use the API to create awesome Advancement Setups.
General Changes:
- Advancements will now be loaded from JSON files within the Plugin Directory
- Added Support for Target Selectors to all Commands
API Changes:
- Lots of new classes related to JSON Advancemements
- New Class AdvancementFunctionReward which executes a .mcfunction function as the player but with console priviliges
Update 2.0.6 - Fix for List Save File Data not being loaded
Note: Old Save Files with list data will not work in this version and will fail to load. Either remove the "criteriaData" field from your save strings or delete the file and you can preserve progress data.
Bug Fixes:
- Save File List Data will now be loaded correctly.
Update 2.0.5 - Fix for Save Files being read incorrectly
Bug Fixes:
- Save Files will now properly load (Save File Saving is unchanged, so Save Files from Version 2.0 to 2.0.5 can be loaded without any issues in this version)
Update 2.0.4 - Fix Save Files not being created
Bug Fixes:
- Empty folders similar to Save File names will no longer be created
- Folders with the same names as the Save File Names will no longer prevent Save Files from being created
Update 2.0.3 - Fix for Player Progress Saving
Bug Fixes:
- Fixed a bug that prevented the Advancements Array passed in AdvancementManager#saveProgress(Player player, Advancement... advancements) from being respected
Update 2.0.2 - Fix for Saving Player Progress
Bug Fixes:
- Player Progress can now be saved even if a valid Save File didn't exist previously