Плагины/Annoying API/Версии/2.0.4: Global placeholders & more
Annoying API

Annoying API

General purpose API with tons of features

Все версии2.0.4: Global placeholders & more

2.0.4: Global placeholders & more

Release22 января 2023 г.

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

  • Remove non-shaded dependency examples
  • Global placeholders, AnnoyingFile changes, & more
    • Added Global placeholders
      • Removed AnnoyingOptions#colorLight
      • Removed AnnoyingOptions#colorDark
      • Added AnnoyingOptions#globalPlaceholders
      • Added AnnoyingPlugin#globalPlaceholders
      • Removed messages.yml#plugin.prefix
      • Added messages.yml#global-placeholders
    • Edited command/listener registration
      • Removed AnnoyingListener#register(Event)
      • Removed AnnoyingListener#unregister(Event)
      • Removed AnnoyingCommand#register
      • Removed AnnoyingCommand#unregister
    • Changed AnnoyingOptions#commands to AnnoyingOptions#commandsToRegister
    • Changed AnnoyingOptions#listeners to AnnoyingOptions#listenersToRegister
      • Added AnnoyingPlugin#registeredCommands
      • Added AnnoyingPlugin#registeredListeners
      • Added AnnoyingPlugin#unregisterListeners
      • Added AnnoyingPlugin#unregisterCommands
    • Changed AnnoyingUtility#getPlayer(String) to AnnoyingUtility#getOfflinePlayer(String)
    • AnnoyingCommand#onTabComplete(AnnoyingSender) now returns Collection<Object>
    • Added AnnoyingSender#isPlayer
    • Edited AnnoyingCommandRegister
      • Removed #minecraftServerClass
      • Removed #getServerMethod
      • Removed #vanillaCommandDispatcherField
      • Added #commandDispatcher
    • Edited AnnoyingDependency
      • Added #file
      • Removed #getFile
    • Made AnnoyingFile into an abstract class instead of an interface
    • Made changes to example plugin in relation to API changes
  • Changed AnnoyingCommand#onTabComplete
    • Now returns a Collection<String> instead of a Collection<Object>
  • Fix global placeholders
  • Remove AnnoyingOptions#prefix
    • Replaced by global placeholders which were added in an earlier commit

Full Changelog: https://github.com/srnyx/annoying-api/compare/2.0.3...2.0.4

Файлы

AnnoyingAPI-2.0.4.jar(45.97 KiB)
Основной
Скачать
AnnoyingAPI-2.0.4-javadoc.jar(113.91 KiB)
Скачать
AnnoyingExample-2.0.4.jar(54.84 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.0.4

Загрузчики

paperpurpurspigot

Версии игры

1.111.11.11.11.21.121.12.11.12.21.131.13.11.13.21.141.14.11.14.21.14.31.14.41.151.15.11.15.21.161.16.11.16.21.16.31.16.41.16.51.171.17.11.181.18.11.18.21.191.19.11.19.21.19.3

Загрузок

316

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

January 22, 2023 at 4:29 AM

Загрузил

srnyxsrnyx

ID версии