Skip to content

3.6.0#57

Open
EarthCow wants to merge 18 commits into
masterfrom
dev
Open

3.6.0#57
EarthCow wants to merge 18 commits into
masterfrom
dev

Conversation

@EarthCow
Copy link
Copy Markdown
Contributor

No description provided.

EarthCow added 11 commits May 9, 2026 21:25
If the new config option `PVNotifyVanishEnabledPlayersOnSilentMove` is enabled, both `pv.use` and `pv.see` levels are determined upon the player joining the proxy.
Logic may be costly, but there is no alternative currently known.
Transforms `ReceiverResolver#getSilentReceivers` to `ReceiverResolver#isSilentReceiver` to prevent the creation of an intermediate List and double loop.
Also moves the ternary statement for determining the parseTarget outside the player loop.
`NotifyVanishEnabledPlayersOnSilentMove` will be modified to notify players with either `pv.use` or `pv.see` permissions. This will leave the expensive vanish level determination logic out for PV users who do not use layered permissions.

To enable respecting layered permissions, this commit adds a new config option, `NotifyRespectVanishLevels`, to `PluginConfig` and `config.yml`. This and the other permission changes are yet to be implemented as this commit only adds the new permission.

Also changed silenced messages to silent messages and update config comments for the new expected functionality.
@EarthCow EarthCow changed the title v3.6.0 3.6.0 May 14, 2026
EarthCow added 2 commits May 14, 2026 14:05
As a result of using Lombok, `setDisconnecting` now requires a boolean argument and `getPremiumVanishHidden` was renamed to `isPremiumVanishHidden`. These changes are good for consistency and clarity anyway.
@EarthCow EarthCow marked this pull request as ready for review May 14, 2026 18:28
Comment thread src/main/java/xyz/earthcow/networkjoinmessages/common/MessageHandler.java Outdated
EarthCow added 4 commits May 14, 2026 14:43
 broadcast (59): MessageFormatterTest, ReceiverResolverTest
    player (57): LeaveJoinBufferManagerTest, PlayerStateStoreTest, SilenceCheckerTest
   storage (42): TextPlayerJoinTrackerTest, (modifies H2PlayerJoinTrackerTest)
      util (80): LegacyColorTranslatorTest, PremiumVanishLevelUtilTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant