set_player_time
Overrides the time of day shown to the player on their client, without affecting the server.
Categories: player, visual
Required arguments
| Key(s) | Description | Type |
|---|
time | The time in ticks to display (0=dawn, 6000=noon, 12000=dusk, 18000=midnight). | INT |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
relative | If true, the time is applied relative to the world's current time instead of as a fixed value. | BOOLEAN | false |
reset | If true, resets the player's time back to the server time. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: set_player_time
args:
time: <value>
relative: true # ← Optional
reset: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |