Annoying API

Annoying API

Plugin

General purpose API with tons of features

Server LibraryManagementUtility

5,569 downloads
1 follower
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

2.0.4: Global placeholders & more

Changelog

  • 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

Files

AnnoyingAPI-2.0.4.jar(45.97 KiB) Primary Download
AnnoyingAPI-2.0.4-javadoc.jar(113.91 KiB) Download
AnnoyingExample-2.0.4.jar(54.84 KiB) Download

Project members

srnyx

Owner

Details

Licensed MIT
Published 2 years ago
Updated 3 months ago