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.0.0

File namepeacetime-1.0.0.jar
Uploader
yuseflcyuseflc
Uploaded
Mar 16, 2026
Downloads
12
Size
24.1 KB
Mod Loaders
Forge
File ID
7766047
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

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.

This mod has no additional files