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

Annoying API

General purpose API with tons of features

Оцените первым
10.3K
2
Все версии3.0.0: 1.8.8+ support and more

3.0.0: 1.8.8+ support and more

Release30.05.2023

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

  • Add Hangar link
  • Remove API custom bStats charts
  • Add example PAPI expansion
  • Remove AnnoyingCooldown#getDuration()
    • Instead, just made type public so the duration can be accessed using CooldownType#getDuration()
  • Add more AnnoyingSender utility methods
    • Added AnnoyingSender#invalidArgument(Object) to send the AnnoyingOptions#invalidArgument message
    • Added AnnoyingSender#invalidArguments() to send the AnnoyingOptions#invalidArguments message
    • Adjusted ExampleCommand to reflect the above changes
  • Add PAPI dependency & utility modifications
    • If a PlaceholderAPI expansion is set, PlaceholderAPI will be added as a dependency
    • Moved AnnoyingUtility into the utility folder
    • Added MapUtility to more easily create maps (in Java 8, Java 9+ can just use static Map methods)
  • Clarify AnnoyingDownload use cases
    • Also removed PlaceholderAPI dependency adding if AnnoyingOptions#papiExpansionToRegister was set
  • Use MapUtility in ExamplePlugin
  • Make papiExpansionToRegister a Supplier<Object>
    • This will fix plugins setting papiExpansionToRegister when PlaceholderAPI isn't installed on the server
  • Add AnnoyingFile#getRecipe(...)
    • Allows for you to get Recipes from a YML file. You can see an example of the structure they should have in the example plugin's new config.yml
  • Add Javadocs to MapUtility
  • Make commandRegister static
  • Add more custom getters to AnnoyingFile
    • getAttributeModifier(String, AttributeModifier)
    • getItemStack(String, ItemStack)
    • Improved getRecipe(String, String, Recipe)
    • Added MinecraftVersion to easily track the server's Minecraft version (for reflection)
    • Added ReflectionUtility to manage class/method/constructor/etc... reflection
    • Adjusted ExamplePlugin to match new changes
  • Add enchantment error logging for AnnoyingFile
  • Add enchantments using ItemMeta
  • Add missing Javadocs and warning suppressions
  • Add AnnoyingUpdate#checkUpdate()
  • Fix AnnoyingFile formatting
  • Add ItemDataUtility and improve MinecraftVersion
    • ItemDataUtility allows you to add data to item stacks across all versions from 1.11-1.19.3 using their respective data management systems
    • 1.13-1.13.1 uses lore to store data which is very unreliable, so a warning message has been added for these versions
    • An example has been added in ExampleListener
    • MinecraftVersion now multiplies major version by 10000 to avoid future conflicts
  • Delete qodana.yml
  • Delete qodana.yaml
  • 1.8.8+ support and NBT API
  • Fix incorrect annotation
  • Fix AnnoyingMessage for console
  • Use new reflection organization
  • Add support for Cmd in command class names
    • So now the API will also remove Cmd from the class name when generating the command's name when one is not manually specified
    • Example: Instead of ShopCommand you can now just do ShopCmd
  • Added AnnoyingUtility#colorCollection(Collection<?)
    • This allows you to translate the color codes for all objects in a collection. AnnoyingUtility#color(String) was also adjusted to allow for an Object to be passed
  • Add Ref before each reflected class
  • Fix #5
  • Use new system for plugin platforms
    • Had to do this because Hangar's API requires the author name :(
  • Remove TODOs
  • Update links to new format
  • Bump version (3.0.0)

Full Changelog: https://github.com/srnyx/annoying-api/compare/2.1.2...3.0.0

Файлы

AnnoyingAPI-3.0.0.jar(235.36 KiB)
Основной
Скачать
AnnoyingAPI-3.0.0-javadoc.jar(228.98 KiB)
Скачать
AnnoyingExample-3.0.0.jar(388.34 KiB)
Скачать

Метаданные

Канал релиза

Release

Номер версии

3.0.0

Загрузчики

Paper
Purpur
Spigot

Версии игры

1.8.8–1.19.4

Загрузок

365

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

30.05.2023

Загрузил

ID версии

Главная