Please tell me how you can make such a system:
Example: let's say player A is playing on server 1, player B is playing on server 2



Example: let's say player A is playing on server 1, player B is playing on server 2
- Player A wanted to invite player B to join the group.
- player A throws an invitation to player B. /invite <Player B>
- player B shows the "accept" and "reject" types in the chat, he clicks on the corresponding message in the chat and the event is performed.
- A message is sent to player A whether the player accepted the invitation or declined


