Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
General purpose API for my plugins. Just contains some utility classes and methods.
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
- Add
error.invalid-argument
message- Not used by anything in the API, but I end up adding it eventually in my plugins anyways
- Fix
AnnoyingFile
issueAnnoyingResource
s wouldn't work because of a change from 2.0.4, this should fix it
- Add missing parameter Javadoc
- Made
AnnoyingSender
fields public- Removed getters too since they are no longer needed, also added Javadocs to the fields
- Bump version (2.0.5)
- I forgot to bump it for 2.0.4, oops...
Full Changelog: https://github.com/srnyx/annoying-api/compare/2.0.4...2.0.5
2.1.0
- Add usage instructions for Maven by @MagicCheese1 in https://github.com/srnyx/annoying-api/pull/2
- Create qodana.yml
- Update qodana.yml
- Qodana fixes
- Update plugin.yml by @clickednebula3 in https://github.com/srnyx/annoying-api/pull/3
- Remove
@Contract
from some methods - Update Gradle
- At least parts of it, can't update to 8.1 entirely yet!
- Update
README.md
links - bStats, update checking, file options, & more
- Added bStats (bstats.org)
- Added
AnnoyingOptions#bStatsId
- Added
AnnoyingOptions#bStatsFileName
- Added
AnnoyingOptions#bStatsOptions
- Added
AnnoyingPlugin#bStats
- Added
bstats.yml
- Added
- Added update checking
- Added
AnnoyingOptions#updateAvailable
- Added
AnnoyingOptions#updatePlatforms
- Added
AnnoyingPlugin#checkUpdate()
- Added
AnnoyingUpdate
- Added
- Added
AnnoyingUtility#getJson(String, String)
- Renamed
AnnoyingCommandRegister
toCommandRegister
- Was also optimized
- Added
AnnoyingFile(AnnoyingPlugin, String)
- Added
AnnoyingFile.FileOptions
- Moved
AnnoyingFile#canBeEmpty
into this
- Moved
- Added
AnnoyingResource.ResourceOptions
which extendsAnnoyingFile.FileOptions
- Contains
#createDefaultFile
, which allows a default file that will always be updated to be created in adefault
folder in the plugin's folder
- Contains
- Added new default messages to
messages.yml
- Documentation has been moved to the GitHub
- Removed commands and permissions from
plugin.yml
- Reformatted the Gradle build files
- Adjusted example plugin to reflect new API changes
- Added bStats (bstats.org)
- Bump version (2.1.0)
New Contributors
- @MagicCheese1 made their first contribution in https://github.com/srnyx/annoying-api/pull/2
- @clickednebula3 made their first contribution in https://github.com/srnyx/annoying-api/pull/3
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
- Remove deprecated constructor use
- Add PlaceholderAPI support (optional)
AnnoyingMessage
will now parse PlaceholderAPI placeholders- Added
AnnoyingOptions#papiExpansiontoRegister
to set a placeholder expansion when the plugin enables - Added
AnnoyingPAPIExpansion
as an extendedPlaceholderExtension
to add default methods and such - Added
AnnoyingPlugin#papiInstalled
to track whether PlaceholderAPI is installed - Added
PlaceholderAPI
to soft-dependencies inplugin.yml
- Add
AnnoyingPlugin#parsePapiPlaceholders(OfflinePlayer, String)
- Bump version (2.1.2)
Full Changelog: https://github.com/srnyx/annoying-api/compare/2.1.1...2.1.2
Information
Published on | April 27, 2023 |
---|---|
Downloads | 0 |
Platforms
Paper (1.11-1.19.4)