Help with creating a plugin

Discussion in 'Plugin Development' started by hypnoatic, Apr 11, 2015.

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

    hypnoatic

    I'm fairly new to devloping plugins so it may be a simple fix. I'm trying to get the economy plugin of the server. My friend did it before using the vault Economy class but i was wondering if there is a way to get the economy plugin a server is using just from bukkit not from an outside import
     
  2. Offline

    Tamir

    @hypnoatic You mean getting the source code of the plugin?
    You can't really do it. AFAIK Its illegal.
    You can try to use CommandPreProcess event and modify some basic commands.
     
  3. Offline

    hypnoatic

    @Tamir No, sorry if i confused you. I mean accessing the plugins classes/methods as a library. But i'm trying to do it without using a plugin i've added so it can use any economy plugin
     
  4. Offline

    GODofCRAFTERS

    Well to access a plugin's classes/methods, you'd first have to know what methods it offers, which means either getting the source code of the plugin (you can do this if the plugin owner distributes the code itself for free or else it is Illegal) or you're gonna have to add the plugin as an External jar to the plugin you're creating. This would mean you would be specific to only one economy plugin, unless you went into crazy mode and linked all the economy plugins that are available on here.
     
  5. Offline

    mythbusterma

    @GODofCRAFTERS

    Decompiling source code for your own personal use is never illegal, at least in developed nations. I really have no clue what you think you're talking about.


    @hypnoatic

    What you're probably looking for is Vault, it's a simple plugin that provides a unified interface for almost every economy plugin, check out the BukkitDev page for instructions on how to use it.
     
Thread Status:
Not open for further replies.

Share This Page