▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/UltimateAdvancementAPI
UltimateAdvancementAPI

UltimateAdvancementAPI

A powerful API to create custom advancements for your Minecraft server.

4.1K
37
Все версииUltimateAdvancementAPI 3.0.0-beta-1

UltimateAdvancementAPI 3.0.0-beta-1

Beta1 мес. назад

Список изменений

  • 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
    • Advancement constructors now accept an AbstractAdvancementDisplay instead of AdvancementDisplay
    • The AdvancementDisplay class is now an immutable display and can be constructed exclusively using the builder
  • 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.setShowToastToTeam to 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.updatePlayer to updateAdvancementsToTeam
  • Removed deprecated methods
  • Added more team management methods in UltimateAdvancementAPI class:
    • createNewTeamWithOneLoadingRequest
    • loadAndAddLoadingRequest
    • addLoadingRequest
    • removeLoadingRequest
    • setTeamPermanent
    • isTeamPermanent
    • getPermanentTeams
  • Renamed UltimateAdvancementAPI.loadOfflinePlayer to loadAndAddLoadingRequest
  • Renamed UltimateAdvancementAPI.unloadOfflinePlayer to removeLoadingRequest
  • Removed CacheFreeingOption, ObjectResult and Result classes
  • Reworked MultiTasksAdvancement and TaskAdvancement
  • Make advancement constructors more coherent
  • Added AdvancementGrantedEvent
  • Fixed AdvancementTab.showtab sometimes being ignored
  • Refactored the advancement granting procedure
  • Reserved a prefix for namespaces and keys for internal use. For more information, see AdvancementKey.RESERVED_NAMESPACE_PREFIX and AdvancementKey.RESERVED_KEY_PREFIX
  • Replace callbacks in UltimateAdvancementAPI class with CompletableFutures

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.

Файлы

UltimateAdvancementAPI-Plugin-3.0.0-beta-1.jar(956.83 KiB)
Основной
Скачать
UltimateAdvancementAPI-Plugin-3.0.0-beta-1-Mojang-Mapped.jar(962.48 KiB)
Скачать

Метаданные

Канал релиза

Beta

Номер версии

3.0.0-beta-1

Загрузчики

Bukkit
Paper
Spigot

Версии игры

1.15–1.21.11

Загрузок

142

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная