Player Idle Time (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.0.0

Syntax

[the] idle (time|duration) of %players%

Description

Get/reset the idle time of a player. The idle duration is reset when the player sends specific action packets. Requires Paper 1.20.2+

Examples

if idle time of player > 1 minute:
	kick player due to "hanging out too long"

View source