TickEvent

interface TickEvent : Event

An event that is called when the server starts or ends a tick.

These events are called incredibly frequently. On a server with a normal tick speed, these events will be called 20 times per second.

Inheritors

Properties

Link copied to clipboard
abstract val tickNumber: Int

The number of the tick that has started. This will start from 0, which will be the first tick, and increment by 1 for every completed tick while the server is running.