[SOLVED] Order when enabling plugins

Discussion in 'Plugin Development' started by homerbond005, Jan 13, 2012.

Thread Status:
Not open for further replies.
  1. Hi @ all!

    I have a problem with the order, the plugins are enabled. I want my plugin to be enabled at last. Is that possible? Or is there an event listener that is called when bukkit finished reloading/starting?

    HomerBond005
     
  2. Wrong section, should be in plugin development.
    On topic: Not quite sure. I know people have done it, but don't remember how. Sorry!
     
  3. Offline

    Butkicker12

  4. If your goal with having it enable "last" is to have it enable after another plugin, that's what dependencies were made for.
    http://wiki.bukkit.org/Plugin_YAML (look at "softdepend" and "depend")
     
  5. Offline

    NuclearW

    Alternatively, let your plugin load normally but register a sync task to happen in 1 tick, which will let you do whatever you want once all the other plugins are loaded.
     
  6. Sorry. This post also exists in plugin development. I forgot deleting this one.
     
Thread Status:
Not open for further replies.

Share This Page