This macro will make movements every 10 minutes, for example, jump, right, left, back, thereby preventing you from kicking for afk.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program