How do I hook into vault?

Discussion in 'Plugin Development' started by calebbfmv, Jul 26, 2012.

?

Have you ever hooked into Vault?

  1. Heck Yes you idiot! Why else would I be here?

    32.1%
  2. No, but I would like to know so I cam here!

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

    raGan.

    Sounds like serious illness.
     
    Firefly likes this.
  2. Offline

    calebbfmv

    Because without it I get an error.
     
  3. Offline

    Firefly

    Which further proves my point that you have the "serious illness" of bracket/indenting issues.
     
  4. Offline

    calebbfmv

    Thank you for that needed comment.
     
  5. 1. You don't have Vault as a dependencie in your plugin.yml, see http://wiki.bukkit.org/Plugin.yml
    2. Firefly wanted to help you and his comment wasn't unneeded...
     
  6. Offline

    calebbfmv

    1. Sorry about the comment, I changed it.
    2. That is not the problem though....
     
  7. So what is it? Without knowing the problem we can't help to solve it. But as others stated before you should start fixing your bracket/indenting issues...
     
  8. Offline

    calebbfmv

    I did, but the problem is that everything to do with Permissions is errored. I don't know why.
     
  9. What error?
     
  10. Offline

    calebbfmv

    Permission cannot be resolved to a type" Everywhere
     
  11. Offline

    Firefly

    Can you import it?
     
  12. Offline

    calebbfmv

    Yeah, but when I do, nothing happens...
     
  13. Offline

    Sleaker

    Sometimes means your Eclipse is having problems, or isn't recompiling when you add the import. I think your issues are much less with Vault, and simply not really knowing how to program.
     
  14. Offline

    calebbfmv

    Eh I don't think so.
     
  15. Offline

    the_merciless

    I can't believe you got through 50 posts and no one suggestested a way to write this without hooking vault. This plugin only needs like 10 lines of code.
     
  16. Offline

    calebbfmv

    Yeah I figured that out, I sucked at coding when I asked that....
     
  17. Offline

    Groxlord27

    So to sum this all up:
    -You have to import vault.jar into your project libraries.
    -You have to have Vault in your server's /plugins/ directory.
    -You need to have Vault listed as a dependency in your server's config.
    -You need to include some code from Vault in your plugin (duh)
    (This was for future people looking at this page... although if I'm incorrect about any of this, tell me.)
     
  18. Offline

    hellsome

    a dependency in servers config? or in the plugin.yml?
     
  19. Offline

    Compressions

    hellsome Nice necro bump. I wish staff was more strict about these...
     
    StyL_TwisT likes this.
  20. Offline

    hellsome

    I wasn't I had the problem and I didn't understand what he was talking about. Get a life.
     
  21. Offline

    Compressions

  22. Offline

    Brian_Entei

    You need to have
    Code:
    depend: [Vault]
    in your plugin.yml and you'll need to add Vault to your server/plugins folder so that it will load with the rest of the bukkit pugins.
     
Thread Status:
Not open for further replies.

Share This Page