Vault

Discussion in 'Plugin Development' started by SoulSteel, Aug 5, 2019.

  1. Offline

    SoulSteel

    how do i get a prefix from the player with vault and dont give me the github link because its useless i need a code for it not a github i need to know what its mean
     
  2. Offline

    timtower Ninja on the waves Moderator

    @SoulSteel Are you asking as developer or as server owner?
     
  3. Offline

    SoulSteel

    no i mean that i need help with vault to get the player prefix and i need a code and PLEASE dont send me the github link of vault api
     
  4. Offline

    timtower Ninja on the waves Moderator

  5. Offline

    SoulSteel

    @timtower
    yes but how do i put it in the code in where i need a class or something....
     
  6. Offline

    timtower Ninja on the waves Moderator

  7. Offline

    SoulSteel

    @timtower nothing lol i deleted my project cuz i got mad but i do have everything at the pom.xml
     
  8. Offline

    timtower Ninja on the waves Moderator

    @SoulSteel Start by getting an instace of the Chat class using the registredServiceProvider
     
  9. Offline

    Eccentric_Gamer

    https://github.com/MilkBowl/VaultAPI gives a pretty detailed explanation in my opinion. But in case you were wondering, you don't have to use the maven or gradle methods if you're not using maven or gradle... Instead, download Vault.jar and add it to your external libraries the same way you added spigot.jar or craftbukkit.jar. Then follow the "implementing Vault" code sample on the bottom.
     
  10. Offline

    SoulSteel

Share This Page