HomeJavaModsPvPGrace
PvPGrace

[​IMG] PvPGrace
The definitive solution for New Player Protection and Death Cooldowns, complete with Advanced Discord Kill Logging and 'Naked Kill' Tracking.

[HR][/HR]

✅ Features

[HR][/HR]

⚙️ Commands & Permissions

Commands:
Code (Text):

/endgrace - Manually removes the active grace period from the player.
/pvpreload - Reloads the plugin configuration.
 
Permissions:
Code (Text):

# Required to use the reload command
pvpgrace.reload:
    description: Allows a user to reload the plugin configuration.
    default: op
 
[HR][/HR]

️ Configuration (config.yml)
The plugin is highly configurable. Below is the default configuration:

Code (Text):

# Discord Webhook Configuration
discord:
  # Paste your Discord webhook URL here. Keep empty ("") to disable.
  webhook-url: "YOUR_WEBHOOK_URL_HERE"

# Grace Period Settings
grace-period:
  # Duration for new players (in seconds)
  new-player-duration: 600

  # Duration after being killed (in seconds)
  death-duration: 600

  # Grant grace period on every join (not just first join)
  always-on-join: false

  # BossBar settings
  # Available Colors: GREEN, YELLOW, RED, BLUE, PINK, PURPLE, WHITE
  bossbar-color: GREEN
  # The format string for the BossBar title (%d is minutes, %02d is seconds)
  bossbar-format: "§aGrace Period: §f%d:%02d"

# Messages (Supports Color Codes)
messages:
  grace-activated: "§aYou have been granted grace period! Use /endgrace to end it early."
  grace-expired: "§cYour grace period has expired!"
  grace-ended: "§aYour grace period has been ended. You can now engage in PvP!"
  no-grace: "§cYou don't have an active grace period!"
  new-player-grace: "§aWelcome! You have PvP protection for 10 minutes. Use /endgrace to end it early."
  target-protected: "§cThis player is under grace period protection!"
  attacker-protected: "§cYou cannot attack while under grace period! Use /endgrace first."
 
[HR][/HR]

⚠️ Important Notes


Enjoy a more balanced PvP experience!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PvPGrace is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 75 times (via Spigot). Download it and open it directly in the game.

Explore more