Compiling all plugins

Discussion in 'Plugin Development' started by migsthegod, Apr 13, 2012.

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


    Yeah another noob question, im new to java :p

    How does bukkit read plugins?

    Will it help/optimize my server if i like compiled all my server's plugins into 1 file.
    Will it help "a little," or is it not worth all the trouble?
  2. Offline


    Compile all classes which you need for the plugin(include the plugin.yml) in a jar file ;)
  3. Offline


    Ah thanks,
    but i meant:
    will decompiling/forking other plugins then recompiling them all into one plugin optimize stuff?
  4. Offline


    Not really. And I don't think that this would work, because some plugins are using the onEnable() methods or other methods which are used by other plugins too... One big muddle...
  5. Offline


    The short answer is no.

    It may seem inefficient to have them separate, however consider that once they are loaded into memory the variables/classes/listeners/events from those plugins basically do what you are talking about doing.

    On top of that, even if there was some benefit to combining them it would be a real pain trying to update and troubleshoot the server.

    It might seem slower to do it the way it's done, but once the plugins get loaded into memory the whole game changes.
Thread Status:
Not open for further replies.

Share This Page