Bungee - Spigot BungeeRestart 2020-08-25

Restart bungee at specific time

  1. PieHater25 submitted a new resource:

    BungeeRestart - Restart bungee at specific time

    Read more about this resource...
     
  2. Hi,can you add every friday restart?
     
  3. I will try to add it in my free time.
     
  4. Ok,thank you.
     
  5. Your request feature is completed.
     
  6. Thank you very much.
    I test it.
     
  7. Hi ,i test it.
    I set
    time-to-restart:
    - 'THURSDAY-17:25'

    the bc restart on 17:25:17 not 17:25:00

    Then i start the bc has some errors:

    17:27:14 [警告] Exception encountered when loading plugin: BungeeRestart
    java.util.NoSuchElementException
    at java.util.ArrayList$Itr.next(Unknown Source)
    at java.util.Collections.min(Unknown Source)
    at com.thanh.bungeerestart.Main.loadTime(Main.java:76)
    at com.thanh.bungeerestart.Main.onEnable(Main.java:28)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java
    :250)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:285)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:62)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)


    If the set restart time is not up, the restart time will be prompted when starting. If the set restart time is out of date, you should be prompted to restart at this time next week when starting.
     
    #7 blank826, Sep 24, 2020
    Last edited: Sep 24, 2020
  8. Sorry, my bad. I misunderstand your request. I will do it on another day. :giggle:.

    For now, I will revert back to the older version.