Vault 1.6.7

Vault is a Permissions, Chat, & Economy API to give plugins easy hooks into these systems.

  1. Sleaker
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Source Code:
    https://github.com/milkbowl/Vault
    Contributors:
    Sleaker, Cerea1, Mung3r, Kainzo
    Languages Supported:
    English
    [​IMG]


    Vault is a Permissions, Chat, & Economy API to give plugins easy hooks into these systems without needing to hook or depend on each individual plugin themselves. It was born out of a distaste for how both Register and the current Permissions API are run, and their lack of features or over-complicated implementations. Vault attempts to solve these issues by being intuitive and providing plugins with support for any system that they may use.

    Config:
    • update-check
      • turns the update checker on/off
    Permissions:
    • vault.admin
      • allows access to vault info and conversion commands
      • defaults to OP
    • vault.update
      • Anyone with this permission will be notified when Vault is out-dated
      • defaults to OP
      • setting to false in permissions.yml will disable version check messages for console
    Vault currently Supports:

    This plugin utilizes bstats plugin metrics system. the following information is collected and sent to bstats.org unless opted out:
    • A unique identifier
    • The server's version of Java
    • Whether the server is in offline or online mode
    • Plugin's version
    • Server's version
    • OS version/name and architecture
    • core count for the CPU
    • number of players online
    • Metrics version
    • Which Chat, Economy, and Permission hook is in use.
    Opting out of this service can be done by editing plugins/bstats/config.yml and changing opt-out to true.

    Linking Vault
    There's a slightly longer/more detailed example on the Vault github page on how you might link to vault in a plugin. See: https://github.com/MilkBowl/VaultAPI

    The following 3 methods can be used along with the 3 variables to load both the permission, economy, and chat systems from Vault. Make sure to add depend: [Vault] to your plugin.yml - You don't need to use all 3 if you don't want to in your plugin! If you only want one or two of the three APIs only use those ones you need!

    NOTICE: Vault automatically logs what Plugins it found and hooks to, there is no need to display this information in your plugin.

    NOTICE: Don't Forget To add softdepend: [Vault] or depend: [Vault] to your plugin.yml
    Code (Text):

        public static Permission permission = null;
        public static Economy economy = null;
        public static Chat chat = null;

        private boolean setupPermissions()
        {
            RegisteredServiceProvider<Permission> permissionProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
            if (permissionProvider != null) {
                permission = permissionProvider.getProvider();
            }
            return (permission != null);
        }

        private boolean setupChat()
        {
            RegisteredServiceProvider<Chat> chatProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.chat.Chat.class);
            if (chatProvider != null) {
                chat = chatProvider.getProvider();
            }

            return (chat != null);
        }

        private boolean setupEconomy()
        {
            RegisteredServiceProvider<Economy> economyProvider = getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
            if (economyProvider != null) {
                economy = economyProvider.getProvider();
            }

            return (economy != null);
        }
    Code (Text):

    Repository Information for Maven Projects
    <repository>
        <id>vault-repo</id>
        <url>http://nexus.hc.to/content/repositories/pub_releases</url>
    </repository>
    Help support development of Vault: Donate
    Want an amazing RPG plugin? Check out Heroes Premium
    Want the best chat plugin? Check out Herochat 6!

Recent Updates

  1. Re-upload for those needing 1.6.7
  2. Fixes
  3. Bug fixes

Recent Reviews

  1. z__
    z__
    4/5,
    Version: 1.6.7
    Vault is awesome... except that so many plugins stop working correctly because vault is often loaded after them when the server starts... So they do not find vault... I've had this problem for years and have never found a solution other than reloading plugins that depend on vault after a server restart which at times causes more problems
  2. BitCash
    BitCash
    5/5,
    Version: 1.6.7
    your server cannot function without vault. This could be the worlds best plugin, better than worldedit.
  3. EndlessTeamwork
    EndlessTeamwork
    5/5,
    Version: 1.6.7
    A must have plugin in order to make your server fully compatible with other major plugins such as Essentials, PEX ...
  4. thegogz
    thegogz
    5/5,
    Version: 1.6.7
    Great Plugin, really helps make everything play nicely together. Keep up the good work!
  5. IzDaBait
    IzDaBait
    5/5,
    Version: 1.6.7
    What the hell is with the people posting stupid reviews? I don't get it. This plugin is awesome. There is no other way to explain it. Bugs are fixed quickly, and this plugin is very compatible. That's it. no other words needed.
  6. crainer
    crainer
    1/5,
    Version: 1.6.7
    i have a problem if i do /fly it says command expired and pls purchage at shop pls help
    1. Sleaker
      Author's Response
      This has nothing to do with Vault.
  7. 2DevsStudio
    2DevsStudio
    4/5,
    Version: 1.7.1
    Hi, i have problem with Api, i setup correctly but plugin can't find Vault on the server. Latest api, latest plugin.
  8. Rocologo
    Rocologo
    5/5,
    Version: 1.7.1
    Thank you for updating Vault.

    It would be nice to see the BagOfGold eConomy plugin in the supported list. BagOfGold works perfectly with Vault and has Bank support as well.

    It would be nice to see new methods in the eConomy interface.
    1. Sleaker
      Author's Response
      The supported list is for plugin connectors maintained by Vault.
  9. FlailoftheLord
    FlailoftheLord
    5/5,
    Version: 1.7.1
    Thanks so much for updating Vault again, Its the most amazing and work relieving plugin every developer needs, Awesome job and i hope to see many more updates in the future for the next generation of Spigot!!
  10. Stormsx4
    Stormsx4
    5/5,
    Version: 1.6.7
    I appreciate the new updates and hopefully this fixes the infinite money glitch with vault/EssentialsX and chestshop