1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

AutoRestart

Discussion in 'Plugin Help' started by Gilsheys, May 7, 2020.

  1. Gilsheys

    Gilsheys Spider Jockey

    Messages:
    37
    GitHub:
    gilsheys
    hello guys!! uhm is there a working updated auto restart/auto reboot plugin? seen some servers that has that plugin so if u know uhm please kindly paste the link and let me know ty!!
     
  2. driver1848

    driver1848 Spider Jockey

    Messages:
    35
    GitHub:
    driver1848
    There is no plugin for it, because when the server stops, the plugins are going to be unloaded... But I’m not sure, if u have the start.ps1 file u can stop the server with /stop and the server is going to restart, if u not press ctrl+c in console.
     
  3. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    When you start your server with start.sh (or ps1 or bat) and append the -l parameter, the server will restart automatically when stopped. You can then just use a plugin like TimeCommand and add the stop command.
    On Linux it is technically possible to restart the server using a plugin, but it's kinda hacky.
     
  4. Gilsheys

    Gilsheys Spider Jockey

    Messages:
    37
    GitHub:
    gilsheys
    how will i setup the command on the timecommand? what do i need to do?
     
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
  6. Gilsheys

    Gilsheys Spider Jockey

    Messages:
    37
    GitHub:
    gilsheys
  7. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Put in the command "stop" and start your server using start.sh -l
     
    GamakCZ likes this.
  8. Gilsheys

    Gilsheys Spider Jockey

    Messages:
    37
    GitHub:
    gilsheys
    w
    where to find start.sh? i have a paid hosting server from a company so??
     
  9. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    oh, in that case, what happens when you run the command /stop ingame? Does the server stay off or does it start again?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.