public boolean hasPermission(CommandSender sender, String permission) {
		if( sender instanceof ConsoleCommandSender )
			return true;

		// from here forward it must be a player object to pass
		if( !(sender instanceof Player) )
			return false;
		Player p = (Player) sender;

		if( usePermissions && vaultPerms != null )
			return vaultPerms.has(p, permission);
		else if( p.isOp() )
			return true;
		else
			return false;
	}