Help support development of Vault: Donate
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.
Permissions:
- vault.admin
- Anyone with this permission will be notified when Vault is out-dated
Vault currently Supports:
- Perms: Permissions 3, bPermissions, PEX, GroupManager, PermissionsBukkit, zPermission, SimplyPerms, Privileges, DroxPerms
- Econ: iConomy 4,5,6, BOSEconomy 6 & 7, EssentialsEcon, 3Co, MultiCurrency, MineConomy, eWallet, EconXP, CurrencyCore, CraftConomy, AEco, Gringotts
- Bank support in CraftConomy, CurrencyCore, BOSE & iCo6 only
- iCo6/CurrencyCore use merged player/bank accounts. It's suggested to use BOSE for full featured banks.
- iCo6 flatfile has SEVERE bugs, USE AT YOUR OWN RISK
- Chat: mChat, iChat, bPermissions, PEX, P3, DroxPerms
- JavaDocs: http://mythcraft.dyndns.org/javadoc/vault/
- GitHub (SourceCode): https://github.com/MilkBowl/Vault/
Plugins that use Vault:
- Plugin List UPDATED
- Please check forum to have your Plugin added.
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/Vault
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
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); }
Repository Information for Maven Projects
<repository> <id>vault-repo</id> <url>http://ci.herocraftonline.com/plugin/repository/everything</url> </repository>
Facts
- Date created
- Oct 21, 2011
- Categories
- Last update
- Apr 13, 2013
- Development stage
- Mature
- License
- GNU Lesser General Public License version 3 (LGPLv3)
- Curse link
- Vault
- Downloads
- 1,978,935
- Recent files
- R: Vault 1.2.25 for CB 1.5.1-R0.2 Apr 13, 2013
- R: Vault 1.2.24 for CB 1.4.7-R1.0 Mar 02, 2013
- R: Vault 1.2.23 for CB 1.4.7-R1.0 Feb 13, 2013
- R: Vault 1.2.22 for CB 1.4.6-R0.3 Dec 13, 2012
- R: Vault 1.2.20 for CB 1.4.5-R0.1 Nov 20, 2012