Hardcore Lives Plugin

作者:galennare00 发布时间:2020年5月25日 原生版本:未知 测试支持:1.12,1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20

硬核、机械、挑战

点此下载

插件详细介绍

🎮 HardcoreLivesPlugin

HardcoreLivesPlugin 是一个允许在生存服务器上为玩家设置有限生命值的插件。只需将 jar 文件放入插件文件夹即可使用。注意:服务器不能在硬核模式下运行,否则玩家死亡时会被自动封禁,插件将失效。

📝 命令

  • /hl - 显示帮助信息
  • /hl lives - 查看自己的生命值
  • /hl scoreboard - 切换生命值计分板
  • /hl lives buy <number> - 以配置价格购买生命值(需要 Vault)
  • /hl lives sell <number> - 以配置价格出售生命值(需要 Vault)
  • /hl lives give <player> <number> - 将生命值转移给其他玩家
  • /hl lives <player> - 查看其他玩家的生命值
  • /hl resetAll - 重置所有玩家数据和生命值
  • /hl reload - 重新加载插件配置
  • /hl reset <player> - 重置指定玩家的数据
  • /hl config <key> <value> - 修改配置文件中的键值
  • /hl setLives <player> <lives> - 设置玩家的剩余生命值
  • /hl scoreboardSlot <SIDEBAR/PLAYER_LIST/BELOW_NAME> - 更改计分板显示位置(服务器范围内生效)
  • /hl save - 手动保存所有玩家数据
  • /hl autosave <number> <TimeUnit> - 设置自动保存间隔时间

⚙️ 配置


startingLives: 3
allowTotemOfUndying: true
spectateWhenNoMoreLives: true
autosaveInterval: 5
autosaveUnit: MINUTES
allowBuyingLives: true
allowSellingLives: true
allowGivingLives: true
lifeBuyPrice: 10.0
lifeSellPrice: 5.0
scoreboardDisplaySlot: SIDEBAR
loseLifeOnPvpOnly: false

🔒 权限

  • hardcorelives.lives.others
  • hardcorelives.lives.buy
  • hardcorelives.lives.sell
  • hardcorelives.lives.give
  • hardcorelives.reset
  • hardcorelives.resetAll
  • hardcorelives.scoreboard
  • hardcorelives.scoreboard.manage
  • hardcorelives.reload
  • hardcorelives.config
  • hardcorelives.setLives
  • hardcorelives.bypass
  • hardcorelives.save
  • hardcorelives.autosave

📝 占位符

  • %hardcorelivesplugin_lives% - 当前生命值
  • %hardcorelivesplugin_max_lives% - 最大生命值

ℹ️ 其他信息

拥有 OP 权限的玩家即使生命值为零也不会被强制进入旁观模式。重置或手动覆盖玩家生命值不会改变其游戏模式,请使用 /gamemode survival 进行切换。如有问题或建议,请联系 contact-project+gnare-hardcorelivesplugin-18957890-issue-@incoming.gitlab.com。发现 Bug 请使用 Bug 报告模板 提交问题。