Annoying API

Annoying API

Plugin

General purpose API with tons of features

Server LibraryManagementUtility

1,329 downloads
1 follower
Createda year ago
Updated5 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...

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

This update includes 2.0.5, 2.1.0, 2.1.1, and 2.1.2 (I forgot to publish for the previous 3 oops...)

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

2.0.5

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

2.1.0

New Contributors

Full Changelog: https://github.com/srnyx/annoying-api/compare/2.0.5...2.1.0

2.1.1

Full Changelog: https://github.com/srnyx/annoying-api/compare/2.1.0...2.1.1

2.1.2

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

  • 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

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

Full Changelog: github.com/srnyx/annoying-api/compare/1.1.10...1.1.11

  • Fixed AnnoyingUtility#getFileNames(AnnoyingPlugin, String) (made it static)
  • Removed AnnoyingMessage#send(TextChannel)
  • Removed DiscordSRV dependency and repositories

Full Changelog: github.com/srnyx/annoying-api/compare/1.1.9...1.1.10

  • Added DiscordSRV import
  • Added AnnoyingMessage#send(TextChannel)
  • Added AnnoyingUtility#getFileNames(AnnoyingPlugin, String)
  • Added padWithZeros option to AnnoyingUtility#formatMillis(long, String) (now AnnoyingUtility#formatMillis(long, String, boolean))
  • Fixed incorrect key name for only-player (now player-only) in messages.yml
  • Removed AnnoyingCooldown#getRemainingPretty(String)

Full Changelog: https://github.com/srnyx/annoying-api/compare/1.1.8...1.1.9

  • Added %permission% placeholder for erorr.no-permission message
  • Added AnnoyingPlugin#reload()
  • Added /test reload to test AnnoyingPlugin#reload() in test JAR/plugin
  • onTabComplete(AnnoyingSender) now returns a Collection<String> to support both Lists and Sets
  • Moved AnnoyingCommandRegister, AnnoyingDependency, and AnnoyingDownload into dependency folder
  • Removed AnnoyingPlugin#commandRegister
  • Added more AnnoyingSender methods
    • #getPlayer()
    • #argEquals(int, String)
  • Added more AnnoyingUtility methods
    • #getPlayer(String)
    • #getOnlinePlayerNames()
    • #getOfflinePlayerNames()
    • #getAllPlayerNames()
    • #getWorldNames()

Full Changelog: github.com/srnyx/annoying-api/compare/1.1.7...1.1.8

  • Added User-Agent header property for HTTP connections
  • Added version comments in messages.yml

Full Changelog: github.com/srnyx/annoying-api/compare/1.1.6...1.1.7

External resources



Project members

srnyx

Owner


Technical information

License
MIT
Project ID