Hey great work on using my very early version of my AFK system to build yours. Fun fact I was going to release V1.0 global version of my AFK on here once I finish tracking afk abuser (people like to sit in corners while 1 person is afk acting like a wall while the other player just kill all the zombies) I’m happy to forward you the final version once it done.
Currently the current version of my afk system has this.
when afk milestones and XP can be toggle off (other plugins I’ve made)
Auto turn on afk mode when players arn't moving
Auto turn off afk mode
Auto kick feature
Tell other player if player is afk
Message to the afk person that they are afk
Auto restart if a player join when the whole alive team is afk
AFK toggle by chat commands.
Update player clan tag to [AFK]
Custom kick message when player get kick for being AFK for to long
Easy to config by dvars