Implemented Essentials config-option vanish-hide-messages#6578
Implemented Essentials config-option vanish-hide-messages#6578BlvckBytes wants to merge 1 commit into
Conversation
…o that of EssentialsDiscord, affecting quit- and death-messages
|
Silent quit doesn't really need a config option since the |
Have you read the actual issue I've referred to? |
|
Essentials provides LuckPerms contexts that can be used to only apply the silent join/quit message permissions while vanished. If the team decides it does make sense to have an option for it instead of relying only on contexts for that use case, then why not include join messages in that bunch as well? |
|
I did not know that Essentials provides contexts - where is that even documented? All I found was a single update changelog on Spigot that mentions them. As by the codebase, the following are available: With this in mind, my main issue of conditionally disabled quit-messages would probably be solvable, so thank you for letting me know! :) Join-messages are already implemented properly, see: So, if the user has One could only hide join-message if the new config-option is enabled, but that would break backwards-compatibility, which will make it even harder for me to get this simple feature-request merged. Essentials is full of inconsistencies and asymmetries, so I am simply trying to touch as little as possible. EssentialsDiscord implements this exact option just that it also does so for join-messages, so I thought that mimicking it would be the simplest option, as users already have an idea of what it does. |
The only caveat with the silentjoin.vanish permission is that it puts you into vanish automatically even if you weren't already, which may not be ideal. All that said, I do think the death message suppression could certainly be useful (though I wonder if it should be a perm like the others?). I'll forward this on to the team to get their thoughts. |
|
Thanks a bunch! I'm happy to give it time, as there's no urgency on my part. A permission sounds like a very elegant solution, especially in combination with contexts, :)! |
Information
This PR closes #6577.
Details
Proposed feature:
If this config-option is enabled, death- and quit-messages are not sent to chat while in vanish-mode. The default value is set to
false, as to not alter any existing functionality by remaining opt-in rather than opt-out.Environments tested:
OS: Fedora Linux 42 (Workstation Edition)
Java version: Java 25
Demonstration:
It's a bit of a challenge to demonstrate the absence of these messages with mere pictures, so for now, I hope that it's okay if I omit the visual demonstration.