Multy PLugin Jar...

Discussion in 'Plugin Requests' started by ajcool1050, Jun 20, 2012.

  1. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi i have two successful servers both have numerous amount of plugins and i wanted a way or somthing that all the plugins would go into so i have one plugin jar for the server so its ALOT more orginized if i have to do a server back up insted having to do all this stuff to just get all the jars and i have like 50 plugins or so... so if any one can ether give me a link to a plugin or tell me what to do i know java codeing but i am not so experienced at it... Thanks For Readning
  2. Offline

    javoris767

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I don't think that Multiple plugins would fit into 1 jar....
  3. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i have seen custom plugins on a server called mcpvp and the person has a few different plugins in one jar such as xteams personalwarp nocheat mobarena worldedit worldgaurd and essentials so i think its posibble
  4. Online

    evilmidget38 BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I believe the owner of mcpvp is a plugin developer himself(assuming I'm thinking of the right server). They probably put a bunch of plugins together themselves, and this isn't exactly something that can easily be automated by a plugin. It'd require some intense manipulation, and I doubt if it's even possible.
  5. Offline

    javoris767

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :confused: They must have a good plugin dev.
  6. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    But wouldent you just have a plugin that will then led to start the other plugins it souds simple in my head just i am not so good at java plugins lol
  7. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    so would it be that hard to just make a plugin with alll the jars in it that will simply run them basically bukkit would start this plugin then that plugin will start the other plugins...
  8. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's possible. Silly, but possible.
  9. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Cool would you mind helping me with it waht i want is all the plugins to be in one jar so if you could give me the codeing for it i could put it together and all the configs folders would be in the one plugin folder it would make things alot easier thanks for replying :)
  10. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wow, thats one BIG ask, 50 plugins in one, how about you make a .zip backup eh?

    This post has been edited 1 time. It was last edited by -_Husky_- Jun 20, 2012.
  11. Offline

    CarrotPCdude

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Why do you want to combine the plugins in to one jar? I can't see how that would make managing the server any easier... Infact it would make it harder if the plugins updated at different times...
    -_Husky_- likes this.
  12. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it would make it easyer becuse i want to group serten plugins together and if there just combined i can just quixly switch the ones needing replacement and reupload the one file...
  13. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thats the thing, if one of them update, us devs have to redo, the whole thing, again. Leaving this a stupid idea
  14. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    it was an estimate i more likely have 30 - 40 plugins at the most and i just want them orginized...
  15. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  16. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    umm well what i wanted agian is i just want the coding for what it would be so i could make it what i want i wanted it to be where one class file would start the jar files in the main plugin jar so in the plguin folder where it would have the classes it would have other plugin jars in it

    This post has been edited 1 time. It was last edited by ajcool1050 Jun 20, 2012.
  17. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What you have to do in code:
    - decompile the 40 plugins, get the sources
    - use the sources and register them all to the main package.
    - call all the commands, methods, and whatnot from all the 40 plugin sources
    - fix any errors..
    - make a plugin.yml stating every single command in all the 40 plugins...
    - compile
    - test

    This post has been edited 3 times. It was last edited by -_Husky_- Jun 20, 2012.
  18. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    cant there just be where it will tell the plugin to run another plugin on a seprate folder or somthin
  19. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nope. Well there is, but what have you achieved... If you folder is called plugs, you have all the plugins there, whats the point?!

    This post has been edited 1 time. It was last edited by -_Husky_- Jun 20, 2012.
  20. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    just its kindda hard to explain but is it possible where i can put all the plugins in a jar or arcive and then have the one plugin to start them all if that is possible would you mind givving me the code.
  21. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    To put them in a jar
    From a zip sounds like a better idea, although im not sure it will work.
    And plus, by zipping all the files, youve just made a backup...

    This post has been edited 2 times. It was last edited by -_Husky_- Jun 20, 2012.
  22. Online

    Sushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It won't, AFAIK.
    -_Husky_- likes this.
  23. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    could you have the plugin un zipit or somthin and then save it in the folder for that plugin so all i would have to do iz open hte zip file updtate the plugins then upload it to my host. but wouldent there be a confliction beetween them and is the code only limited to what bukkit can do?
  24. Online

    Sushi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also, I'm not sure how the plugin.yml would work, since each plugin would have a seperate main class, right?
  25. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That might work, although, what have you achieved. And i think you will need either; an external program or a plugin not in the zip file to unzip the zip, but there really is no point
  26. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    well couldent you redirect it so its like a a filter basically between the server and the plugins?
  27. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Correct, thats why theres 1 main class registering, everything! Although that still is a pain in the ass to type out...
  28. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What do you mean, a backup for the server in 1 zip, and plugins in another? If so, minebackup.
  29. Offline

    -_Husky_-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It'd just be a plugin hiding plugin, with custom plugin names, i bet.
  30. Offline

    ajcool1050

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    wait what do you mean like if i have to add names and stuff ill do that but i need the code or i have to do what you listed earlier

Share This Page