This plugin allows you to prevent users from logging into a server for maintenance. If you find bugs or have a suggestion for a feature add in let me know. This is my first bungeecord plugin.
Kick all players currently on a server to random servers (configured in the config.yml).
Move all players who join to a random server (configured in the config.yml).
Allow people with permission to bypass the kick.
Make announcements on a specified server.
/mm <server|all> enable - Enters the server into maintenance mode and kicks current players.
/mm <server|all> disable - Removes the server from maintenance mode.
/mm reload - Reloads the plugin config.
/mm list - Lists all servers currently in maintenance mode.
MaintenanceMode.use - Allows access to all commands
MaintenanceMode.bypass.* - Allows kick bypass on all servers
(Must be using a permissions plugin that supports '*')
MaintenanceMode.bypass.Factions - Allows kick bypass on Factions server only
onKick - The message to be sent to the player when they are kicked from the server.
onJoin - The message to be sent to the player when they try to join during maintenance.
fallbackServers - The server(s) that the players will be kicked to.
enabledServers - Where Maintenance Mode will store server names to allow for proxy restarting.
announcePrefix - The prefix for the command '/mm announce'
Move the MaintenanceMode.jar into your bungeecord plugins folder. Start the proxy. Configure the config.yml (plugins/MaintenaneMode/config.yml). Enter the command '/mm reload' or restart the proxy.