What registers first; onLoad() or onEnable()?

Discussion in 'Plugin Development' started by puyttre, Apr 1, 2013.

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

    puyttre

    Hi,

    I would just like to know when onLoad() and onEnable() are called so I can use them properly.

    Thanks
     
    htmlman1 likes this.
  2. Offline

    raGan.

    What do you think ? Is plugin loaded before it is enabled ? I bet it is.
     
  3. Offline

    ZeusAllMighty11

    onLoad() is, but be careful what you do in onLoad()
     
  4. Offline

    puyttre

    Why is that?
     
  5. Offline

    Tirelessly

    Some things like getServer() for example may return null
     
  6. Offline

    puyttre

    Ahh okay. Thanks :)
     
Thread Status:
Not open for further replies.

Share This Page