nPvP
PluginLicenseRef-All-Rights-Reserved

nPvP

nPvP – PvP Management Plugin with Region Support

52
Downloads
1
Followers
6 months ago
Updated
📦
2
Versions

📖About nPvP

nPvP - PvP Management Plugin with Region Support

📋 Description
A plugin for managing player PvP mode with enable/disable functionality, WorldGuard region support, status saving in an SQLite database, and PlaceholderAPI integration.

Main Features

  • /pvp command — toggles PvP mode for the player
  • Automatic PvP enabling in specified worlds and WorldGuard regions
  • Saves PvP status in an SQLite database between sessions
  • Damage protection when PvP is disabled
  • PlaceholderAPI integration for status display
  • Colorful messages with color code support

🎮 Commands

  • /pvp — toggle PvP mode (requires permission npvp.toggle)

🔐 Permissions

  • npvp.toggle — allows using the /pvp command (default: true)
  • npvp.admin — administrative permission (default: op)

🏰 WorldGuard Region Support

  • Automatically enables PvP in specified regions
  • Disables the ability to turn PvP off in those regions
  • Fully configurable

📊 PlaceholderAPI Placeholders

%npvp_status% — shows the PvP status (Enabled/Disabled)

%npvp_enabled% — shows true/false PvP status

⚙️ Configuration Example

always-pvp-worlds:
  - "duel"

pvp-regions:
  - "pvp"
  - "example_region"

messages:
  only-players: "&c&lPvP &8▪ &cThis command is only available to players!"
  always-pvp-world: "&c&lPvP &8▪ &cPvP is always enabled in this world and cannot be changed!"
  always-pvp-region: "&c&lPvP &8▪ &cPvP is always enabled in this region and cannot be changed!"
  pvp-enabled: "&a&lPvP &8▪ &aPvP enabled! You can now attack and be attacked by other players."
  pvp-disabled: "&c&lPvP &8▪ &cPvP disabled! You are protected from other players’ damage."

placeholder:
  enabled: "&aOn"
  disabled: "&cOff"

🔧 Requirements

  • Paper 1.21.4+
  • Java 21+
  • PlaceholderAPI (optional, for placeholders)
  • WorldGuard (optional, for region support)