MaintenanceMode - Bungee AND Spigot support! 2.2.1

Lets you activate a maintenance mode on your BungeeCord as well as Spigot/Bukkit server!

  1. KennyTV
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    This plugin lets you activate a maintenance mode on your BungeeCord as well as Spigot/Bukkit server, which will prevent players without a permission to join the server.
    Whatever version you want to use, just place the plugin inside your plugin folder of your server running Spigot or BungeeCord! (the BungeeCord version will manage maintenance for the whole proxyserver, putting it on single Spigot servers will only activate it on the specific ones).
    You can choose, how long you want maintenance mode to be enabled or start a timer to enable it after a certain amount of minutes with global broadcasts in between.
    Messages are customizable, you can also customize the playercount and even the server-icon (with a "maintenance-icon.png" in the server directory, not the plugin directory). It could look like this:


    Found any bugs?
    > Use the issue tracker

    • "/maintenance <on/off>" will set the status of the maintenance mode
    • "/maintenance reload" lets you reload the config file while the server is running
    • "/maintenace <add/remove> <player>" allows specific players to join on the server even though maintenance is enabled
    • "/maintenance whitelist" returns a list of all players on the maintenance whitelist
    • "/maintenance timer starttimer <minutes>" will enable maintenance mode after the time is up
    • "/maintenance timer endtimer <minutes>" will enable maintenance mode for the given time in minutes. After the time is up, it'll be disabled again
    • "/maintenance update" remotely downloads the newest version of the plugin onto your server
    On BungeeCord you can only add players to the whitelist via adding their UUID to the config or by using the add command while they are online, because BungeeCord doesn't have OfflinePlayer support as Spigot has.

    generatedtext (1).png
    • maintenance.admin - use the maintenance commands listed above
    • maintenance.reload - use the "/maintenance reload" command
    • maintenance.bypass - lets you bypass the maintenance mode
    • maintenance.joinnotification - if enabled: sends a notification to you if a player tries to join the server while maintenance is enabled

    IMPORTANT - If you are using the plugin on your proxyserver: You have to have these permissions on the proxy, not on the Bukkit servers! This can be done by putting them into the Bungee config.yml as seen here:
    This or you have a permissions plugin, which also works across the Proxy/Bungee.
    If you use it on a Spigot/Bukkit server, normal permission plugins should work (as well as being an operator).

    generatedtext (2).png

    If you are using the Spigot version of the plugin, you have to have ProtocolLib installed to use the custom server-icon and the playercount-messages! The rest however is also without it accessable.
    For the Bungee version you don't need to have any other plugins installed.

    Note that the Spigot version doesn't have MySQL support.
    Code (Text):

    # Maintenance Plugin by KennyTV
    # Version 2.2.1

    # Enables maintenance-mode.
    enable-maintenance-mode: false

    # The message shown in the multiplayer server list motd.
    pingmessage: "&cMaintenance mode!%NEWLINE%&6We will be back soon!"

    # Is shown at the top right corner of the server in the serverlist,
    # where the playercount would normally be displayed.
    playercountmessage: "&4Maintenance"

    # Is shown when you move your mouse above the text at the top right corner of the server in the serverlist,
    # where the playercount would normally be displayed.
    playercounthovermessage: "&cCurrently under%NEWLINE%&cmaintenance"

    # Will be shown, when a player tries to join on the server without the permission.
    kickmessage: "&cThe server is currently under maintenance!%NEWLINE%Try again later!"

    # Some self explanatory messages
    no-permission: "&cYou do not have the permission to execute that command."
    maintenance-activated: "&6Maintenance mode is now activated."
    maintenance-deactivated: "&6Maintenance mode is now deactivated."

    starttimer-broadcast-mesage: '&8[&eMaintenance&8] &7Maintenance mode will be enabled in &6%MINUTES% minutes&7.'
    endtimer-broadcast-mesage: '&8[&eMaintenance&8] &7Maintenance mode will be disabled in &6%MINUTES% minutes&7.'

    # If using the timer command: In what intervalls before enabling/disabling maintenance there will be a broadcast.
    timer-broadcasts-for-minutes: [60, 30, 15, 10, 5, 4, 3, 2, 1]

    # If set to true, players with the maintenance.joinnotification permission will receive a message,
    # that a player tried to join the server while maintenance is enabled.
    send-join-notification: false
    join-notification: "&e%PLAYER% &ctried to join the server."

    # If set to true, the server icon will be changed to maintenance-icon.png in the Bungee main/base-folder.
    enable-custom-maintenance-icon: false

    # Only enable MySQL if you really know what you are doing.
    # You need to have a table with the two following columns: 'setting' and 'value'.
      use-mysql: false
      host: host
      port: 3306
      database: database
      table: tablename
      username: username
      password: password

    If you have the ServerListPlus plugin on your BungeeCord/Spigot server, MaintenanceMode will toggle its status. If you enable maintenance, the ServerListPlus motd will be disabled and then reenabled, when you disable maintenance to prevent any issues with them overriding each other.

    Only available for the BungeeCord version!
    By enabling MySQL in the config, you can even connect multiple proxy-servers to a set value in your database, so you won't have to enable/disable maintenance on each proxy by hand!
    The table will be automatically created by the plugin.

    A rating or a review would be highly appreciated and a creation of one (and also for a spigot account) is fairly easy! :)

