v3.6.0
New Features
- Adds support for notifying players with vanish permissions on silent movement, in addition to holders of
networkjoinmessages.silentwhenNotifyAdminsOnSilentMoveis enabled (#54 #56)OtherPlugins.SayanVanish.NotifyVanishEnabledPlayersOnSilentMove&OtherPlugins.PremiumVanish.NotifyVanishEnabledPlayersOnSilentMove- required for players with vanish permissions (SayanVanish or PremiumVanish) to receive silent message notificationsOtherPlugins.PremiumVanish.NotifyRespectVanishLevels- when enabled, only players whose vanish level meets or exceeds the silent player's level will receive the notification (#53)OtherPlugins.PremiumVanish.MaxLevel- configures the maximum PremiumVanish vanish level used whenNotifyRespectVanishLevelsis enabled (#60)
Development
- Converts
CorePlayerto an abstract class and applies Lombok for clarity and consistency (#55 #58)setDisconnectingnow requires a boolean argumentgetPremiumVanishHiddenhas been renamed toisPremiumVanishHidden
- Adds several test files covering broadcast, player, storage, and util packages (#59)
- broadcast (60 tests):
MessageFormatterTest,ReceiverResolverTest - player (57 tests):
LeaveJoinBufferManagerTest,PlayerStateStoreTest,SilenceCheckerTest - storage (42 tests):
TextPlayerJoinTrackerTest, modifiesH2PlayerJoinTrackerTest - util (80 tests):
LegacyColorTranslatorTest,PremiumVanishLevelUtilTest
- broadcast (60 tests):
Shoutout to @MauriceNino for helping so much with testing!
Related PR: #57