Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.8–1.8.9
Platforms
Paper
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Licensed MIT
Published last year
Updated yesterday
Changelog
- Fix Gradle placeholders
- Add
loadMessages()
and more changesmessages.yml
loading has been moved into it's own method,AnnoyingPlugin#loadMessages()
- Removed translating some of the message options keys into their strings from
messages.yml
- Getting missing dependencies and their names improved
- Completely reworked
AnnoyingMessage
replacements- Added
AnnoyingMessage#Replacement
, which holds information about a replacement - Added
#splitterPlaceholder
which will keep the parameter placeholder splitter cached #replacements
is now aSet<Replacement>
instead of aMap<String, String>
- Reorganized some methods
- Parameter placeholder replacements will no longer be processed immediately. This will ensure that all parts of a message (sub-messages, JSON components, etc...) will get the replacement processed.
- Added
- Adjusted reload logic
- Will no longer use
PluginManager
to reload the plugin. Instead, it will only reloadAnnoyingPlugin#messages
and then runAnnoyingPlugin#reload()
, which a plugin using the API can override.
- Will no longer use
- Multiple strings for
AnnoyingSender#argEquals(int String...)
- Instead of doing
annoyingSender.argEquals(0, "string1") || annoyingSender.argEquals(0, "string2")
, you can now do `annoyingSender.argEquals(0, "string1", "string2")
- Instead of doing
- Add
PlayerDamageByPlayerEvent
(#1) - Make Jetbrains Annotations use
compileOnlyApi
- Change
PlayerJoinEvent
example toPlayerDamageByPlayerEvent
- Add
attack
message key - Bump version (2.0.3)
Full Changelog: github.com/srnyx/annoying-api/compare/2.0.2...2.0.3
Files
Metadata
Release channel
ReleaseVersion number
2.0.3Loaders
Game versions
1.11–1.19.3Downloads
222Publication date
January 4, 2023 at 10:42 PMPublisher
srnyx
Owner