Download BlossomPVP — Minecraft Mods — MetaMods

BlossomPVP

Active

Downloads

0

Last update

3 months ago

Versions

1.19.4 — 1.21.6
Server
Fabric
Quilt
Weapons and armor
Game mechanics
Social

BlossomPVP

BlossomPVP is a Minecraft Fabric mod that belongs to the Blossom series of mods and adds the /pvp command for managing PvP mode between players.

Dependencies

Required for the mod to function:

  • BlossomLib (mandatory)
  • fabric-permissions-api or LuckPerms (optional)

Configuration Settings

The configuration file is automatically created after the first server startup with the installed mod and is located at config/BlossomMods/BlossomPVP.json.

Main configuration parameters:

  • enabledByDefault: boolean value - determines whether PvP is enabled for all players by default
  • defaultActionIsQuery: boolean value - determines command behavior when executed without parameters (query state or toggle mode)

Commands and Permissions

The main /pvp command allows managing PvP state. Default permission: blossom.pvp (available to everyone).

Command usage options:

  • Without parameters - toggles PvP state (or shows current state if defaultActionIsQuery is set to true)
  • true - enables PvP for the player
  • false - disables PvP for the player
  • query - shows current PvP state
  • query <player> - shows PvP state of the specified player (permission: blossom.pvp.query-player)

Translation Keys

Main localization keys with available arguments:

  • blossom.pvp.query.player.enabled: 1 argument - Player
  • blossom.pvp.query.player.disabled: 1 argument - Player
  • blossom.pvp.fail.both.attacker: 1 argument - Player who was attacked (defender)
  • blossom.pvp.fail.both.defender: 1 argument - Player who attacked (attacker)
  • blossom.pvp.fail.attacker.attacker: 1 argument - Player who was attacked (defender)
  • blossom.pvp.fail.attacker.defender: 1 argument - Player who attacked (attacker)
  • blossom.pvp.fail.defender.attacker: 1 argument - Player who was attacked (defender)
  • blossom.pvp.fail.defender.defender: 1 argument - Player who attacked (attacker)

Usage notes for error keys:

  • blossom.pvp.fail.both. keys are used when PvP is disabled for both players
  • blossom.pvp.fail.attacker. keys are used when PvP is disabled only for the attacker
  • blossom.pvp.fail.defender.* keys are used when PvP is disabled only for the defender

To disable sending any of the error keys, their value can be set to an empty string ("").

Project members
CodedSakura

CodedSakura

Developer

Created: 5 Jul 2023

ID: 7861