Custom plugin request, only last logged in client under same username gets messages

Hello.

Sorry if not appropriate to post here.

Is there anyone for hire to creating a plugin where only the last logged in client for the same username gets messages?

Thanks in advance!

For clairification, in group chats, only the last client to attach gets messages regardless of which clients are used and which priors are set.