Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

types.Playtime

A player's time in this experience on its live servers, read when playtime is; playtests and local runs count nothing before this visit.

Fields

playtime.firstPlayedAt: number?
#

when their first finished visit began, in os.time() seconds; nil until one has finished

playtime.lastPlayedAt: number?
#

when their last finished visit ended, in os.time() seconds; nil until one has finished

playtime.seconds: number
#

every second they have played here, this visit included

playtime.sessionSeconds: number
#

seconds since this visit began

playtime.visits: number
#

how many visits they finished before this one; 0 on their first