
Список изменений
- Add Hangar link
- Remove API custom bStats charts
- Add example PAPI expansion
- Remove
AnnoyingCooldown#getDuration()- Instead, just made
typepublic so the duration can be accessed usingCooldownType#getDuration()
- Instead, just made
- Add more
AnnoyingSenderutility methods- Added
AnnoyingSender#invalidArgument(Object)to send theAnnoyingOptions#invalidArgument message - Added
AnnoyingSender#invalidArguments()to send theAnnoyingOptions#invalidArgumentsmessage - Adjusted
ExampleCommandto reflect the above changes
- Added
- Add PAPI dependency & utility modifications
- If a PlaceholderAPI expansion is set, PlaceholderAPI will be added as a dependency
- Moved
AnnoyingUtilityinto theutilityfolder - Added
MapUtilityto more easily create maps (in Java 8, Java 9+ can just use staticMapmethods)
- Clarify
AnnoyingDownloaduse cases- Also removed PlaceholderAPI dependency adding if
AnnoyingOptions#papiExpansionToRegisterwas set
- Also removed PlaceholderAPI dependency adding if
- Use
MapUtilityinExamplePlugin - Make
papiExpansionToRegisteraSupplier<Object>- This will fix plugins setting
papiExpansionToRegisterwhen PlaceholderAPI isn't installed on the server
- This will fix plugins setting
- 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 newconfig.yml
- Allows for you to get
- Add Javadocs to
MapUtility - Make
commandRegisterstatic - Add more custom getters to
AnnoyingFilegetAttributeModifier(String, AttributeModifier)getItemStack(String, ItemStack)- Improved
getRecipe(String, String, Recipe) - Added
MinecraftVersionto easily track the server's Minecraft version (for reflection) - Added
ReflectionUtilityto manage class/method/constructor/etc... reflection - Adjusted
ExamplePluginto match new changes
- Add enchantment error logging for
AnnoyingFile - Add enchantments using
ItemMeta - Add missing Javadocs and warning suppressions
- Add
AnnoyingUpdate#checkUpdate() - Fix
AnnoyingFileformatting - Add
ItemDataUtilityand improveMinecraftVersionItemDataUtilityallows 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 MinecraftVersionnow multiplies major version by10000to avoid future conflicts
- Delete qodana.yml
- Delete qodana.yaml
- 1.8.8+ support and NBT API
- Fix incorrect annotation
- Fix
AnnoyingMessagefor console - Use new reflection organization
- Add support for
Cmdin command class names- So now the API will also remove
Cmdfrom the class name when generating the command's name when one is not manually specified - Example: Instead of
ShopCommandyou can now just doShopCmd
- So now the API will also remove
- 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 anObjectto be passed
- This allows you to translate the color codes for all objects in a collection.
- Add
Refbefore 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
Метаданные
Канал релиза
Release
Номер версии
3.0.0
Загрузчики
paperpurpurspigot
Версии игры
1.8.81.8.91.91.9.11.9.21.9.31.9.41.101.10.11.10.21.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.31.19.4
Загрузок
338
Дата публикации
May 29, 2023 at 11:40 PM