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

plugin restart

Discussion in 'Plugin Help' started by AffanStarPure, Apr 2, 2017.

  1. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    Hello I need plugin for restart server only
     
  2. Primus

    Primus Zombie Pigman

    Messages:
    749
    On linux
    Code:
    ./start.sh -l
    
    windows
    Code:
    start.cmd -l
    
    PHP:
    Server::getInstance()->shutdown();
     
    XdmingXD likes this.
  3. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    Shutdown only?Will it restart?
     
  4. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    Yes not shutdown like stop i want restart only
     
  5. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    To restart something is to shut it down and then turn it back on. You can't restart the server without the part where you turn it off.
     
  6. XdmingXD

    XdmingXD Baby Zombie

    Messages:
    158
    GitHub:
    xdmingxd
    Actually there is an inactive plugin called
    "Restart Me" in another Forum
    But you need to do a lot of settings
    You can go sreach it or pm me if you want the website
     
  7. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    Give me website and how to settings plugin restart?
     
  8. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Actually, all that plugin does is turn off the server, and then the modified start file you have to change to use it just turns the server back on automatically.
    It's outdated, I'm not sure if it will work.
     
  9. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    But how other server have plugin restart when outdated version?
     
  10. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    There may be an updated version of the plugin, but if there is, I have not heard of it. They may also have their own custom plugin.
     
  11. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    Custom own Plugin is secret Alot that people custom Enchanted and other things right that don't share it..
     
  12. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Because they worked hard on it themselves, and don't want someone else to use it. It's most common with unique servers though. They're not just going to give someone else the plugins. Not everything is public.
     
  13. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    OK thank you i have question too what program edit plugin? And what kind I should use it?
     
  14. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    Well, that's kind of off-topic, but I typically use NetBeans for developing/editing my plugins. It works really well, and I really like it.
     
  15. AffanStarPure

    AffanStarPure Baby Zombie

    Messages:
    106
    GitHub:
    AffanStarPure
    Could you send me link or something i really want do something old plugin to edit
     
  16. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    https://netbeans.org/
     
  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.