Page cover

Change day/night duration

This guide explains how to adjust the length of days and nights on your Hytale server by editing the world configuration file.

  • Step 1: Stop Your Server Always turn off your server before editing configuration files to prevent data corruption or changes not saving.

  • Step 2: Locate the Config File Navigate to your server files and find the configuration file for your specific world.

    • Path: /hytale/universe/worlds/<world_name>/config.json

  • Step 3: Edit the Gameplay Config Open the file and look for the line "GameplayConfig":. You may need to add the following lines manually right under it if they don't exist:

JSON

"GameplayConfig": {
    "DaytimeDurationSeconds": 1800,
    "NighttimeDurationSeconds": 1000
}
  • Step 4: Save and Restart Save the file changes and start your server. The new cycle lengths will apply immediately.

Pro Tip: Time Math

The values are in seconds. Here is a quick cheat sheet for common durations:

  • 10 Minutes: 600

  • 20 Minutes: 1200

  • 30 Minutes: 1800

  • 1 Hour: 3600

For example, if you want a very long day for building, set "DaytimeDurationSeconds" to 3600 (1 hour).

circle-check

Last updated