LightAutomation for Hytale
Server plugin that turns street lamps on at dusk and off at dawn, outdoors only and with configurable thresholds. Version 1.8.0 for Hytale 0.7, no dependencies.
Download LightAutomationMore screenshots on CurseForge ↗
What this mod does
LightAutomation is a server plugin that turns street lamps on at dusk and off at dawn. It works out the timing from the sunlight factor and only automates outdoor lights: indoor and cave lights stay as they are.
How it works
- It registers the lights players place and keeps them between restarts.
- Depending on the DefaultLogic setting, each new light is either included in the automation or not; within 10 seconds of placing it, interacting with it once flips that choice. The author admits it’s a workaround, because the API doesn’t expose the lights’ state.
- Torches aren’t turned off by default: the author figures nobody expects an outdoor torch to go out on its own.
Configuration
It’s installed in the server’s mods/ folder, which generates the config on startup: EnableLightAutomation, DefaultLogic, LoggingLevel, DawnThreshold and DuskThreshold (sunlight percentages between 0 and 1), and the ToggleableLightTypes and StaticLightTypes lists. The /lightautomation command has subcommands to reload, list and count lights, save or clear.
Update 7
Version 1.8.0 (October 12, 2026) is updated for server 0.7.0. Known issue: the API reports zero sunlight well before sunset, so the author suggests a DuskThreshold of about 0.004. No dependencies. More ideas for your server in server plugins.
User rating
Mod video
Highlights and things to keep in mind
- Town atmosphere with street lamps that turn on by themselves
- Lightweight (70.9 KB) with no dependencies
- Full config and commands
- The per-light choice depends on interacting within 10 seconds of placing it
- The dusk threshold needs tweaking due to an API bug
- Torches aren't automated by default
Requirements
- Hytale (Early Access) server version 0.7 (file lightautomation-v1.8.0.jar)
- No dependencies
How to install it
- Download lightautomation-v1.8.0.jar from the Files tab on CurseForge (the file tagged 0.7) or install it with the CurseForge app.
- Copy the .jar into the server's mods folder (for a local world, into %APPDATA%\Hytale\UserData\Mods and enable it in the world settings).
- Start the server so the config file gets generated.
- Edit the config: choose DefaultLogic and set DuskThreshold to around 0.004, as the author suggests.
- Apply the changes with the reload subcommand of /lightautomation.
Version history
-
1.8.012 Oct 2026Current
Updated for Hytale server version 0.7.0
-
1.7.42 Oct 2026
Compiled for the 0.7.0-pre.5.1 pre-release (tagged 0.6)
Common problems
Does it turn off the lights inside my house too?
No. It only automates outdoor lights; indoor and cave lights aren't touched.
Can I exclude a specific street lamp?
Yes: within 10 seconds of placing it, interact with it once to take it out of (or add it to) the automation.
Why do they turn on too early?
The API reports zero sunlight too soon. The author recommends a DuskThreshold of about 0.004.
More mods for Hytale
Multiplayer
Multiplayer
Multiplayer
Multiplayer
Multiplayer
Multiplayer