HomeJavaMods⭐ hClansPvPAddon [1.16.X-26.X] ⭐ | Addon for plugin hClans
⭐ hClansPvPAddon [1.16.X-26.X] ⭐ | Addon for plugin hClans
ModsJava

⭐ hClansPvPAddon [1.16.X-26.X] ⭐ | Addon for plugin hClans

⬇ Download on Spigot
hClansPvPAddon
Clan Friendly-Fire Control Addon for hClans
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
hClansPvPAddon is an addon for hClans that adds configurable PvP control inside clans.
The addon allows clans to control whether members can damage each other, provides a GUI for changing the PvP state, supports personal PvP rules between specific clan members and blocks friendly fire when clan PvP is disabled.
It also supports projectile and indirect damage checks, world restrictions, configurable messages, clan permission checks and persistent state storage through the hClans database system.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Main Features
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
How It Works
Players open the PvP menu with:
Code (Text):
/clan pvp
If the player is in a clan, the addon opens a configurable GUI. The menu shows the current clan PvP state and allows players with access to switch it.
The addon stores two types of PvP state:
When one clan member tries to damage another, hClansPvPAddon checks the clan state, checks the personal pair state and cancels the damage if PvP is disabled.
────────────────────────────────────────
Clan PvP Toggle
The clan-wide toggle controls the default friendly-fire behavior for clan members.
Default config option:
Code (Text):
settings:
  defaultPvpEnable: false
If a clan has never changed its PvP setting, this value is used as the default state.
────────────────────────────────────────
Personal Member Rules
The GUI can display clan members as player-head items.
A player can click a member item to toggle personal PvP state between themselves and that member.
This allows more precise control than only enabling or disabling PvP for the whole clan.
Available member placeholders include:
Code (Text):
{target}
{targetUuid}
{role}
{pairState}
────────────────────────────────────────
Damage Handling
The addon listens to damage events and checks whether the attacker and victim are in the same clan.
Supported damage handling includes:
If PvP is disabled for the clan or pair, the damage is cancelled.
────────────────────────────────────────
World Restrictions
PvP control can be restricted by world.
Supported modes:
Example:
Code (Text):
settings:
  damage:
    worlds:
      mode: blacklist
      list: []
────────────────────────────────────────
Notifications
The addon can notify the attacker and optionally the victim when friendly fire is blocked.
Notification settings:
Code (Text):
settings:
  damage:
    notify:
      attacker: true
      victim: false
      cooldownMillis: 5000
The cooldown prevents repeated messages from spamming players during combat.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
GUI Configuration
The GUI is configured in:
Code (Text):
plugins/hClansPvPAddon/gui.yml
You can configure:
Default menu title:
Code (Text):
&0ToolRise &8| &0Clan PvP
────────────────────────────────────────
GUI Placeholders
Placeholders available in GUI text and actions:
Code (Text):
{clan}
{state}
{player}
{playerUuid}
{target}
{targetUuid}
{role}
{pairState}
{page}
{pages}
These placeholders can be used in item names, lore and configured actions.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Configuration
Main configuration file:
Code (Text):
plugins/hClansPvPAddon/config.yml
Default structure:
Code (Text):
settings:
  defaultPvpEnable: false
  command:
    visibleInTabComplete: true
    aliases:
      enable:
        - "enable"
      disable:
        - "disable"
  permissions:
    toggle:
      ownerAlwaysAllowed: true
      clan:
        enable: false
        permission: hclanspvp.toggle
  damage:
    enable: true
    projectiles: true
    worlds:
      mode: blacklist
      list: []
    notify:
      attacker: true
      victim: false
      cooldownMillis: 5000
────────────────────────────────────────
Actions
Configurable action sections:
Code (Text):
storageError
notInClan
noPermission
usage
enable
disable
damageCancelledAttacker
damageCancelledVictim
These actions are used for command feedback, permission errors and blocked damage messages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commands
Code (Text):
/clan pvp
/clan pvp enable
/clan pvp disable
/clan pvp opens the PvP control GUI.
/clan pvp enable enables clan member damage.
/clan pvp disable disables clan member damage.
Enable and disable aliases are configurable in config.yml.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Permissions
hClansPvPAddon can use a clan permission from the hClans permission system.
Default configurable clan permission:
Code (Text):
hclanspvp.toggle
By default, clan permission checking is disabled and the clan owner is always allowed to toggle PvP.
Relevant settings:
Code (Text):
settings:
  permissions:
    toggle:
      ownerAlwaysAllowed: true
      clan:
        enable: false
        permission: hclanspvp.toggle
Important: this is a clan permission used by hClans, not a standalone Bukkit command permission.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Requirements
Important: hClansPvPAddon is an addon and requires hClans to work.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Installation
  1. Install hClans.
  2. Place hClansPvPAddon.jar into your server's plugins folder.
  3. Start or restart the server.
  4. Open the generated configuration files.
  5. Configure config.yml and gui.yml if needed.
  6. Restart the server or reload hClans/addons through your normal workflow.
Configuration files:
Code (Text):
plugins/hClansPvPAddon/config.yml
plugins/hClansPvPAddon/gui.yml
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Notes
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.

⭐ hClansPvPAddon [1.16.X-26.X] ⭐ | Addon for plugin hClans is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 22 times (via Spigot). Download it and open it directly in the game.

Explore more