BlossomPVP is a Minecraft Fabric mod in the Blossom-series mods that provides /pvp command
- BlossomLib
- fabric-permissions-api / LuckPerms / etc. (Optional)
This mod's config file can be found at config/BlossomMods/BlossomPVP.json
, after running the server with
the mod at least once.
enabledByDefault
: boolean - whether PVP is enabled for all players by default
defaultActionIsQuery
: boolean - whether the command, when executed with no parameters, queries or toggles PVP
/pvp
- toggles PVP state; ifdefaultActionIsQuery
istrue
, gets PVP state instead
Permission:blossom.pvp
(default: true)true
- enables PVPfalse
- disabled PVPquery
- gets current PVP state<player>
- gets PVP state of player Permission:blossom.pvp.query-player
(default: true)
Only keys with available arguments are shown, for full list, please see
src/main/resources/data/blossom/lang/en_us.json
blossom.pvp.query.player.enabled
: 1 argument - Playerblossom.pvp.query.player.disabled
: 1 argument - Playerblossom.pvp.fail.both.attacker
: 1 argument - Player, who got attacked (defender)blossom.pvp.fail.both.defender
: 1 argument - Player, who attacked (attacker)blossom.pvp.fail.attacker.attacker
: 1 argument - Player, who got attacked (defender)blossom.pvp.fail.attacker.defender
: 1 argument - Player, who attacked (attacker)blossom.pvp.fail.defender.attacker
: 1 argument - Player, who got attacked (defender)blossom.pvp.fail.defender.defender
: 1 argument - Player, who attacked (attacker)
Notes:
blossom.pvp.fail.both.attacker
andblossom.pvp.fail.both.defender
are returned when both the attacker and defender have PVP disabled;blossom.pvp.fail.attacker.attacker
andblossom.pvp.fail.attacker.defender
are returned when only the attacker has PVP disabled;blossom.pvp.fail.defender.attacker
andblossom.pvp.fail.defender.defender
are returned when only the defender has PVP disabled.
To disable any of the blossom.pvp.fail.*
keys from being sent, they can be set to an empty string (""
).