Athena.systems.defaults.time ​
Functions ​
disable ​
Usage
Athena.systems.defaults.time.disable(): void
Disable the default time synchronization on server-side.
Example ​
ts
Athena.systems.defaults.time.disable();Returns ​
void
Defined in ​
server/systems/defaults/time.ts:85
getHour ​
Usage
Athena.systems.defaults.time.getHour(): number
Get the current hour.
Returns ​
number
Defined in ​
server/systems/defaults/time.ts:102
getMinute ​
Usage
Athena.systems.defaults.time.getMinute(): number
Get the current minute.
Returns ​
number
Defined in ​
server/systems/defaults/time.ts:112
updatePlayer ​
Usage
Athena.systems.defaults.time.updatePlayer(player): void
Updates the player time to match the current server time.
Parameters ​
| Name | Type | Description | 
|---|---|---|
| player | Player | An alt:V Player Entity | 
Returns ​
void
 V5 Docs
V5 Docs