Maintenance Mode BETA v2.2

Manage your server like never before.

  1. Compilable
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    Contributors:
    DO NOT POST BUGS IN THE REVIEWS SECTION
    #SpreadLoveForGavin

    Follow me on SpigotMC by clicking
    [HERE]
    it would be nice if you followed me since i'm working day and night to maintain this project and keeping it free.
    DISCORD SERVER LIVE:
    (or use invite code: WDHMD2v)
    game.png

    [​IMG]

    Welcome to Maintenance Mode 2!

    [​IMG]

    What is MaintenanceMode?
    Our aim is to allow server owners to set dates and times for Maintenances whenever they like, with the most up-to-date and extensible features you can get.

    Why choose MaintenanceMode?
    There are numerous Maintenance plugins here at SpigotMC, such as Erouax's MaintenanceMode, NojoLP's Maintenance bukkit-bungee version, and much more..
    So, you might be wondering, why us? As we are the first MaintenanceMode plugin here on SpigotMC (dating back from 2014, and being the 2548 resource here), we have an extensive knowledge in server maintenance. We know what the Owners want and need, and has numerous features that outstands other plugins, which are discussed below.

    [​IMG]
    • An easy to use GUI interface which allows you to enable, disable, cancel MaintenanceMode.
    • An automatic debug token found below.
    • An easy-to-use ingame configuration manager using GUI and Chat based functions.
    • Customizable kick, motd and broadcast messages configurable in-game or in the config.yml.
    • Customizable countdown integer and per-second announced countdown.
    • Customizable sounds on broadcast messages, and a special sound when MaintenanceMode gets finally enabled.
    • Protocol Support for custom-version MaintenanceMode. ProtocolLib must be installed for this feature to work.
    • Server icons when MaintenanceMode is enabled!
    • Permissions and custom permissions messages configurable in the config.yml
    • Override options for ServerListPlus.
    • Much, much more..
    [​IMG]
    Bukkit Version
    Once MaintenanceMode is added to your plugins folder, just go ahead and reload the server. After the reload, go ahead and run /mm, it needs the maintenancemode.use permission to work. Afterwards you should be presented with a tutorial on how to work with MaintenanceMode. A GUI will open and you can pre-configure the plugin before using it. If you want the Protocol Support to work, per the GUI, you need ProtocolLib to be installed.

    Bungee Version
    ~ Coming Soon ~

    [​IMG]
    All commands have one single permission:
    maintenancemode.use

    The available commands are the following, with description.
    • /mm - Main command for MaintenanceMode, introduces and tells you to do /mm help.
    • /mm help - List of available commands to use.
    • /mm enable - Enables maintenance mode if not enabled.
    • /mm disable - Disables maintenance mode if not disabled.
    • /mm cancel - Cancels maintenance mode if enabling.
    • /mm gui - Opens the GUI interface for better user interface help.
    • /mm reload - Reloads the config.yml
    • /mm list - List of people whitelisted.
    • /mm add - Adds people to whitelist (then re-opens config gui for reload).
    • /mm remove - Removes people from whitelist (then re-opens config gui for reload).
    • /mm debug - Debugs maintenancemode.
    • /mm merge - Merges the old whitelist file (spigot's whitelist.json) and adds all players to the whitelist of MaintenanceMode.
    [​IMG]
    Code (Text):
    MaintenanceMode:
      options:
        enabled: false
        countdown: 20
        announce:
        - '19'
        - '10'
        - '5'
        - '4'
        - '3'
        - '2'
        - '1'
        whitelist:
        - 'ElieTGM'
        - 'JosephGP'
        broadcastMessage: '&cServer is entering MaintenanceMode in &a%seconds%&c seconds!'
        maintenancekickmessage: '&cThe server is currently in maintenancemode!%newline%&cCheck back soon!'
        motd: '&aWelcome to my ElieLandia!%newline%&cWe are currently in MaintenanceMode!'
        protocolMessage: 'ElieMaintenance'
      misc:
        protocolEnabled: true
        soundenabled: true
        sound: 'ORB_PICKUP'
        finalsoundenabled: true
        finalsound: 'AMBIENCE_THUNDER'
        nopermmessage: '&cYou do not have the sufficient permissions to execute this command!'
        server-icon: true
        overrideslp: true
      messages:
        prefix: '&6&lMaintenanceMode &e|'
     


    firststartup - do not touch this field.
    enabled - do not touch this field
    countdown - set the countdown for MaintenanceMode
    announce - a list with integers, it'll announce a broadcast and a sound when the integer hits the list.
    whitelist - a list with the whitelisted players.
    broadcastMessage - the message to be broadcasted, color codes and
    %seconds% are supported.
    maintenancekickmessage - If a un-whitelisted player tries to join the server while MaintenanceMode is enabled, it'll send this message. Color codes and
    %newline% to add color codes and new lines.
    motd - MOTD of the server when it's enabled.
    %newline% and color codes are enabled here.
    protocolMessage - Only use when ProtocolLib is installed on the server.
    protocolEnabled - a field to enable protocol, use true or false.
    soundenabled - enable sound on broadcast message.
    sound - Sound to be played on broadcast message. If you are running the 1.8 version of spigot, use THIS sound enum. If running 1.9 or higher, use THIS sound enum (it's case-sensitive).
    finalsoundenabled - enable sound on final broadcast message.
    finalsound - Sound to be played on final broadcast message. If you are running the 1.8 version of spigot, use THIS sound enum. If running 1.9 or higher, use THIS sound enum (it's case-sensitive).

    nopermmessage - Message to be displayed when a player does /mm yet doesn't have the permissions. Color codes are supported.
    server-icon - If you'd want another custom server-icon.png for your server when Maintenance gets enabled, go ahead and set that to true and replace the server-icon.png with an appropriate one. (64x64 with .png extension).
    overrideslp - If you've got ServerListPlus enabled, set this to true to use MaintenanceMode's motd when Maintenance is enabled.
    prefix - This will set a global prefix for maintenancemode.

    It is recommended to use YAMLLINT to parse your config.yml once changed to make sure it's valid!

    [​IMG]
    If you are experiencing problems with MaintenanceMode, don't report them in the reviews section. Ask for help on the MaintenanceMode page or send me a PM containing an attached picture of a debug taken using the MaintenanceMode GUI (/mm gui -> Help/Debug) or by using the /mm debug command if the GUI isn't functional.

    The debug usually looks like this:
    [​IMG]

    In-Game
    or
    [​IMG]

    In Console


    [​IMG]

    Please leave a 5 star review if this plugin has helped you!
    Don't forget to like down below!

Recent Reviews

  1. lasen94
    lasen94
    1/5,
    Version: BETA v2.2
    can't Verify Name ... why
  2. Dracke39
    Dracke39
    1/5,
    Version: BETA v2.2
    The config is not saved and there are other very annoying bugs. .
  3. MuvooX
    MuvooX
    1/5,
    Version: BETA v2.2
    [21:31:02 INFO]: MuvooX issued server command: /mm enable
    [21:31:02 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mm' in plugin MaintenanceMode v2.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[minecraft_server.jar:?]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:181) ~[minecraft_server.jar:?]
    at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:766) ~[minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1037) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:874) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:799) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:312) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:645) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:550) [minecraft_server.jar:?]
    at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [minecraft_server.jar:?]
    Caused by: java.lang.NoClassDefFoundError: com/comphenix/protocol/events/PacketListener
    at me.elietgm.mm.bukkit.maintenancemode.MaintenanceCommand.onCommand(MaintenanceCommand.java:102) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[minecraft_server.jar:?]
    ... 13 more
    Caused by: java.lang.ClassNotFoundException: com.comphenix.protocol.events.PacketListener
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_181]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[minecraft_server.jar:?]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[minecraft_server.jar:?]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_181]
    at me.elietgm.mm.bukkit.maintenancemode.MaintenanceCommand.onCommand(MaintenanceCommand.java:102) ~[?:?]
    at org.bukkit.command.PluginCommand.execute
    (PluginCommand.java:44) ~[minecraft_server.jar:?]
    ... 13 more


    As I saw a lot of people are getting errors. Developer is not replying to 1 star review's, only to 4+ ones.
  4. PlatinumMC
    PlatinumMC
    1/5,
    Version: BETA v2.2
    Didn't work at all, tried modifying and checking every problem. Maybe next time.
  5. RainOfPain125
    RainOfPain125
    1/5,
    Version: BETA v2.2
    No place to report bugs

    [19:53:47 INFO]: [MaintenanceMode] Enabling MaintenanceMode v2.2
    [19:53:47 WARN]: java.io.IOException: Server returned HTTP response code: 403 for URL: http://octopusmc.net/mm/server-icon.png
    [19:53:47 WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    [19:53:47 WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    [19:53:47 WARN]: at java.net.URL.openStream(Unknown Source)
    [19:53:47 WARN]: at me.elietgm.mm.bukkit.utils.DownloaderUtils.downloadServerIcon(DownloaderUtils.java:33)
    [19:53:47 WARN]: at me.elietgm.mm.bukkit.BukkitPlugin.onEnable(BukkitPlugin.java:85)
    [19:53:47 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [19:53:47 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316)
    [19:53:47 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [19:53:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:387)
    [19:53:47 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:336)
    [19:53:47 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442)
    [19:53:47 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403)
    [19:53:47 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341)
    [19:53:47 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:292)
    [19:53:47 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616)
    [19:53:47 WARN]: at java.lang.Thread.run(Unknown Source)
  6. Julienoj23
    Julienoj23
    1/5,
    Version: BETA v2.2
    Bad it crashed all of my multiply player and now I cant even connect to any server pls help
  7. osh_king25
    osh_king25
    4/5,
    Version: BETA v2.2
    Can you make it so it restarts not reloads! This would be a very good feature as some plugins do not support /reload!
  8. ChiMuelo4K
    ChiMuelo4K
    5/5,
    Version: BETA v.2.2
    OMG the best pl for maintenance mode! pls work in the Bungee version u have mi support <3
  9. Luligabi
    Luligabi
    4/5,
    Version: BETA v.2.2
    Very good plugin! A feature suggestion is making possible to edit the player online/player limit counter to whatever you want,like ┬┤Maintence┬┤.Would be a good feature (If alrwady exists tell and im going to give stars :))
  10. Coolkc456
    Coolkc456
    4/5,
    Version: BETA v.2.2
    This plugin is basically a fancy whitelist and it works but I personally needed a maintenance plugin that prevented users from logging in while the server was restarting because it slows start up time and the maintenance resets when the server restarts allowing players to try logging in again while the server is booting.