# AFK Checkers

This mechanism is used to identify AFK (away from keyboard) players and ensure they do not receive playing time while inactive.\
It uses the system from [Essentials](https://essentialsx.net/downloads.html) or [CMI](https://www.spigotmc.org/resources/cmi-298-commands-insane-kits-portals-essentials-economy-mysql-sqlite-much-more.3742/) and does not automatically grant play-time progress towards rewards for AFK players.\
This option can be toggled in config.yml:

```yaml
enable-afk-checker: true
```

You can also configure (also in config.yml) whether the player can claim the reward immediately upon first connection or after a session waiting period. This helps prevent reward collection from multiple accounts.

```yaml
first-time-join-required-play-time: 100
session-required-play-time: 10
```

You can also set certain worlds in config.yml where time will not be added for the player at all.

```yaml
worlds-with-disabled-playtime-tracking:
  - 'afkworld'
  - 'someworld'
  - 'anotherworld'
```
