env ConVars

Every variable and command in the env namespace that a Rust dedicated server lists, 12 in all, with the help text it printed and the value we read. How to set them is on the ConVar overview.

Recorded on Rust build 25582902, . Values are what that server returned, which is not always the default.

12 entries

Variables 11

ConVarValueDescription
env.day10(Generated) Gets or sets the current in-game day of the month; used for calendar-driven events and date display
env.daylength80How many real minutes one in-game day lasts on the server. Not sent to clients, whose sky keeps its own day length between time syncs, so lower it headless or in the editor to run a day through quickly. Never zero, freeze time with env.progresstime instead
env.month5(Generated) Gets or sets the current in-game month (1-12); used for seasonal event triggers and calendar display
env.nightlight_brightness0.008
env.nightlight_distance5
env.nightlight_fadefraction0.65
env.oceanlevel0
env.progresstimeTrue(Generated) When enabled, the server advances the in-game time of day automatically; disabling freezes time at its current value
env.redmoonFalse
env.time6.099258(Generated) Gets or sets the current in-game time of day as a decimal hour (0.0-24.0); writing a value immediately jumps the time to that point
env.year1983(Generated) Gets or sets the current in-game year; used for date display and long-running server event tracking

Commands 1

CommandDescription
env.addtime(Generated) Advances the in-game time of day by the specified number of hours; useful for quickly cycling to day or night for testing

Back to the list of all namespaces.

Skip the manual work: install the Panelra agent

Wipes, updates, restarts, plugins and crash alerts for your Rust servers, from one dashboard. One install command on your Linux host, no inbound ports for the agent.

Free during the open beta. Pricing will be announced before the beta ends.