Solved Reload whole plugin without /reload ?

Discussion in 'Plugin Development' started by Metal Julien, Mar 28, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Metal Julien

    Hi, is there any way to reload a specific plugin when it got replaced in the /plugins folder? It's so annoying because the reloads always take about 3 minutes

    Greets, MJ
     
  2. Offline

    Codisimus

    use the plugin manager to disable the plugin and then enable it again. I suppose you can setup some sort of file change listener as well. Note that doing this will break many poorly coded plugins.
     
    Metal Julien likes this.
  3. Offline

    Metal Julien

    Gonna try my best, thx!

    Codisimus Nop, it doesn't reload the jar file in the plugins folder.. It only restarts the loaded one :S Other possibilities?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  4. Offline

    Codisimus

    sorry, I don't have any other suggestions.
     
  5. Offline

    Metal Julien

    ok :S but thx
     
  6. Offline

    Polunom

  7. Offline

    Metal Julien

    Polunom Thank you, exactly what I was looking for.
     
  8. Offline

    gomeow

    I don't see why reloading would take so long unless you have a lot of plugins. And if you are developing, most of those probably aren't being used on a regular basis and can be taken off
     
  9. Offline

    mcat95

    Sorry for reviving, but how can I do this with code?
     
  10. Offline

    boolean

    Look at the link above
     
Thread Status:
Not open for further replies.

Share This Page