How do I get vault to use my plugin for economy?

Discussion in 'Plugin Development' started by Brian_Entei, Dec 22, 2014.

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

    Brian_Entei

    Now I know that there is most likely an obvious solution to my problem, but I have searched everywhere including the github tutorial page, and all that tells me how to do is how to use vault economy. That is not what I am wanting to do; I am wanting to get Vault to recognize my plugin as an economy plugin much like PermissionsEx or Essentials Economy do(I believe the phrase used there is "hooked into vault"). How do I do this? Is there a class that I must implement/extend and register? Is there a method I'm missing somewhere? Please help me find out how I might achieve this, for it is proving to be more trouble than it is worth D:

    Thanks for reading,

    Brian_Entei

    Edit:
    I will most likely be needing to do this for chat and permissions as well as I am creating my own set of plugins.
     
  2. Offline

    Jaaakee224

    @Brian_Entei
    I suggest you fully watch this. I'm not sure if it will fix your problem or not as I have not used the Vault API in a while.
     
  3. Offline

    ColonelHedgehog

    Pogostick's tutorials can often be likened to painting a cake when you should be frosting it.

    This sums it up: http://dev.bukkit.org/bukkit-plugins/vault/
     
  4. Offline

    Jaaakee224

    @ColonelHedgehog
    I remember using that video for some issue that I had a long time ago. I don't like using videos because you don't know if it will fix the other person's problem.

    @Brian_Entei
    Adding onto the link provided above, here is where you need to look.
     
  5. Offline

    Brian_Entei

    Thanks for trying to help, but that is not what I am trying to do. I am trying to create an economy plugin, not use one through vault. On my server I have no economy plugins installed and when using the registered service provider to get an economy object it returns null because vault doesn't know that my plugin is supposed to be the economy plugin.

    Maybe I don't know how to explain what I mean... I mean like, plugins can use vault to access the economy/chat/permissions etc, I know that and how to do that. I am wanting to make one of the plugins that gets accessed through vault, not just use it. I have made a bank plugin before that uses vault and it worked nicely; this is not what I am hoping to achieve.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 28, 2016
  6. Offline

    mythbusterma

    @Brian_Entei

    You have to contact the developers to add your plugin.
     
    Brian_Entei likes this.
  7. Offline

    Brian_Entei

    Ahhh, I see. Thank you very much for telling me!
     
Thread Status:
Not open for further replies.

Share This Page