Kick a user after X minutes

An idea.
Create an option to kick a user connected to the server after X minutes.
I am not talking about the i-client_max_idletime option which will not work if the client is writing or talking because it would push back the kick duration.

What exactly is this function supposed to do? The existing permission you mentioned above refers to inactivity. It makes absolutely sense to postpone the time by writing or speaking.
Your proposal would involve kicking actively speaking people off the server.

So you’re talking about a general, adjustable maximum connection time per client? I don’t think this is a feature that should be built in out of the box. You should use your own tool for this.