PlaytimeManager

interface PlaytimeManager

Manages all player related methods.

Functions

Link copied to clipboard
abstract fun getTimeOnlineSinceJoin(uuid: UUID): Int?

The time in seconds since they joined the server.

Properties

Link copied to clipboard
abstract val joinTimes: MutableMap<UUID, Date>

A Map of the UUID of a player and the Date they logged in. This is a temporary cache. The players uuid will only be in the map if they are logged in to the server.