Creating
TimeWarp will by create the configuration (./config/timewarp.conf
) file after being launched for the first time.
Default File
Here is the default configuration output for reference…
sync {
settings {
dimensions=[
overworld
]
}
worlds {
world {
dayparts {
day=10600
dusk=1400
evening=1800
morning=1800
night=8400
}
enabled=false
wake-at-daypart=DAY
}
}
}
Breakdown
Below is a description of what each node option is for and what type of variable it is.
Node | Description | Type | Default |
---|---|---|---|
sync.settings.dimensions | If a world is listed in the config but not part of the dimensions listed, the world will follow normal time. | List | overworld |
sync.worlds.<world_name>.enabled | If true, it will use custom daypart settings for this world. | Boolean | false |
sync.worlds.<world_name>.dayparts.morning | Morning length in ticks. Set to 0 to skip, must not be below the default value otherwise. | Long | 1800 |
sync.worlds.<world_name>.dayparts.day | Day length in ticks. Set to 0 to skip, must not be below the default value otherwise. | Long | 10600 |
sync.worlds.<world_name>.dayparts.dusk | Dusk length in ticks. Set to 0 to skip, must not be below default value otherwise. | Long | 1400 |
sync.worlds.<world_name>.dayparts.evening | Evening length in ticks. Set to 0 to skip, must not be below the default value otherwise. | Long | 1800 |
sync.worlds.<world_name>.dayparts.night | Night length in ticks. Set to 0 to skip, must not be below the default value otherwise. | Long | 8400 |
sync.worlds.<world_name>.wake-at-daypart | The daypart for players to wake up at after finishing sleeping in a bed. | DayPart | DAY |