Development
Development copied to clipboard
Server join/leave messages & adding a "switch server" message
Describe the solution you'd like In joinmessage.yml -
- Add per-server join/leave messages. So everyone on that server sees the custom message rather than the default Minecraft yellow "Player has joined the game". (this is different than the network join/leave messages that are sent to everyone on the network)
- When a player joins another server on the BungeeCord network, it should show a "switched server" message. Right now, when a player leaves, all other players just think they left the server (network). It should show "Player has moved to %server%" or "Player has switched from %serverfrom% to %serverto%." (Ideally, you add a config to modify the local.
- When a player joins or leaves, the server join/leave messages should get rid of the default Minecraft message, my suggestion is to cancel the default message if the config join message isn't set to false. For example, the text below would be canceled:
Describe alternatives you've considered If 2 & 3 are added, then 1 may not be necessary since the "moved servers" message will cover that area, but the more settings & customization, the better.
YML Example
joinmessages.yml
example:
# Should network join messages be displayed?
shownetworkjoin: true
# Should network quit messages be displayed?
shownetworkquit: true
# Should server join messages be displayed?
showserverjoin: true
# Should server quit messages be displayed?
showserverquit: true
##############################################################
# USES STANDARD MINECRAFT '&X' COLOUR/FORMAT CODES
# %NAME% = The name of the sender
# NETWORK join message
networkjoin: "&7[&a+&7] &7%NAME% joined the network"
# NETWORK SILENT join message
silentnetworkjoin: "&7[&a+&7] &7%NAME% joined the network silently"
# NETWORK quit message
networkquit: "&7[&c-&7] &7%NAME% left the network"
# NETWORK SILENT quit message
silentnetworkquit: "&7[&c-&7] &7%NAME% left the network silently"
# SERVER join message
serverjoin: "&7[&a+&7] &7%NAME% joined the server"
# SERVER SILENT join message
silentserverjoin: "&7[&a+&7] &7%NAME% joined the server silently"
# SERVER quit message
serverquit: "&7[&c-&7] &7%NAME% left the server"
# SERVER SILENT quit message
silentserverquit: "&7[&c-&7] &7%NAME% left the server silently"
This is a good idea, but for now, there are plugins that exist for spigot that remove the spigot "player joined the game" text like this one for example: https://www.spigotmc.org/resources/remove-join-leave-messages.83684/
The main suggestion is for server join messages & server moving messages. With those added, the removal of the default MC join/leave messages was suggested to be removed as well. Thanks for the resource, but for now I won't need it since I mostly just want a distinction between server joins/leaves.
I would also really love the switch server messages, and if this could handle the join/leave message suppression without another plugin that would be good as well.
I am also wishing for server switch messages, but I wish for a permission included in this, as I prefer having the switch messages show up for staff only.
+1 Switch messages would be a great addition