AutoRestart 3.3.3

The best AutoRestart plugin in the market!

  1. ServersMC
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://gitlab.com/dennislysenko/AutoRestart-v3
    Contributors:
    ServersMC, DennisLysenko
    [​IMG]
    Restart your server automatically today, and clear some of your RAM for a faster, smoother Minecraft experience. For this to be accomplished you need to start your server using the AutoRestart-BootLoader.jar. This will wrap the server into a bootloader and restart or stop the server as needed. Using this bootloader will have the AutoRestart plugin working as it should.
    [​IMG]
    I would like to thank Numero Uno, for doing this showroom for me. I went on YouTube, and was curious did anyone make a video for this plugin, since my old was private and I found this video! Please subscribe to Numero Uno, I appreciate what he did. Like the video, watch it, and everything. Thank you to all.[​IMG]
    First, place AutoRestart into your plugins folder, and load the server. Once the server says "Done!," then close the server. Move the start file from the AutoRestart folder into the same folder as your spigot jar file, and edit the file to match your jar file and java parameters.

    NOTE:
    If you are running a MultiCraft server, your server provider should already have the restart command setup.
    Next, go into your spigot.yml file and change the restart-script node to
    Code (Text):
    ## WINDOWS
    restart-script: start.bat

    ## LINUX / BASH
    restart-script: ./start.sh
    Start the server and test if the restart script works by typing "/restart," if this previously already works then no need to touch this.

    Once complete, that's pretty much it! Enjoy.
    [​IMG]
    Code (Text):
    * Restarts on hour interval, able to use decimals on config!
    * Restarts at a specific timestamp!
    * Broadcasts reminders, customizable in minutes on config!
    * Broadcasts final reminders on last 5 seconds!
    * Editable reminder messages!
    * Editable shut down messages!
    * Editable seconds messages!
    * Option to enable/disable on screen pop ups, on different events!
    * Change restart time in-game.
    * Integrated update check.
    * MultiCraft support!
    * Force saves world when restarts!
    * Able to Start, or Pause the server timer in-game!
    * Reminds you every ten minute that timer is paused! (Customizable)
    * Automatically updates your old configuration file!
    * Customizable popup messages!
    * Customizable popup timings!
    * Add color codes to shutdown messages!
    * Execute commands before the server restarts on an X amount of seconds.
    * Configurable to enable, and disable commands on last seconds, and
      change the amount of seconds before done so.

    -- vvv THIS HAS BEEN DISABLED vvv --
    * Added Max Players Exception.
    EXAMPLE:
      If the server restarts and you have 10 players online
      and you set the max players to 10
      your server wont restart until someone leaves
      and the player amount is less than 10.
    * Configurable Max Players Exception!
    CONFIGURATIONS:
      * Change restart delay.
      * Change amount of max players.
      * Enable/Disable feature.
      * Set exception message when too many players online.
      * Set message before delayed restart when the amount of players have been met.
      * Shutdown message for Max Players Exception!
    -- ^^^ THIS HAS BEEN DISABLED ^^^ --
     
    Photos of version 2.8.1!
    [​IMG] [​IMG]
    [​IMG]
    Code (Text):
    /autore help    Shows help screen
    /autore time    Shows exactly when is the next server restart
    /autore now     Restarts the server now!
    /autore reload  Reloads the config file (This will reset the timer!)
    /autore in      Sets the time the server will restart in.
    /autore pause   Pauses the server AutoRestart timer.
    /autore start   Starts the server AutoRestart timer.
    [​IMG]
    Code (Text):
    /autore now     autorestart.now
    /autore reload  autorestart.reload
    /autore in      autorestart.in
    /autore pause   autorestart.pause
    /autore start   autorestart.start
    [​IMG]
    Code (Text):
    ## This section will allow you to execute commands before the server restarts
    commands:
        ## Enable or disable this feature
        enabled: false
        ## The seconds before restart to execute list
        seconds: 5
        ## the amount of seconds before restart to execute commands
        list:
            - 'say This is a test command'
            - 'say I think it works?'
    ## DO NOT TOUCH!!
    version: 1
    Code (Text):
    ## Global Broadcast and Private Messages adds flexibility on what you want your players to see!
    ## You have the option of having the player who executed the event to see a message while other dont, or
    ## have the player who executed the event see a global message but not a private message, or both!
    ## you can have the server see a global message while the player who executed the command will see
    ## his own message.

    ## The reason why you can enable or disable broadcasts and popups, is to give you the flexibility to
    ## choose whether you want your players to see a broadcast or a popup of the event. Or both! If you have
    ## both popups and broadcasts disabled, broadcasts are automaticlly enabled. If broadcasts, private messages,
    ## and popups are all disabled, then it will aswell be automaticlly enabled in broadcasts. If broadcasts and
    ## private messages are disabled, but popups are enabled, console will get a private message for logs. Since
    ## command line cant recieve popups.
     
    ## These are global broadcasts the everyone sees. If the same task is enabled in "private_message"
    ##  the player who initiated the event will not see the broadcast, but will see his own broadcast.
    ##  Global broadcasts include the prefix in "main.prefix" config.
    global_broadcast:
        ## Enable or Disable the broadcast
        enabled:
            ## Show the broadcast on the minute reminders!
            minutes: true
            ## Show the broadcast on the last seconds of a server restart!
            seconds: true
            ## Show the broadcast when typed /autore start or /autore pause
            ## [Duplicated in Private_Messages]
            status:
                start: true
                pause: true
            ## Show the broadcast when the server time has been changed!
            ## [Duplicated in Private_Messages]
            change: true
            ## Show the Maxplayers broadcast
            max_players:
                ## The message broadcasted when too many players are online on restart!
                alert: true
                ## This message appears when the amount of players requirement is met!
                pre_shutdown: true
            ## Global shutdown message
            shutdown: true
        ## The configuration for broadcast messages
        ## Messages have multi line support!
        messages:
            ## %m - minutes
            minutes:
                - 'Server Will Restart In %m Minutes!'
            ## %s - seconds
            seconds:
                - 'Server is restarting in %s Seconds!'
            ## There are no tags for this section.
            ## [Duplicated in Private_Messages]
            status:
                start:
                    - '&cAutoRestart timer has started!'
                pause:
                    - '&cAutoRestart timer has been paused'
            ## %h - hours, %m - minutes, %s - seconds.
            ## [Duplicated in Private_Messages]
            change:
                - '&cServer now is restarting in &f%h&cH &f%m&cM &f%s&cS!'
            ## Maxplayers broadcast settings
            max_players:
                ## The message broadcasted when too many players are online on restart!
                ## %a - amount
                alert:
                    - '&bToo many players online for restart. Max &f%a&b amount of players allowed for a restart. Waiting for people to leave!'
                ## This message appears when the amount of players requirement is met!
                ## %d - delay
                pre_shutdown:
                    - '&aServer now restarting in &f%d&a seconds!'
            ## Client restart message in game chat
            shutdown:
                - '&cServer Restarting!'
    ## DO NOT TOUCH!!
    version: 1
    Code (Text):
    ## To understand ticks. 1 second is relevent to 20 ticks! So a second and a half (1.5s) is 30 ticks!
    ## Fadein, stay, fadeout are the 3 arguments. You can edit how long it takes to fadein, fadeout etc.
    ## You can also put the fade numbers to 0, and then the popup's will be instant!
    ## Get creative!
    ## Global Popups duplicate rules are applied just like global Messages, same situation with private popups
    ## and private messages.
    global_popups:
        ## Enable or Disable the Popups!
        enabled:
            ## Show the pop ups on the minute reminders!
            minutes: true
            ## Show the pop ups on the last seconds of a server restart!
            seconds: true
            ## Show the pop ups when type /autore time
            ## [Duplicated in Global_Messages]
            status:
                start: true
                pause: true
            ## Show the pop ups when the server time has been changed!
            ## [Duplicated in Global_Messages]
            change: true
            ## Show the Maxplayers pop ups
            max_players:
                ## The pop up broadcasts when too many players are online on restart!
                alert: true
                ## This pop up appears when the amount of players requirement is met!
                pre_shutdown: true
            ## Shows the popup before restart
            shutdown: true
        ## This section is for the customization of the popup messages!
        messages:
            minutes: ## %m - minutes
                title:
                    text: '&cServer Restarting In'
                    fadein: 20
                    stay: 40
                    fadeout: 20
                subtitle:
                    text: '&f%m &cMinutes!'
                    fadein: 20
                    stay: 40
                    fadeout: 20
            seconds: ## %s - seconds
                title:
                    text: '&cServer Restarting In'
                    fadein: 5
                    stay: 20
                    fadeout: 5
                subtitle:
                    text: '&f%s &cSeconds!'
                    fadein: 5
                    stay: 10
                    fadeout: 5
            status: ## There are no tags for this section
                start:
                    title:
                        text: '&cAutoRestart has started!'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: ''
                        fadein: 20
                        stay: 40
                        fadeout: 20
                pause:
                    title:
                        text: '&cAutoRestart has been paused!'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: ''
                        fadein: 20
                        stay: 40
                        fadeout: 20
            change: ## %h - hours, %m - minutes, %s - seconds
                title:
                    text: '&cServer Restarting In'
                    fadein: 20
                    stay: 40
                    fadeout: 20
                subtitle:
                    text: '&f%h&cH &f%m&cM &f%s&cS!'
                    fadein: 20
                    stay: 40
                    fadeout: 20
            max_players:
                alert: ## %a - amount
                    title:
                        text: '&bToo many players online for restart.'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: 'Max &f%a&b amount of players allowed for a restart.'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                pre_shutdown: ## %d - delay
                    title:
                        text: '&aServer now restarting in &f%d&a seconds!'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: ''
                        fadein: 20
                        stay: 40
                        fadeout: 20
            shutdown:
                title:
                    text: '&cServer is now'
                    fadein: 20
                    stay: 80
                    fadeout: 20
                subtitle:
                    text: '&cRestarting!'
                    fadein: 20
                    stay: 80
                    fadeout: 20
    ## DO NOT TOUCH!!
    version: 1
    Code (Text):
    ## Main configuration values
    main:
        ## restart modes availiable 'interval', and 'timestamp'
        restart_mode: 'interval'
        ## restart mode specific settings
        modes:
            ## Interval in Hours (DECIMALS ALLOWED)
            interval: 3.0
            ## Set the timestamp in 24 hour time format HH:MM
            ## Multiple timestamps allowed
            timestamp:
                - '0:00'
                - '6:00'
                - '12:00'
                - '18:00'
        ## Server wide prefix for all chat broadcasts
        prefix: '&f[&7AutoRestart&f] &e'
        ## Client restart message in game chat
        kick_message: '&cServer Restarting! We will be back up any minute!'
    ## DO NOT TOUCH!!
    version: 3
    Code (Text):
    ## THIS FILE IS DIABLED TILL FURTHER NOTICE

    ## This will stop your server from shutting down if you have more than X amount of players configured in "amount".
    max_players:
        ## Enable or Disable this feature
        enabled: false
        ## The max amount of players allow for a restart. If you set this to 10, and your server has 11 people online
        ## your server will not shutdown until there is LESS THAN 10 players.
        amount: 10
        ## The delay for the server to restart once player count as been met. In seconds!
        delay: 10
    ## DO NOT TOUCH!!
    version: 2
    Code (Text):
    ## These are private messages sent to the player when the event is triggered. If the same task is enabled in
    ##  "global_broadcast", this player will not see the global message, but his own.
    ##  Private messages do not include the prefix in "main.prefix" config.
    private_messages:
        ## Enable or Disable the chat message
        enabled:
            ## Show the message when type /autore time
            time: true
            ## Show the message when typed /autore start or /autore pause
            ## [Duplicated in Global_Messages]
            status:
                start: true
                pause: true
            ## Show the broadcast when the server time has been changed!
            ## [Duplicated in Global_Messages]
            change: true
            ## "/autore pause" reminder
            pause_reminder: true
        ## Messages have multi line support!
        messages:
            ## %h - hours, %m - minutes, %s - seconds
            time:
                - '&cServer restarting in &f%h&cH &f%m&cM &f%s&cS!'
            ## There are no tags for this section. [Duplicated in Global_Messages]
            status:
                start:
                    - '&cYou have started AutoRestart timer!'
                pause:
                    - '&cYou have paused AutoRestart timer'
            ## %h - hours, %m - minutes, %s - seconds [Duplicated in Global_Messages]
            change:
                - '&cServer now is restarting in &f%h&cH &f%m&cM &f%s&cS!'
            ## "/autore pause" reminder
            pause_reminder:
                - '&cDont forget that the server countdown is still paused!'
    ## DO NOT TOUCH!!
    version: 1
    Code (Text):
    ## Private popups
    private_popups:
        ## Enable or Disable the Popups!
        enabled:
            ## Show the pop ups when type /autore time
            time: true
            ## Show the pop ups when typed /autore start or /autore pause
            ## [Duplicated in Global_Messages]
            status:
                start: true
                pause: true
            ## Show the pop ups when the server time has been changed!
            ## [Duplicated in Global_Messages]
            change: true
            ## "/autore pause" reminder
            pause_reminder: true
        ## This section is for the customization of the popup messages!
        messages:
            time: ## %h - hours, %m - minutes, %s - seconds
                title:
                    text: '&cServer Restarting In'
                    fadein: 20
                    stay: 40
                    fadeout: 20
                subtitle:
                    text: '&f%h&cH &f%m&cM &f%s&cS!'
                    fadein: 20
                    stay: 40
                    fadeout: 20
            status: ## There are no tags for this section
                start:
                    title:
                        text: '&cYou started AutoRestart back up!'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: ''
                        fadein: 20
                        stay: 40
                        fadeout: 20
                pause:
                    title:
                        text: '&cYou have paused AutoRestart!'
                        fadein: 20
                        stay: 40
                        fadeout: 20
                    subtitle:
                        text: ''
                        fadein: 20
                        stay: 40
                        fadeout: 20
            change: ## %h - hours, %m - minutes, %s - seconds
                title:
                    text: '&cYou Changed Restart Time to'
                    fadein: 20
                    stay: 40
                    fadeout: 20
                subtitle:
                    text: '&f%h&cH &f%m&cM &f%s&cS!'
                    fadein: 20
                    stay: 40
                    fadeout: 20
            pause_reminder: ## There are no tags for this section
                title:
                    text: '&cDont forget that'
                    fadein: 20
                    stay: 40
                    fadeout: 20
                subtitle:
                    text: '&cAutoRestart timer is still paused!'
                    fadein: 20
                    stay: 40
                    fadeout: 20
    ## DO NOT TOUCH!!
    version: 1
    Code (Text):
    ## Reminders will popup in the specified times to let players know when is the next restart
    reminder:
        ## Enables or Disables restart reminder
        enabled:
            minutes: true
            seconds: true
        ## minutes before restart
        minutes:
            - 15
            - 10
            - 5
            - 1
        ## AutoRestart will countdown the seconds to restart starting at the entered value
        seconds: 5
        ## This will remind you that the server timer is paused! This message will be sent to
        ## people with autorestart.start permission!
        ## This is set in minutes!
        pause_reminder: 10
    ## DO NOT TOUCH!!
    version: 1
    [​IMG]
    Code (Text):
    * Add more features (Need more reviews for ideas!)
    * Make it where the server restarts on crash!
    * Play a sound when an alert pops up.
    * Add BungeeCord support
    [​IMG]
    Waiting on bStats
    IsHarilloX, DerLev, AccioAce and 23 others like this.

