Reload No Players

Discussion in 'Archived: Plugin Requests' started by orange_ghast, Jul 7, 2014.

  1. Offline

    orange_ghast

    I would like to ask a favor to some willing java coder out there.
    I was wondering if you could make me (and the bukkit community) a plugin that when everyone leaves the server (when the last person leave) it reloads the server. Not continually when there is 0 players, but when the LAST person leaves.

    I am fully aware that reloading has many problems and can cause lag, but I would like it anyway.

    ~orange
     
  2. Online

    timtower Administrator Administrator Moderator

    orange_ghast You know that with each reload your server has a bigger chance of crashing due to memory leaks?
     
  3. Offline

    orange_ghast

    I stated that I do know the consequences of reloading, and the problems that may occur.
     
  4. Offline

    Flamedek

    Well here you go. Very simple, just does as you asked
    <Edit by Moderator: Redacted mediafire url>
    I don't have to point you towards the risks I take..

    orange_ghast tahg ^

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
  5. Offline

    dsouzamatt

    orange_ghast Sure, I'll do this. Give me a few minutes.

    Edit: /\ Oh, lol. My stupid internet...
     
    timtower likes this.
  6. Offline

    orange_ghast

    Flamedek
    I tried it but when I left it didn't reload...
     
  7. Offline

    Flamedek

    orange_ghast Well it did for me, only thing is (kinda ironic) reloading breaks the plugin xD
    Ill see if I can fix that

    orange_ghast
    <Edit by Moderator: Redacted mediafire url>
    works for me..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 2, 2016
  8. Offline

    orange_ghast

    Thanks so much! :)
     

Share This Page