BlossomPVP
BlossomPVP is a Minecraft Fabric mod in the Blossom-series mods that provides /pvp command
Table of contents
Dependencies
- BlossomLib
- fabric-permissions-api / LuckPerms / etc. (Optional)
Config
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
Commands & their permissions
/pvp- toggles PVP state; ifdefaultActionIsQueryistrue, 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)
Translation keys
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.attackerandblossom.pvp.fail.both.defenderare returned when both the attacker and defender have PVP disabled;blossom.pvp.fail.attacker.attackerandblossom.pvp.fail.attacker.defenderare returned when only the attacker has PVP disabled;blossom.pvp.fail.defender.attackerandblossom.pvp.fail.defender.defenderare 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 ("").
Details
Licensed MIT
Published 2 years ago
Updated a month ago
