This plugin allows you to define a global message sent to all players on your network when someone joins, quits, or swaps from one server to another. Additionally, supports messages being sent to Discord via
Webhook
This is a continuation of Tirco's
BungeeJoinMessages as it appears it is no longer being maintained. As such, this page has mostly been derived from the original plugin's spigot page and all credit is reserved to Tirco in that respect.
Legacy color codes and MiniMessage formatting support!!
Optionally, download LuckPerms and/or PAPIProxyBridge for additional placeholder support
Restart the proxy
Configure the plugin's messages in plugins/NetworkJoinMessages/config.yml to your liking
Optionally, configure the Discord messages in in plugins/NetworkJoinMessages/discord.yml
Run the command /njoinreload for changes to take effect
Permissions:
Make sure the permissions are set on the proxy and not on individual servers. With LuckPerms that means either
/lpb for BungeeCord or
/lpv for Velocity.
networkjoinmessages.silent Makes it so no message is displayed when you join, leave or swap servers. This permission is meant for staff that often join the server while vanished.
networkjoinmessages.fakemessage Allows the use of the /fakemessage command. The command will display a fake join/leave/switch message, based on the arguments given.
networkjoinmessages.reload Allows you to reload the configuration file with the /njoinreload command.
networkjoinmessages.togglemessage Allows the usage of the /njointoggle command, that lets them not receive certain messages from the plugin.
Commands:
/njointoggle (alias: /togglejoinmessage) Lets you disable certain incoming messages from the plugin. (/njointoggle <all/join/leave/switch> <on/off>)
/fakemessage (Alias: /fm) Displays a help message containing the possible uses.
/fm fakequit (or /fm fq) Sends a message on all servers, as if you've left the network.
/fm fakejoin (or /fm fj) Sends a message on all servers, as if you've joined the network.
/fm fakeswitch <from> <to> (or /fm fs <from> <to>) Sends a message on all servers as if you've travelled from server A (from) to server B (to).
/fm toggle Toggles your silent state, so that messages are sent to everyone. (Must have both the command and silent permission to use this)
/njoinreload or /networkjoinreload reloads the configuration file.
Placeholders:
Any of the three message types:
%player% Player username
%displayname% Custom name the player has according to the proxy
%player_prefix% Player prefix (requires LuckPerms on the proxy)
%player_suffix% Player suffix (requires LuckPerms on the proxy)
Swap server message:
%to% The server they are going to
%to_clean% ^ Same, but with color codes removed.
%from% The server they are coming from
%from_clean% ^ Same, but with color codes removed.
%playercount_to% The amount of players on the server they going to.
%playercount_from% The amount of players on the server they are coming from.
%playercount_network% The amount of players on the network.
Join & leave network messages:
%server_name% The name of the server they joined to or was last on when they left.
%server_name_clean% - ^ Same, but with color codes removed.
%playercount_server% The amount of players on the server they connected to, or was last on when they left.
%playercount_network% The amount of players on their network.
Remember that you can use the command
/njoinreload to reload the messages without having to restart the server.
Requires the
networkjoinmessages.reload permission.
More Info:
If you want the vanilla join/leave messages to go away, I recommend removing them with
EssentialsX, or use
this basic plugin.
If you want any of these added faster add a comment to the linked GitHub issue, or if you have your own feature request,
make a new issue.