Create addon's for a plugin

Discussion in 'Plugin Development' started by Dablakbandit, Jan 31, 2014.

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

    Dablakbandit

    The_Doctor_123
    How would I trigger a section of code in TornadoExt from Tornado? and vice versa?
     
  2. Is this not just extending and such? (Let the addon extend, and depend on, the main plugin?) example:
    Main plugin: Main
    Addon for the main plugin: MainAddon
    Main -> minigames and stuff
    MainAddon -> adds an extra minigame to the Main plugin, and it utilizes the ArenaManager and GameHandler from the Main plugin
     
  3. Offline

    The_Doctor_123

    What..? Static methods..?
     
  4. Offline

    themuteoneS

    Dablakbandit

    This loads any class file that you want. It could be the addon classes. This is how bukkit loads its own plugins. You can load your addons the same way (excepts it's exclusively controlled by you)
     
  5. Offline

    Cirno

    Your question is seriously confusing me. Do you want to load a class file directly from a .class file in a directory? Do you want to simply create a second plugin that relies on a main plugin (Kinda like how Multiverse does)?
     
  6. Offline

    Retherz_

  7. Offline

    Dablakbandit

    Cirno
    I want to load a class file in a directory yes.
     
  8. Offline

    Skyost

  9. Offline

    The_Doctor_123

    Why would you want to do that..? It's much easier to just use jars.
     
Thread Status:
Not open for further replies.

Share This Page