Recent Updates

  1. Updated to SpigotAPI 1.13.2
  2. Finally...
  3. Added MultiCraft Support (Real Update)

Recent Reviews

  1. elysia
    elysia
    5/5,
    Version: 3.3.3
    Works great, heavily improved the professionalism and appearance of my restarts. My only suggestion would be an option for a boss bar, they're less intrusive and could work nicely with a timer.

    Also, just wondering if there's support for multiline messsages?

    Instead of: [autorestart] server restarting in 5 minutes

    I'd like
    ---------
    server restarting in 5 minutes
    ---------

    it's more obvious n such and matches the rest of my formatting
    1. ServersMC
      Author's Response
      Multi line is supported I believe I setup the config to be a list of strings. Also I was planning to add a bossbar
  2. Zendrique
    Zendrique
    5/5,
    Version: 3.3.3
    good plugins !
    it would be possible to choose the restart command that will be executed by the plugins
    1. ServersMC
      Author's Response
      What do you mean choose the restart command? PM me please.
  3. Vixo_Ulises
    Vixo_Ulises
    4/5,
    Version: 3.3.2
    I like the add-on, it's just that I need more suggestions, so I propose to put the permission node *
    1. ServersMC
      Author's Response
      What are you having trouble with permissions?
  4. cyberryan
    cyberryan
    4/5,
    Version: 3.3.2
    I like the plugin, it is just that the actual restart function of the server does not work. I am using Multicraft, and I do not see an option to change it to Multicraft. Help please?
    1. ServersMC
      Author's Response
      PM me so I can help.
  5. Zendrique
    Zendrique
    4/5,
    Version: 3.3.2
    the plugins works very well and has a lot of features

    good plugins could you add an option to personalize the order of restart ?
    1. ServersMC
      Author's Response
      Personalize the order of what?
  6. comhrai
    comhrai
    5/5,
    Version: 3.3.2
    Works perfectly,
    haven't had any issues with this recently very easy to customise and it automatically brings your server back up it's fantastic I definitely recommend using this plugin.
    1. ServersMC
      Author's Response
      Thank you for the review!
  7. DrgonRose
    DrgonRose
    5/5,
    Version: 3.3.2
    Hey, thanks for this plugin. :)
    But i have a little problem, to remove the plugin from my server. The .jar file disappeared. How I remove the plugin?
    1. ServersMC
      Author's Response
      By simply stopping the server with /stop, and then remove the auto-restart.jar file from plugins
  8. Chaaiyong
    Chaaiyong
    5/5,
    Version: 3.3.2
    Where can I close the update notification?
    Where can I close the update notification?
    1. ServersMC
      Author's Response
      Thanks for the review. And there isnt a way to close it. But if it's such a pain. Open up the jar file like a zip file and edit plugin.yml file inside the zip. Change the version number to the same as the latest version.
  9. ultrapunisher97
    ultrapunisher97
    5/5,
    Version: 3.3.2
    Great plugin does exactly what I need it to! I just wish that when a player types /autore time it didn't force them to see the version. This isn't editable and it's annoying. But 5 stars because it isn't a deal breaker.
    1. ServersMC
      Author's Response
      Thank you for the love. Yeah, it's a little bit of an advertisement.
  10. HugoMan
    HugoMan
    5/5,
    Version: 3.3.2
    Muy buen plugin para reiniciar el server lo recomiendo me funciona la ultima version en mi server 1.12.2 esta genial. sigue actualizandolo
    1. ServersMC
      Author's Response
      ¬°Gracias!