Vault 1.7.2

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 Reviews

  1. AlexArmijo48
    AlexArmijo48
    4/5,
    Version: 1.7.2
    Sorry, im new in this of servers and plugins so i need help, i need to know how add the current /balance of vault in my case i use jEssentials like economy plugin into the ScoreBoard Reborn plugin v1.14.4, when you use this and you watch the scoreboard at the right side you can see that it says:

    &7%vault_rank% in the rank line
    and
    &7%vault_eco_balance% | Normal
    &7%vault_eco_balance_commas% | Separators
    &7%vault_eco_balance_fixed% | Fixed
    &7%vault_eco_balance_formatted% | Formatted

    in the coins or balance line, please i need help i want that the /balance of jessentials be showed in the scoreboard.

    Gmail: [email protected]

    Thanks if you send help!
  2. alaskalix
    alaskalix
    5/5,
    Version: 1.7.2
    The best plugin for coding plugins. You can use economy with it and don't have any bug.
  3. Dracathio
    Dracathio
    5/5,
    Version: 1.7.2
    Works fine as far as I can see. To those saying "please update" They update when it needs an update. It doesn't need an update right now because it works fine, hell same goes for something like Plugman... that stuff worked fine on 1.13.2 and hadn't been updated since 1.10, because it still worked.
  4. usernpc10
    usernpc10
    4/5,
    Version: 1.7.2
    Seems to do okay on 1.14. Haven't had an error yet, am using luckperms and essentials. I've never seen vault before I opened my second server a month ago, previously back in 2016. Don't know much about it but my plugins that "need it" work. Haven't tested without vault but would appreciate an update even quarterly or bi annually. Thanks for your groundwork, would like to follow this for my server.
  5. Xanadar
    Xanadar
    5/5,
    Version: 1.7.2
    Excellent Plugin, version v1.7.2-b107 works well with 1.14. Huzzah! I love how this makes it so much easier to get different plugins to work together. It's like a universal plug, love it!
  6. Prostedeni
    Prostedeni
    4/5,
    Version: 1.7.2
    good plugin, but pls add 1.14.x update, many, including me, would greatly appreciate that
  7. Skynzor
    Skynzor
    5/5,
    Version: 1.7.2
    Great plugin! This plugin is a must if you have economy and permission plugins.

    Vault works perfectly on a 1.13.2 server!
    Keep in mind, as of now, 1.14.4 doesn't work correctly!
  8. Warak
    Warak
    5/5,
    Version: 1.7.2
    Maybe so many people doesn't understand what this plugin working for. but It's another essentials, and I'm using this one too.
  9. SirShrake
    SirShrake
    4/5,
    Version: 1.7.2
    Functionally fantastic.
    Note for the developer, please add in Prefix support for the plugin "UltraPermissions" by TechsCode. This is just a suggestion, my server needs this feature for the plugin to be able to function properly, but in all other areas, the plugin works excellently. Would recommend.
  10. zer0m
    zer0m
    5/5,
    Version: 1.7.2
    Great plugin, required for many other plugins -


    Would really appreciate a 1.14.x update...