How to hook a plugin into iConomy 6

Discussion in 'Plugin Development' started by Hoolean, Aug 15, 2012.

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

    Hoolean

    Could someone please tell me the code to hook my plugin into economy and subtract and add money from players balances? I have searched all over the interweb but can only find iConomy 5 code :( . Thanks in advance! :D
     
  2. Offline

    Michael Rhodes

    I am not sure if iConomy is still being worked on actively ... I have been working on getting Vault to work with my plugin without success so far. It seems to keep getting hooked onto EssentialsEco, and ignoring my plugin :(

    If I get that figured out I will let you know
     
  3. Vault would be the best option because it supports most economy plugins.

    However, I too support iConomy standalone in my plugin as a fallback if Vault isn't found (or nothing if nothing is found), you can have a look how I did it:
    https://github.com/THDigi/RecipeManager/blob/master/digi/recipeManager/Econ.java
    You can even use that class, just put in a comment at the begining where you got it from :p
     
Thread Status:
Not open for further replies.

Share This Page