HPByLevel 图标

HPByLevel

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/hpbylevel
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5

平台: spigot

标签: adventure utility

资源介绍

HPByLevel ICON

HPByLevel is a lightweight, customizable Spigot plugin that dynamically adjusts a player's maximum health based on their current experience level. All level ranges and HP values are fully configurable via config.yml

Features

  • Dynamically adjusts max health as a player gains or loses levels
  • Supports configurable level ranges (e.g., 0-4, 5-9, 30, etc.)
  • Automatically caps current health if it exceeds the new maximum
  • Includes commands for:
    • Reloading the config without restarting
    • Displaying the active HP level configuration
  • Includes permission support for both players and admins
  • Safe validation: Config errors are caught and logged (invalid configs will not be applied)

Commands

  • /hpbl reload
    • Reloads the config and reapplies HP hpbl.command.reload or hpbl.admin
  • /hpbl info
    • Shows the current HP level settings hpbl.command.info

Permissions

  • hpbl.command.info
    • Allows use of /hpbl info
    • Default : true
  • hpbl.command.reload
    • Allows use of /hpbl reload
    • Default : op
  • hpbl.admin
    • Full access to admin commands
    • Default : op

Dev Notes

  • You must define the levels section in config.yml; if it's missing or invalid, the plugin will not apply changes and will log an error.
  • If /hpbl reload is used with a bad config (bad syntax, missing keys, invalid formats), the system will not overwrite the previous working state.
  • You can safely modify and reload config.yml in production without restarting the server.
  • Plugin uses Bukkit’s built-in Attribute system — compatible with all standard Minecraft entities.

Installation

  1. Download HPByLevel.jar
  2. Place into your server's /plugins directory
  3. Start or reload the server
  4. Edit config.yml to define your desired level-to-HP mappings
  5. Use /hpbl reload to apply changes without restarting
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Tillage

价格:0 墨喵币
下载量:0

查看详情
Astral Sky Overlay

价格:0 墨喵币
下载量:0

查看详情
Wheel Jump

价格:0 墨喵币
下载量:0

查看详情
RoadArchitect

价格:0 墨喵币
下载量:0

查看详情