
Peace Time
Allows enabling no‑PvP days. When the selected time ends, PvP is automatically reactivated for all players.
Список изменений
v1.2.0
PvP Scheduling System Peace Time now includes an automatic cycling system for peace and war phases. Configure repeating cycles (e.g., X days of peace followed by Y days of war) that repeat indefinitely.
New Schedule Commands Three new commands under /peacetime schedule enable complete control over the scheduling system. Start cycles with /peacetime schedule enable, monitor progress with /peacetime schedule status, and disable with /peacetime schedule disable.
Automatic Phase Transitions Peace and war phases transition automatically based on elapsed time. The system intelligently manages phase changes without manual intervention or server restarts required.
Persistent Scheduling State Schedule configuration is automatically saved and restored across server restarts. Your cycle settings remain unchanged even after the server goes offline.
Enhanced Time Tracking The scheduling system inherits the robust time handling from the base mod. It correctly handles /time commands and player sleeping without interrupting the cycle.
Configuration Options Three new configuration settings allow you to customize default scheduling behavior. Control enableScheduling, schedulePeaceDays, and scheduleWarDays through the peacetime-common.toml file.
Backward Compatible All existing commands (/peacetime set, /peacetime get, /peacetime reset) continue to work without changes. The scheduling feature is completely optional and works alongside the traditional timer system.
