2.0.2: AnnoyingMessage and AnnoyingSender changes
- New
AnnoyingMessage#DefaultReplaceType
- Added
BOOLEAN
default replace type - Renamed
DECIMAL
default replace type toNUMBER
- Renamed
AnnoyingUtility#formatDouble(double, String)
toAnnoyingUtility#formatNumber(Number, String)
- Adjusted
messages.yml
to reflect new changes
- Added
- Adjusted comments in
build.gradle.kts
- Added new
AnnoyingSender
methods- Added
#checkPlayer()
to check if theCommandSender
is a player, if they aren't, it'll send theAnnoyingOptions#playerOnly
message - Added
#checkPermission(String)
to check if theCommandSender
has the specified permission, if they don't, it'll send theAnnoyingOptions#noPermission
message - Both
AnnoyingSender
constructors now have anAnnoyingPlugin
parameter (for the new methods)
- Added
- Bump version (2.0.2)
Full Changelog: 2.0.1...2.0.2