Auto afk kick

Discussion in 'Plugin Development' started by DaanSander, Mar 29, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    DaanSander

    Hello can someone explain to me how to make a auto afk kick?
     
  2. Offline

    mythbusterma

    @DaanSander

    I think Player#kickPlayer(String) is a good place to start.
     
  3. Offline

    DaanSander

    @mythbusterma i know thta part but i do not know how to check how long they are standing still
     
  4. Start a new Runnable and cancel it if the player moves
     
Thread Status:
Not open for further replies.

Share This Page