介绍
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 ("").
常见问题
BlossomPVP 支持哪些 Minecraft 版本?
BlossomPVP 支持 Minecraft Java 版 1.19.4–26.3,共 23 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。
BlossomPVP 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
CodedSakura 的其他作品
查看全部 →BlossomLib
Library mod for Blossom-series Fabric mods
BlossomTpa
Blossom-series /tpa command and utilities
FabricTPA
A server-side Fabric mod that adds /tpa command-set
BlossomHomes
Blossom-series /home command and utilities
评论
登录后评论和评分