How whould i make an invite system?

So, i made this post and i decided i whould want to do something like this aswell, you can invite players inside your Reserved Server and when they press a certain keybind they can press “Invites” and they whould see all the servers that invited them and they could join them… There whould also be an option to make the server public (In “Servers” tab you whould be able to join any servers that is public)
What functions could i possibly use to make that system?
Thanks!!
-WhatDid_HeDo

Nvm, i could just use SubscribeAsync to make this function pretty much, when a player is invited tell the SubscribeAsync that the player was invited, as @ElusiveEpix said here:

Meaning i could just edit some code to make it function as i want…