public static void openVault(Player viewer, String name, int id) throws NotEnoughVaultsException
	{
		if(Bukkit.getPlayerExact(name) != null)
		{
			Player p = Bukkit.getPlayerExact(name);
			boolean hasPerm = false;
			int num = id;
			while (num != 1000)
			{
				if(p.hasPermission("vaults." + num))
				{
					hasPerm = true;
					break;
				}
				num += 1;
			}
			if(!hasPerm && !p.isOp())
			{
				throw new Exceptions.NotEnoughVaultsException(name, id);
			}
		}
		Vault vault = Backend.getPlayerVault(name, id);
		viewer.openInventory(vault.getInventory());
		viewing.put(viewer, vault);
	}