Summary
Test project summary
Description
Reforger Time Utility is a lightweight chat addon for checking the in-game clock, planning around daylight, and allowing players to vote for day or night.
Time Command
Enter !time in public chat to receive a private reply showing:
Current in-game time.
Whether sunrise or sunset is next.
Real-world time remaining until that event.
Current time multiplier.
Example:
Current in-game time: 13:00 | Sunset in 42m 18s real time | Time multiplier: 6x speed
The command remains visible in public chat, but the response is shown only to the player who requested it.
Each request reads the server’s current simulated date, time, sunrise, sunset, and time progression. The addon adds no HUD and does not change the time multiplier or weather.
Day and Night Voting
Time voting is disabled by default. The server host or an authorized server admin can enable it with:
!voteon
Once enabled, any connected player can start or join a vote:
!voteday — vote to set the clock to midday.
!votenight — vote to set the clock to midnight.
The player who starts a vote is automatically counted in favour. Other players vote by entering the matching command within 60 seconds.
A strict majority of players present when the vote begins is required. There is no separate “no” command—players oppose a proposal by not voting. Players who join after a vote begins cannot participate in that vote.
All connected players receive the vote announcement and final result.
Admin Commands
!voteon — enable time voting.
!voteoff — disable voting and cancel any active vote.
!votecooldown <minutes> — set vote cooldowns between 1 and 60 minutes.
!clearcooldown — clear all active vote cooldowns.
Default cooldowns:
45 minutes before the same player can propose another vote.
60 minutes after a successful vote.
5 minutes after a failed vote.
Voting resets to disabled when a new server session or world begins.
Server Setup
Add Reforger Time Utility to the server’s mod list. Connecting clients must load the same addon.
Compatibility
Designed for scenarios using Reforger’s standard time-and-weather system with uniform time progression.
Real-time countdowns may be inaccurate when another mod dynamically changes time acceleration, such as using different speeds for daytime and nighttime.
When time progression is disabled, !time displays the current time and marks the real-time countdown as unavailable.
Voting can reposition a frozen game clock to midday or midnight, but it does not resume or alter time progression.
License
Arma Public License (APL)