Hey guys, I'm having some trouble figuring out how to work with sessions, so now i'm here. I need it for a request accept command, but the request has to timeout after 5 minutes, otherwise they could for example still teleport towards you after 4 days if you ever requested them and they didn't accept. ~ Reteckz
You could just save the time the request came with who did the request to whom and then when the player tries to accept check if that time+5mins<=currenttime and if not don't tp.