promotional bannermobile promotional banner

Peace Time

Allows enabling no‑PvP days. When the selected time ends, PvP is automatically reactivated for all players.
Back to Files

v1.2.1

File namepeacetime-1.2.1.jar
Uploader
yuseflcyuseflc
Uploaded
Apr 7, 2026
Downloads
72
Size
27.3 KB
Mod Loaders
Forge
File ID
7889030
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:peace-time-1485045:7889030")

Learn more about Curse Maven

What's new

v1.2.1

Debug Logging Control
Added a new configuration option to control debug logging output. The mod no longer floods the console with debug logs by default, making it production-server friendly. Server administrators can enable debug logging if needed for troubleshooting.

New Debug Configuration Option
A new enableDebugLogging setting has been added to peacetime-common.toml (defaults to false). When enabled, the mod logs detailed information about peace time calculations every second. Perfect for development and troubleshooting, disabled by default for clean production logs.

Cleaner Console Output
Production servers can now run Peace Time without debug message spam. The console remains clean and focused on important information unless you explicitly enable debugging through the configuration file.

Backward Compatible
All existing features and commands remain unchanged. The debug logging feature is purely optional and doesn't affect any mod functionality or player experience.

This mod has no additional files