Load plugins in order

Discussion in 'Bukkit Help' started by jaes84, May 7, 2011.

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

    jaes84

    I would like to load my plugins in order, when i load uQuest and iConomy together, uQuest loads first, and disables iConomy. I am running this under Ubuntu 11.04. When i run the exact same server under Windows 7, iConomy loads first, consequently causing the server to work properly. How do i fix this?
     
  2. Offline

    jamescosten

    Go back to windows???
     
  3. Offline

    jaes84

    no, i like ubuntu, and the server runs faster and cooler on it. any other suggestions?
     
  4. Offline

    jamescosten

    I feel this may be a ubuntu issue, perhaps its loading then in reverse alphabetical order??
     
  5. Offline

    Plague

    Heh, it loads on firs on windows because windows stores it on disk sorted.
    AFAIK there is no way to guarantee the order from bukkit, BUT you can make it so that the file is listed first.
    try removing all plugins except for iCOnomy (is that which you want first?)
    then copy some garbage files there (will be removed later)
    then comy plugins depending on iConomy
    remove the garbage
    test with "ls -u" to check the order

    Now I THINK this should work, so give it a shot :)
     
  6. Offline

    anon

    Rename iconomy jar to a_iConomy and uQuest jat to b_uQuest. If it does not work, b_iConomy and a_uQuest.

    It worked for me when My groupmanager was loading after my xauth.
     
  7. Offline

    Plague

    how can that help when bukkit does not load alphabetically on linux?
     
  8. Offline

    anon

    I have no idea.... But it worked for me. Are you sure it does change nothing? Maybe it fixed when I was deleting and pasting the plugin many times on the folder.

    Anyway, it was a plugin a friend of mine did, same thing happened. He developed it on windows, it worked, then when i put it on ubuntu that happened.
     
  9. Offline

    jaes84

    thank you guys, i will test these out
     
  10. Offline

    Plague

    yes, deleting and copying back changes the filesystem storage structure and that's why I suggested the whole process with copying garbage.
     
  11. Offline

    jaes84

    Thanks so much! IT WORKED.
     
  12. Offline

    Plague

    which one?
     
  13. Offline

    jaes84

  14. Offline

    NiliusJulius

    I can tell you I had the same problem with BOSEconomy and Residence plugins.
    Changing it to ZBOSEconomy worked... Annoying linux server host xD
     
  15. Offline

    Triple_Nothing

    For future references:

    There are 3 values that one can use to work with similar issues. You CAN control the order in which your items load. The 3 items are: 'depend', 'softdepend', and 'loadbefore'. These go in your plugin.yml file located in your plugin's .jar file. This can simply be accessed by opening the .jar file via WinRAR.

    http://wiki.bukkit.org/Plugin_YAML
     
Thread Status:
Not open for further replies.

Share This Page