Messaging - pantherman594/BungeeEssentials GitHub Wiki

A lot of servers I've seen long for a messaging system that allows their players to communicate from completely different servers, the command even comes with tab completion so you don't have to remember person235432<more numbers> username.

If you decide to use the messaging commands bundled in BungeeEssentials then please take a look at this page.

Command

message is the base command that gets registered, it is associated with the permission node gssentials.message and has 5 aliases. In order to message with color, the permission node gssentials.message.color is required, as well as gssentials.message.global to message across servers, gssentials.message.click to use {{ CLICK }}, and gssentials.message.hover to use {{ HOVER }}.

The command reply is also registered with the single alias r, the command is associated with the same permission node as the messaging command. This applies to either the last person who messaged you (3 second delay) or the last person you messaged.

Messaging can also be toggled on and off with /message <on|off|toggle>. If it is off you won't receive messages from other players.

Aliases

  • msg
  • pm
  • t
  • tell
  • w
  • whisper

Configuration

When you first install BungeeEssentials the command will be enabled, though if you wish you can disable it by removing message from the enable section of the config file.

Key Default
message.format.send &7[me » {{ BREAK }}&7{{ RECIPIENT }}{{ HOVER: On the {{ SERVER }} server. }}{{ BREAK }}&7] &f{{ MESSAGE }}
message.format.receive &7[{{ SENDER }} » me]{{ HOVER: On the {{ SERVER }} server. Click to respond. }}{{ CLICK: SUG: /msg {{ SENDER }} }} &f{{ MESSAGE }}
message.enabled &aMessaging isnow enabled!
message.disabled &cMessaging is now disabled!

When adjusting the message format you may include any global variables as well as those listed below.

Variable Replacement
{{ SERVER }} The name of the ServerInfo where the message originated
{{ SENDER }} The name of the CommandSender that the message originates from
{{ RECIPIENT }} The name of the ProxiedPlayer receiving the message
{{ MESSAGE }} The message that was sent