How use the API's Iconomy

Discussion in 'Plugin Development' started by 4z3rty, Jun 14, 2012.

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

    4z3rty

    Hi,
    I want to just give money with my plugin but I don't find a documentation of API's Iconomy.
    Where I can find it ? Or, how make for give money to a player ?

    Thank

    Escuse me for my spelling, I'm french !
     
  2. Offline

    V10lator

    Just use Vault for economy. ;)
     
  3. Offline

    4z3rty

    I'm obliged to use Vault ?
    I can't just include iConomy and use for my plugin ?
     
  4. Offline

    V10lator

    You could, but then you are limited and have more work:
    1. Figuring out how to use iConomy directly.
    2. You are forcing your users to iConomy instead of letting them choose from all the economy plugins Vault supports.
     
  5. Offline

    Giant

    3. You are forcing them into a seperate plugin for something that you can do in your own with ease.
    4. You are creating a dependency for a dependency == middle man == bad!
     
  6. Offline

    4z3rty

    Ok, I have tried to use Vault and it works !

    Thank
     
  7. Offline

    V10lator

    5. Users may have installed Vault already cause almost every plugin that uses economy depends on it.
    6. It's simpler to use one API than figuring around with every economy plugin out there. Using libraries for doing such jobs is nothing bad, did you ever develop outside of bukkit?
     
  8. Offline

    LucasEmanuel

    8. If the developer of iConomy decides to alter the API, you dont have to bother with it because thats now the developer of Vault's issue ;)
     
    V10lator likes this.
  9. Offline

    Giant

    I actually DO develop outside bukkit, and I HATE dependencies all the more. I am one of the few that like to have everything that can be made by myself, made by myself.

    Depending on something to depend on something else is NEVER a good thing, it adds another shackle to the chain, and that in the end will break your head in.
     
  10. Offline

    Sleaker

    there's also the other issue that iCo6 has multiple critical bugs, and an inactive developer... Whereas I regularly release updates and patches and encourage Economy developers to help patch their own Econ API in Vault so servers can stay updated without losing functionality. Ultimately, it's your choice on how to develop though.
     
    V10lator likes this.
  11. Offline

    desht

    Well, that's your opinion. As you've already seen, a lot of people disagree with you. Given the choice between supporting 7 or 8 different economy plugins, and as a many different permissions plugins or supporting Vault, I will choose Vault any time. If server admins can't be bothered to install Vault, well it sucks to be them - installing Vault is trivially easy since there isn't even anything to configure for it.
    Sorry, not buying it. You're just making life harder for yourself.
     
    V10lator likes this.
  12. Offline

    Sleaker

    You definitely can just develop for iConomy. But if you have any questions on how to use Vault in your plugin I can help you out with that! Using Vault will allow your plugin to not just be able to be used with iCo6, but all previous versions of iConomy, along with a host of other Economy plugins.
     
  13. Offline

    V10lator

    So if you develop 3D apps you are bypassing the OpenGL library and program for every single graphic card out there instead? If you develop 2D apps you don't use something like GTK/QT/Cairo/... but draw directly onto the screen? BTW: Java uses a virtual machine (JVM) instead of calling OS specific libraries directly, so why are you even developing in Java?
     
    ferrybig and desht like this.
  14. Offline

    Giant

    Read better... I said: "I am one of the few that like to have everything that can be made by myself, made by myself.". Specifically: "everything that can be made by myself, made by myself", I am not foolish enough to even attempt to build a library like OpenGL. Where there is no other way, I will use the library, but for a thing as Vault, that can easily be build into your plugin and that is where I won't depend on a library to depend on another...
     
  15. Offline

    V10lator

    Giant Well while you might (for some weird reason) find it easier to basically re-code vault directly into your plugins there's still the memory overhead your solution has, think about it: Two plugins want to support iConomy 5 and 6. At the server iConomy 6 is running so the unneded functions for iConomy 5 lie in RAM. 2 times cause 2 plugins have them. And Vault supports more than just iConomy 5 and 6, also I know a lot of servers that have more than 2 plugins which use Vault.
     
Thread Status:
Not open for further replies.

Share This Page