
UltimateAdvancementAPI
A powerful API to create custom advancements for your Minecraft server.
5.8K
38
- Added support for Minecraft 26.1.2
- Updated CommandAPI to 11.2.0
- Renamed the
mojang-mappedclassifier tomojang-mapped-legacy. Starting from 26.1, both Spigot and Paper are Mojang mapped, so we now consider these versions as legacy, since they are only useful on (Mojang mapped) Paper 1.18-1.21.11 servers. - Minor improvements
- Added support for Minecraft 26.1.2
- Updated CommandAPI to 11.2.0
- Renamed the
mojang-mappedclassifier tomojang-mapped-legacy. Starting from 26.1, both Spigot and Paper are Mojang mapped, so we now consider these versions as legacy, since they are only useful on (Mojang mapped) Paper 1.18-1.21.11 servers. - Minor improvements
- Updated Java version to 17
- Advancement displays overhaul to allow, for example, multi-language or the usage of placeholders in displays:
- Advancement displays are now abstract classes and use
BaseComponents by default - Now there are three kinds of displays:
- Immutable (
AbstractImmutableAdvancementDisplay), which always returns the same values from the same methods (i.e., display properties never change) - Per-player (
AbstractPerTeamAdvancementDisplay), which provides customized values for each player - Per-team (
AbstractPerTeamAdvancementDisplay), which provides customized values for each team
- Immutable (
- Advancement constructors now accept an
AbstractAdvancementDisplayinstead ofAdvancementDisplay - The
AdvancementDisplayclass is now an immutable display and can be constructed exclusively using the builder
- Advancement displays are now abstract classes and use
- Announcement messages now employ a system similar to advancement visibilities. For more information, see
IAnnouncementMessage - Announcement messages are now customizable per-player
- Tab icon, background and title are now customizable (even per-player and per-team) and independent from the root advancement
- On advancement grant, toasts are now shown to every online team member by default. Use
AdvancementTab.setShowToastToTeamto send toasts only to the player who completed the advancement - On advancement grant, announcement messages can be shown only to team members by using
AdvancementTab.setSendAnnouncementMessageOnlyToTeam. By default, announcement messages are sent to every online player - Renamed
UltimateAdvancementAPI.updatePlayertoupdateAdvancementsToTeam - Removed deprecated methods
- Added more team management methods in
UltimateAdvancementAPIclass:createNewTeamWithOneLoadingRequestloadAndAddLoadingRequestaddLoadingRequestremoveLoadingRequestsetTeamPermanentisTeamPermanentgetPermanentTeams
- Renamed
UltimateAdvancementAPI.loadOfflinePlayertoloadAndAddLoadingRequest - Renamed
UltimateAdvancementAPI.unloadOfflinePlayertoremoveLoadingRequest - Removed
CacheFreeingOption,ObjectResultandResultclasses - Reworked
MultiTasksAdvancementandTaskAdvancement - Make advancement constructors more coherent
- Added
AdvancementGrantedEvent - Fixed
AdvancementTab.showtabsometimes being ignored - Refactored the advancement granting procedure
- Reserved a prefix for namespaces and keys for internal use. For more information, see
AdvancementKey.RESERVED_NAMESPACE_PREFIXandAdvancementKey.RESERVED_KEY_PREFIX - Replace callbacks in
UltimateAdvancementAPIclass withCompletableFutures
Internal changes:
- Massively improved the
DatabaseManager - Use MockBukkit for tests
- Added more tests
For more details, refer to the Javadoc or contact us on Discord. The Wiki will be updated with the 3.0.0 official release.
- Updated to Minecraft 1.21.11
- Updated CommandAPI to 11.1.0
- Commands do not fail anymore if an advancement method throws
UnsupportedOperationException.UnsupportedOperationExceptionis thrown when granting or revoking some advancements (likeFakeAdvancements), usually when they are not saved in the database. Now, when anUnsupportedOperationExceptionis thrown, the advancement is simply ignored instead of failing the command execution
Internal changes:
- Refactored commands implementation
- Replaced usages of (the deprecated)
PlayerLoginEventon Paper 1.21.7+ - Fixed SQLite not working on 1.15-1.17.1
- Minor fixes and improvements
- Replaced usages of (the deprecated)
- Added support for Minecraft 1.21.9 and 1.21.10
- Updated CommandAPI to 11.0.0
- Updated ConfigUpdater to 2.2
TeamLoadEventmay now provide an invalidTeamProgression, fixing a rareIllegalArgumentException.TeamLoadEventhas been deprecated for removal since 2.2.0, it is recommended to useAsyncTeamLoadEventinstead
- Added support for Minecraft 1.21.8 (by @NickCloudAT)
- Updated CommandAPI to 10.1.2 (by @NickCloudAT)
- Vanilla recipe advancements are now disabled separately from vanilla advancements (by @Hydrolien). Vanilla recipe advancements can be disabled using the new
disable-vanilla-recipe-advancementsconfig option or using theUltimateAdvancementAPI#disableVanillaRecipeAdvancements()method.
Internal changes:
- Added config updater
- Added disabled vanilla recipe advancements to bStats
- Added support for Minecraft 1.21.6 and 1.21.7
- Updated CommandAPI to 10.1.1
- Fixed a rare stack overflow error when enabling commands
- Updated CommandAPI to 10.0.1
- Added support for Minecraft 1.21.5
- Updated CommandAPI to 10.0.0
- Updated bStats to 3.1.0
- Added support for custom database implementations in the shaded version (by CrazyDev05). See
AdvancementMain#enable(...)javadoc for more information - Improved config comments
Internal changes:
- Reworked database initialization
- Added support for Minecraft 1.21.4
- Updated CommandAPI to 9.7.0
- Fixed hex color codes not working in 1.20.3-1.20.6
- Added constructors taking a
BaseComponenttoAdvancementDisplayWrapper(by CrazyDev05)
- Added support for Minecraft 1.21.3
- Updated CommandAPI to 9.6.1
- Updated HikariCP to 5.1.0
- Minor fixes and improvements
- Added support for Minecraft 1.21.1
- Updated CommandAPI to 9.5.3
- Added support for Minecraft 1.21
- Updated CommandAPI to 9.5.1
- Added support for hex color codes in titles and descriptions (for example using BungeeCord's
ChatColor.of(new Color(0, 0, 0))) - Commands now use the
ultimateadvancementapinamespace (only for 1.17+)
- Fixed a SQLite related bug
- Added support for Minecraft 1.20.6
- Added support for Mojang mapped servers: if you're running a Mojang mapped server you should download the
Mojang-Mappedjar instead of the normal one. If you're shading, just add<classifier>mojang-mapped</classifier>to the UltimateAdvancementAPI dependency. For more information, see the wiki - Refactored the Maven structure of the project to support Mojang mapped jars
- Added
load: STARTUPto theplugin.ymlof the plugin version - Updated CommandAPI to 9.5.0-SNAPSHOT
- Updated Libby to 1.3.0
- Minor improvements and fixes
- Added support for 1.20.3 and 1.20.4
- Updated CommandAPI to 9.3.0
- Fix
NullPointerExceptionon player join on 1.20.2 - Now
PlayerLoadingCompletedEventandPlayerLoadingFailedEventare always called afterPlayerJoinEvent
- Fix
- Added support for 1.20.2
- Updated CommandAPI to 9.2.0
- Fixed a bug where, when loading on an unsupported server version, an error was printed to the console instead of the nicer message that was supposed to be printed
- Added support for 1.20.1
- Updated CommandAPI to 9.0.3 (by dandan2611)
- The plugin version of the API now doesn't crash anymore when it fails to load or enable commands
1
Совместимость
Сведения
Лицензия:
Опубликован:2 года назад
Обновлён:1 месяц назад
ID проекта:
