Skip to content

API Overview

Chrono returns a table of modules when you require it:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local chrono = require(ReplicatedStorage.Packages.chrono)

local Entity = chrono.Entity
Field Module Context Page
Start(config?) Both Start Chrono
Started(callback) Both Waiting for startup
Config Shared.Config Both Configuration
Entity Shared.Entity Both Entity
Holder Shared.Holder Both Holder
Events Shared.Events Both Events
Snapshots Shared.Snapshots Both Snapshots
Stats Shared.Stats Both Stats
ReplicationRules Shared.ReplicationRules Server ReplicationRules
ServerReceiver Server.Receiver Server Receiver
ServerClock Server.ServerClock Server ServerClock
EntityGrid Server.EntityGrid Server EntityGrid
Player Server.Player Server Custom player management

Each initialized entity type config also exposes a server-side ticker.

Types are also exported:

local function Heal(entity: chrono.Entity) end