Plugin.yml Resource?

Discussion in 'Plugin Development' started by DigitalTyrant, Jun 24, 2011.

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

    DigitalTyrant

    Is there a resource defining all the possible settings that can go into the plugin.yml? I have just found out about 2 options
    Code:
    depend:
    and
    load:
    that I haven't been able to really find any documentation on.

    My real issue is when I use
    Code:
    load: startup
    I can't read the worlds using
    Code:
    getServer().getWorlds()
    within my onEnable and onLoad functions. Is there another option other than startup that I should be using? Or, is there another function that I can use to get the list of worlds at startup?

    tia
     
  2. Offline

    shadrxninga

  3. Offline

    DigitalTyrant

    Very nice, not sure how I missed that. Hopefully they update it soon to include the load: option.

    Thanks!
     
  4. Offline

    nisovin

    The load: startup option makes your plugin load before the worlds have loaded. If you want the worlds to have been loaded already, don't use that option.
     
Thread Status:
Not open for further replies.

Share This Page