Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Show join and quit messages when a player vanishes

Open akdukaan opened this issue 5 years ago • 4 comments

Feature request

Feature description:
Two config options called something like message-on-vanish and message-on-unvanish which are broadcasted when vanish is turned on and off respectively

How the feature is useful:
This can be used to make fake join and quit messages. A similar feature was requested earlier (https://github.com/EssentialsX/Essentials/issues/2713) but was closed because there wasn't a reliable way to get join messages. This should fix that issue by allowing the server owners to input the format themselves.

akdukaan avatar Dec 28 '20 10:12 akdukaan

I don't know why this should be a config option, especially Strings. It should be a simple boolean to fake a join/quit message based on what's already in the config. Otherwise good idea.

Chew avatar Dec 28 '20 21:12 Chew

#3881 does this work until now? Cause I open the jar files and add some this Adds the config option below:

When a player enters/exits vanish, should a fake login/logout message be sent?

send-vanish-broadcast: false The message is taken from messages.properties which defaults to the same as vanilla:

unvanishBroadcast=\u00a7e{0} joined the game vanishBroadcast=\u00a7e{0} left the game

FactoJanrenzo avatar Nov 19 '21 07:11 FactoJanrenzo

Reopening as this is still a valid feature request, even if the scope and implementation of #3881 wasn't suitable in the end.

mdcfe avatar Jan 11 '25 11:01 mdcfe

I believe this feature should be at the very least partially implemented as a toggleable option. Since EssentialsX, by default, can handle join/leave messages, it should also be capable of handling join/leave messages for vanishing. The discord addon for this plugin also sends fake join/leave messages, so I see no reason why there should be no support for such within the game chat itself.

I'd propose that the config for vanishing join/leave is separated into 2 groups of 2 sub-configs. The first of each of these would be something along the lines of "vanish-join", where the possible states would be "default", where simply the message set in the already existing "custom-join-message" config would be used; a "custom" option where the admin could use formatted text, potentially formatted as if it were a /tellraw to everyone based on a new "vanish-join-message" config, effectively eliminating most issues when it comes to formatting; and an "off" option, where no message is sent at all, for servers which have alternative vanishing solutions/plugins which directly affect all of chat. Of course, the same 2 configs should be present for quitting. Separating these as such would also definitely prove useful, as some servers like to send join messages yet not any quit messages.

NeoSaysMeow avatar Jan 11 '25 11:01 NeoSaysMeow