跳到正文

BlossomPVP

作者:CodedSakura

Blossom-series /pvp command

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

BlossomPVP

BlossomPVP is a Minecraft Fabric mod in the Blossom-series mods that provides /pvp command

Table of contents

Dependencies

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; if defaultActionIsQuery is true, gets PVP state instead Permission: blossom.pvp (default: true)
  • true – enables PVP
  • false – disabled PVP
  • query – 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 – Player
  • blossom.pvp.query.player.disabled: 1 argument – Player
  • blossom.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 and blossom.pvp.fail.both.defender are returned when both the attacker and defender have PVP disabled;
  • blossom.pvp.fail.attacker.attacker and blossom.pvp.fail.attacker.defender are returned when only the attacker has PVP disabled;
  • blossom.pvp.fail.defender.attacker and blossom.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 ("").

常见问题

BlossomPVP 支持哪些 Minecraft 版本?

BlossomPVP 支持 Minecraft Java 版 1.19.4–26.3,共 23 个版本,可用的加载器:Fabric / Quilt。下载时注意选择和你游戏版本一致的文件。

BlossomPVP 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

CodedSakura 的其他作品

查看全部 →