Peace Time

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

File Details

v1.2.1

  • R
  • Apr 7, 2026
  • 27.35 KB
  • 48
  • 1.20.1
  • Forge

File Name

peacetime-1.2.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:peace-time-1485045:7889030")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

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.