Interface BedWars.AFKUtil

Enclosing interface:
BedWars

public static interface BedWars.AFKUtil
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getPlayerTimeAFK(org.bukkit.entity.Player player)
    Get the seconds since the player is AFK
    boolean
    isPlayerAFK(org.bukkit.entity.Player player)
    Check if a player is AFK.
    void
    setPlayerAFK(org.bukkit.entity.Player player, boolean value)
    Set a player afk.
  • Method Details

    • isPlayerAFK

      boolean isPlayerAFK(org.bukkit.entity.Player player)
      Check if a player is AFK.
    • setPlayerAFK

      void setPlayerAFK(org.bukkit.entity.Player player, boolean value)
      Set a player afk.
    • getPlayerTimeAFK

      int getPlayerTimeAFK(org.bukkit.entity.Player player)
      Get the seconds since the player is AFK