Grace999 1.0.4
on Nov 16, 2025Added
- Global Flag System: A new system to control plugin features globally.
- New command
/grace flag <flagname> <true|false>to set global flags (e.g.,/grace flag pvp false). - Flag states are saved in
grace.ymland persist across server restarts. - New permission
grace.globalflagto control usage of the global flag command.
- New command
Changed
- All Flags Now Work Globally: All existing flags can now be controlled at a global level, acting as a master switch. This includes:
pvpblock-breakingblock-placingmob-damagemob-spawninginvincible-playerscommand-blockingallow-flightitem-dropitem-pickup
- PvP Region Flag: The
pvpflag can now also be applied to specific regions, in addition to being a global flag.
Grace999 1.0.3 The Control Update
on Oct 20, 2025GracePlugin v1.0.3 Changelog
This update introduces several new features and flags to enhance the functionality of the GracePlugin.
New Features
Grace Period Pause and Resume
Admins can now pause and resume the grace period timer. This is useful for server maintenance or other events.
/grace pause: Pauses the grace period timer./grace resume: Resumes the grace period timer.
Command Blocking
A new command-blocking flag has been added to regions. When enabled, this flag will block the commands listed in the blocked-commands section of the config.yml file. This can be used to prevent players from using commands like /home or /tpa to escape combat.
New Region Flags
The following new flags have been added to regions:
allow-flight: When set totrue, players will be allowed to fly in the region, even if they are not in creative mode.item-drop: When set totrue, players will be prevented from dropping items in the region.item-pickup: When set totrue, players will be prevented from picking up items in the region.
New Permissions
grace.pause: Allows players to use the/grace pausecommand.grace.resume: Allows players to use the/grace resumecommand.
New Configuration Options
The config.yml file now includes a blocked-commands list. This list contains the commands that will be blocked when the command-blocking flag is enabled for a region.
blocked-commands:
- home
- tpa
- spawn
Grace999 1.0.2 The Region Update
on Sep 22, 2025Fixed bug where grace period remained active indefinitely if end time was in the past on server restart. Separated auto-start grace duration from the main grace duration to prevent unintended overwrites. Added a BossBar countdown visible to all players during the grace period showing remaining time. Added sound notification (Ender Dragon growl) to all players when the grace period ends. Made mob damage prevention during grace configurable and applied it to safe zones. Implemented per-world grace periods allowing grace to be toggled and configured separately per world. Introduced temporary safe zones with region claiming via /grace tools and /grace claim <name>. Provided special wooden pickaxe and shovel tools for region corner selection, only usable if given by the plugin. Added configurable flags for safe zones: block-breaking, block-placing, mob-damage, mob-spawning, and invincible-players (all disabled by default). Stored safe zone regions and flags persistently in a separate grace.yml file. Added commands to manage safe zones and flags: /grace <regionName> <flag> <true|false>. Improved messaging with action bar timers, titles, and cooldown messages to reduce spam. Added permission checks for all commands and features to ensure proper access control.
Grace999 1.0.1
on Aug 22, 2025Version 1.0.1 - Major Update 🚀 New Features
- Grace Period Persistence Across Server Restarts
Description: Grace period state now persists through server restarts and crashes Implementation: Both graceActive status and graceEndTime are saved to config file Benefit: No more lost grace periods when server restarts unexpectedly 2. Auto-Start on Server Startup
Description: Configurable automatic grace period start when server loads Configuration: auto-start: true/false - Enable/disable auto-start auto-start-duration-seconds: 120 - Duration for auto-started grace period Benefit: Perfect for server resets or scheduled maintenance periods 3. Countdown Broadcast System
Description: Automatic countdown announcements during final 10 seconds Implementation: Broadcasts "Grace ends in X second(s)!" messages Benefit: Players get clear warning before PVP enables 4. Enhanced Entity Protection
Description: Configurable entity blocking system (placeholder) Implementation: Framework for future entity-specific blocking configuration Benefit: Flexible protection beyond just player vs player combat 🐛 Critical Bug Fixes
- Memory Leak Prevention
Issue: HashMap<Player, Long> caused memory leaks as players logged out Fix: Changed to HashMap<UUID, Long> using player UUIDs instead of Player objects Impact: Eliminates memory buildup over time, improves server stability 2. Refined Wolf Protection Logic
Issue: All wolves were protected, including wild wolves unrelated to PVP Fix: Now only protects tamed wolves owned by players Implementation: Uses wolf.isTamed() && wolf.getOwner() instanceof Player checks Impact: More targeted protection that doesn't interfere with normal gameplay 3. Grace State Synchronization
Issue: Potential desync between memory state and saved state Fix: Immediate config save when grace period starts Impact: Prevents state loss between command execution and server shutdown 4. Negative Time Display Prevention
Issue: Grace timer could display negative seconds Fix: Added bounds checking in formatTime() method Impact: Cleaner, more professional time displays 🔧 Technical Improvements
- Enhanced Command Sender Handling
Change: Replaced string-based console detection with ConsoleCommandSender instanceof check Benefit: More reliable and maintainable console command handling 2. Improved Config Management
Change: Reduced unnecessary config saves to prevent overwriting user changes Benefit: Better preservation of custom configuration settings 3. Action Bar Integration
Feature: Grace period remaining time displayed above experience bar Benefit: Constant visual reminder for players during grace period 4. Message Cooldown System
Enhancement: 5-second cooldown on PVP disabled messages Benefit: Prevents message spam when players rapidly attack during grace
GracePlugin V1.0
on Jul 23, 2025the first release