Recent Updates

  1. Version 2.2.1 Changelog
  2. Version 2.2 Changelog
  3. Version 2.1 Changelog

Recent Reviews

  1. jonnycp9
    Version: 2.2
    Utile quando vogliamo avvisare gli utenti che il server è online ma al momneto non è accessibile , e che non di devono preoccupare che il server tornerà presto aperto al pubblico, ottimo per lavorare IP (SP 1.8/1.12.2
  2. MatthewD
    Version: 2.2
    I absolutely love this plugin. It makes update/maintenance so much easier. Thank you!
  3. Emilien52
    Version: 2.2
    nice plugin !
    Super plugin !

    Je le conseil totalement modifiable et super complet !
    1. KennyTV
      Author's Response
      Merci beaucoup! :D
  4. ScienceCodeDE
    Version: 2.2
    Ich weiß du kannst Deutsch weil du auf NeruxVace als Admin arbeitest.

    -> Also folgende Kriterien muss ich leider feststellen:

    <-> Das Plugin möchte nicht laden bei mir [1.8.x] [BungeeCord] [CloudNET]

    <-> Wenn du wirklich der echte Admin bist dann ist dein Support echt schlecht, denn man fragt dich im Chat "KennyTV?" und du lauft einfach weiter und ignorierst einfach die Spieler .. Aber wenn dich ein Prime fragt reagierst du.. CrackGomme? Abgesehen davon das herumlaufen in der Lobby sicherlich wichtiger ist für dich als nur einfach mal "ja?" zu schreiben im Chat ist ziemlich traurig. Ich habe schon viele Teammitglieder eine Frage gestellt wie zB "Warum gehen die PServer nicht?" Aufgefallen ist mir auch wenn du ein Hacker vor deiner Nase siehst denkst du dir so "Och man ein Hacker ... lassen wir Ihn in Ruhe!"

    Mit freundlichen Grüßen!

    ScienceCode | Dev
    1. KennyTV
      Author's Response
      Bitte verwende den Issue Tracker mit ausreichend geliferten Informationen, wie dort dargestellt wird:

      NeruxVace bezogene Themen haben hier nichts zu suchen, auf diese werde ich hier auch nicht antworten.
  5. AAlexRR
    Version: 2.1
    Flawless! Works perfect, How do I use the serverlistplus integration, the ping doesn't show what i write
    1. KennyTV
      Author's Response
      Thanks :D
      The integration is meant to disable the ServerListPlus ping when maintenance is enabled and reenabling it when maintenance is disabled (normally ServerListPlus would override all of it). The ping for maintenance can be set in the maintenance config. ^^
  6. CookieKenneth
    Version: 1.8.1
    Nice plugin! I really love the features you added into the plugin, they work great on my server.
  7. hcfdoppler
    Version: 1.8.1
    good plugin and great dev this plugin is very good and you need for your server | sorry for my english is so bad,
    1. KennyTV
      Author's Response
      Thank you :)
  8. Jugo5112000
    Version: 1.8.1
    Awesome Plugin i knew that i need it..................................................... Thank You Sorry my english
  9. Elguerrero
    Version: 1.8.1
    Good plugin!:D and more with the last updates!:D SO GOOD!:D
    I use this on my network
    1. KennyTV
      Author's Response
      Thank you :D
  10. Lordcre_
    Version: 1.8
    Excellent plugin :) Could you by chance add the capability to add offline players to the whitelist?
    1. KennyTV
      Author's Response
      Expect an update today/tomorrow :p