Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

A interesting idea

Comments in 'Plugin Development' started by thrasher4219, Dec 30, 2014.

  1. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    I think this would fall in general discussion. If not I'm sorry. But who thinks that it would be a good idea to create a plugin that would totally restart the server. I think that this could solve a lot of problems because it releases ram and it has always helped my server when I completely restarted it. Maybe you could create a time that it restarts. I'm pretty sure there is not a plugin like this out because I have looked. I would like to hear other people's ideas on this discussion. I would evan be willing to help if someone would want to create such a plugin, however I would have to learn how.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    There is an auto server restarter plugin, but it just stops the server. You have to modify the start command file to restart.
    EvolSoft, iksaku and iJoshuaHD like this.
  3. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    iJoshuaHD and PEMapModder like this.
  4. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I made a plugin called "Restarter" to do this. I tested it and it worked only on windows then I abandoned it
    xFlare likes this.
  5. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I made it for some reasons. The first is that if you run the server for a lot of time, it becomes very slow and it uses a lot of RAM and CPU
    xFlare likes this.
  6. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    I know if the server runs for a day it starts going down.
  7. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    I also want to thank you all for the replies. Thanks iksaku for the plugin you posted, I hope it works.
  8. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    You're welcome! ;) From the community, for the community :D
  9. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Oops do you know how to use it I put the php files in there but I think that is totally wrong. The server just ignored it. Thanks alot
  10. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Plugins with the tag "Outdated" doesn't work anymore with Pocketmine 1.4, the only plugins that can be loaded are .phar plugins, .php plugins doesn't work anymore.

    If you want to use .php plugins, try using SteadFast
    EvolSoft likes this.
  11. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Oh didn't
    Oh sorry did not see outdated, got it from github. Is steadfast a plugin
  12. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Nope, it's another distribution of PocketMine that contains the Old API :p but I don't recommend you that
  13. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Oh OK so there really isn't a way to automatically restart the server.
  14. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Not without changing some code from PocketMine-MP
  15. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Thanks a lot for all your support iksaku! :D you have been very helpful. Its people like you who make the websites community a nice thing to be a part of.
  16. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    You're welcome! ;)
  17. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Change start.sh such that it loops itself.
  18. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Well I would if I could but I gave no idea how to do that.
  19. iJoshuaHD
    Offline

    iJoshuaHD Notable Member Plugin Developer

    Joined:
    Nov 7, 2013
    Posts:
    1,201
    Plugins:
    4
    Minecraft User:
    iJoshuaHD
    i would rewrite ASR that doesnt check per tick due to some features implemented and upload it here :D
  20. thrasher4219
    Offline

    thrasher4219 New Member

    Joined:
    Apr 26, 2014
    Posts:
    15
    Minecraft User:
    Ninjanewmann
    Is it hard to make plugins?

Share This Page

Advertisement