MaintenanceMode - Bungee AND Spigot support! 2.3

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:
    https://github.com/KennyTV/Maintenance
    Contributors:
    KennyTV
    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:


    Screenshot_1.jpg

    Found any bugs or want a new feature?
    > Use the issue tracker


    generatedtext.png
    • /maintenance <on/off> will set the status of the maintenance mode
    • /maintenance reload reloads the config and maintenance-icon file
    • /maintenace <add/remove> <player> allows specific players to join on the server when maintenance is enabled
    • /maintenance whitelist returns a list of all players on the
    • maintenance whitelist
    • /maintenance starttimer <minutes> will enable maintenance mode after the time is up
    • /maintenance endtimer <minutes> will enable maintenance mode for the given time in minutes. After the time is up, it'll be disabled again
    • /maintenance timer abort cancels a running start-/endtimer
    • /maintenance setmotd <index> <1/2> <message> sets a motd for maintenance mode
    • /maintenance motd lists the currently set maintenance motds
    • /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.command - use the "/maintenance" command (also required to use the subcommands)
    • maintenance.toggle - use the "/maintenance <on/off>" commands
    • maintenance.reload - use the "/maintenance reload" command
    • maintenance.update - use the "/maintenance <update/forceupdate>" commands
    • maintenance.timer - use the "/maintenance <starttimer/endtimer> <minutes>" and "/maintenance timer abort" commands
    • maintenance.whitelist.add - use the "/maintenance add <player>" command
    • maintenance.whitelist.remove - use the "/maintenance remove <player>" command
    • maintenance.whitelist.list - use the "/maintenance whitelist" command
    • maintenance.setmotd - use the "/maintenance setmotd <index> <1/2> <message>" command
    • maintenance.motd - use the "/maintenance motd" command
    • maintenance.bypass - join the server during maintenance
    • 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:
    ciwvo.png
    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.3

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

    # The message shown in the multiplayer server list motd.
    # If you put in multiple entries, one of them will be chosen randomly on every ping.
    pingmessages:
      - "&cMaintenance mode!%NEWLINE%&6We will be back soon!"
    #- "Another entry"

    # 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.
    # Only available in the Bungee version of the plugin.
    mysql:
      use-mysql: false
      host: host
      port: 3306
      database: database
      table: tablename
      username: username
      password: password
     


    generatedtext.png
    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.


    generatedtext.png
    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.3 Changelog
  2. Version 2.2.2 Changelog
  3. Version 2.2.1 Changelog

Recent Reviews

  1. Auntex
    Auntex
    5/5,
    Version: 2.3
    Excellent plugin! I'm using this plugin over a year without bugs =).
    ======================================================
    1. KennyTV
      Author's Response
      Thanks <3
  2. victoret7
    victoret7
    5/5,
    Version: 2.3
    Over a year from my last review and a lot of updates i'm still using this plugin that works like a charm and only improves with a lot of updates. Developer could actually make this resource premium because of the support that gives to the plugin. I would consider donating again :)
    1. KennyTV
      Author's Response
      Thank you! Means a lot :D
  3. FlenscrafterHD
    FlenscrafterHD
    5/5,
    Version: 2.3
    Mega geiles Plugin! Der Versioncheck (/maintenance update)gefällt mir sehr gut!
    Ich würde sowas auch gerne in meine Plugins einbauen... Kannst du mit erklären wie?
    Ansonsten mach weiter so!
    1. KennyTV
  4. Commanderblue1
    Commanderblue1
    5/5,
    Version: 2.3
    Gutes Plugin, aber ich muss was ScienceCode geschrieben hat auch noch etwas gestehen. Ich weiss das dieses Thema hier nichts zu verloren hat aber bitte lies es trotzdem.
    Immer wenn ich auf dem Netzwerk Hackern reporte die ZB. Flyhack verwenden werden diese immer abgelehnt, von dieser Zeit wusste ich nicht wie dumm man sein muss, um einen Flyhack zu entdecken. Ein Report wurde von mir angenommen und ein bestimmter Supporter nahm natürlich den Report an. Ab dieser sah ich wie der Hacker einfach zu meinem Bett flog und der Supporter reagierte nicht und lehnte den Support ab!!! Ab diesem Zeitpunkt gab ich auf und schwörte nun niemals auf diesem Netzwerk zu spielen. Nun nur als Info, ob du es gelesen hast oder nicht juckt mich nicht, den ich will nur das ihr euren Support verbessert und das in einer geweissene Zeit.

    Ansonsten mit Grüssen.
    Commanderblue1
    1. KennyTV
      Author's Response
      Danke für die Review. ^^
      Ich werd mal gucken was ich machen kann
  5. Minestick
    Minestick
    5/5,
    Version: 2.2.2
    Very nice maintenance plugin!
    May we customize the server icon shown during maintenance?
  6. DarkKingMW
    DarkKingMW
    5/5,
    Version: 2.2.2
    1. KennyTV
      Author's Response
      So ein Plugin habe ich tatsächlich mal angefangen, ich denke mal morgen Abend könnte ich es schon hier auf Spigot veröffentlichen ^^
  7. Elguerrero
    Elguerrero
    5/5,
    Version: 2.2.1
    _______________________________________________________
    In english: Thanks by the updates and by do this amazing plugin,and free!:D
    ---------------------------------------------------------------------------------------------------------------
    En español: Gracias por las actualizaciones y por hacer este impresionante plugin,y gratis!:D
    _______________________________________________________
    1. KennyTV
      Author's Response
      No problem ;)
  8. jonnycp9
    jonnycp9
    5/5,
    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 aroundcraft.com (SP 1.8/1.12.2
  9. MatthewD
    MatthewD
    5/5,
    Version: 2.2
    I absolutely love this plugin. It makes update/maintenance so much easier. Thank you!
  10. Emilien52
    Emilien52
    5/5,
    Version: 2.2
    nice plugin !
    Super plugin !

    Je le conseil totalement modifiable et super complet !
    1. KennyTV
      Author's Response
      Merci beaucoup! :D