Peace Time

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

File Details

v1.0.0

  • R
  • Mar 16, 2026
  • 24.11 KB
  • 12
  • 1.20.1
  • Forge

File Name

peacetime-1.0.0.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

v1.0.0

Implemented the "Peace Time" system

Operates across all dimensions (Overworld, End, Nether, and custom dimensions).

Initialization and Management

Initialized on server start and managed on server ticks with multi-dimension support.

Server Commands

Added comprehensive server commands to control Peace Time with real-time duration calculations.

Configurable Options

• Enable/disable Peace Time feature
• Reset on server start
• Customize duration (0-10,000 Minecraft days)
• Configure boss bar visibility and appearance
• Customize warning messages and reminders

PvP Control

Automatically disables friendly fire during Peace Time periods across all dimensions.

Visual Feedback

Boss bar indicates Peace Time status with real-life time conversion (hours, minutes, seconds).

Time Tracking

• Cumulative time tracking that accounts for player sleep
• Persistent save/load system for server restarts
• Multi-dimension synchronization using Overworld as reference

Technical Implementation

Core logic runs server-side; client contains minimal hooks for rendering the boss bar.