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 defaultdefaultActionIsQuery: 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
defaultActionIsQueryis set totrue) true- enables PvP for the playerfalse- disables PvP for the playerquery- shows current PvP statequery <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 - Playerblossom.pvp.query.player.disabled: 1 argument - Playerblossom.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 playersblossom.pvp.fail.attacker.keys are used when PvP is disabled only for the attackerblossom.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 ("").