Important note: Please use one of the newest versions of BungeeCord (you can download it here:
https://ci.md-5.net/job/BungeeCord/). If you are using an older version of BungeeCord, errors can occur.
What can the plugin do? It is a simple plugin, which sends a message to all player on the BungeeCord server, who have a certain permission ("alert.receive"), when a player, with a certain permission ("alert.trigger"), connect/disconnect to the BungeeCord server or switches the server within the BungeeCord network. Also you can welcome new users with a first join message.
Features:
all messages are fully editable (type "x" to disable a message)
first join message (editable and can be deactivated)
custom command name ("/toggle" is default, but you can change this in the config!)
5 different permission for a perfect flexibility (e.g. receive only a notification if a staff member switches the server or receive always a message for all players)
Commands:
/bsa reload - Reloads the plugin - Permission: alert.command.reload
/toggle - Decide if you want to receive server switch alerts or not - Permission: alert.command.toggle
Permissions:
alert.trigger - Permission to trigger the alert when switching the servers (when a player doesn't have the permission, no alert message will be sent)
alert.receive - Permission for receiving the alert message, if a player (with the previous permission) switches the server
alert.receive.firstjoin - Permission for receiving the first join message
alert.command.toggle - Permission to use the toggle command (e.g. "/toggle - like I said before, you can change the command in the config or disable it)
alert.command.reload - Permission to reload the configurations of the plugin
Please note that these are BungeeCord permissions!
Config:
ServerSwitchMessage - The alert message for switching the server (placeholder: %player% ; %oldServer% ; %newServer%)
BungeeFirstConnectMessage - The alert message for new users which connected the first time to your proxy (placeholder: %player%, %server%)
BungeeConnectMessage - The alert message for logging in to the proxy (placeholder: %player% ; %server%)
BungeeDisconnectMessage - The alert message for logging out of the proxy (placeholder: %player% ; %server%)
ToggleCommandName - The name of the command (the argument you type after the "/", e.g. "/toggle")
ToggleCommandMessage.NoPermission - The message a user receive, if he has no permissions (alert.team.command) for the toggle command
ToggleCommandMessage.On - The message a team member receive, when he use the toggle command and activates the alert message
ToggleCommandMessage.Off - The message a team member receive, when he use the toggle command and deactivates the alert message
Code (YAML):
ServerSwitchMessage: '&c
%player% &7went from &e%oldServer% &7to &a%newServer%' BungeeFirstConnectMessage: '&6Welcome to our server, &a
%player%&6!' BungeeConnectMessage: '&c
%player% &7logged in at &a%server%' BungeeDisconnectMessage: '&c
%player% &7logged out from &a%server%' EnableToggleCommand: true
ToggleCommandName: toggle
ToggleCommandMessage:
NoPermission: '&cYou do not have permission to execute this command!'
'On': '&aYou will now receive server switch messages.'
'Off': '&cYou will not receive server switch messages anymore.'
ReloadCommandMessage:
Done: '&aSuccessfully reloaded the config.'
Help: '&cUse
: /bsa reload or /bungeeswitchalert reload'
NoPermission: '&cYou do not have permission to execute this command!'