关于
MaxHealth 是一个允许你更改服务器上玩家最大生命值的插件!你不仅可以调整全局生命值,还能为特定玩家设置基础生命值!这个插件对于 RPG 类型服务器非常有用,因为你需要让玩家拥有较高的生命值,以便能够施展各种能力,或者仅仅是希望战斗持续更长时间。
命令
- /health (player) 或 /vh (player) - 查看生命值(以心为单位)
- /sethealth [player] 或 /sh [player] [value] - 设置玩家的生命值(以心为单位)
- /setmax [player] 或 /sm [player] [value] - 设置玩家的最大生命值(以心为单位)
- /mend [player] - 集成命令,可完全治愈玩家或自身(添加此命令是因为使用其他插件的 /heal 命令将无效!)
权限
MaxHealth 为每个命令都设置了权限,除了 /health,该命令默认对所有玩家开放
- MaxHealth.mend - 使用 /mend 的权限
- MaxHealth.setmax - 使用 /setmax 的权限
- MaxHealth.set - 使用 /sethealth 的权限
安装
只需将 MaxHealth.jar 文件拖入你的 plugins 文件夹并重启服务器即可(不建议重载,因为更改是在玩家加入时应用的)。应该会自动为你生成一个可编辑的 config.yml(用于设置)文件和 database.yml(用于存储)文件。
注意:你必须使用 Java JRE7 才能使用此插件!如果你收到 "UnsupportedClassVersionError" 错误,说明你正在使用 JRE6,这就是插件无法工作的原因!
配置
截至目前,MaxHealth 配置文件中仅有一个可配置选项:
- Default Health:这是所有玩家初始拥有的生命值(以心为单位),也是每个玩家的最大生命值(可通过命令更改)。
示例:
Default Health: 100
功能与杂项
我希望保持此插件的最新版本且无 bug。任何错误或漏洞报告都将不胜感激!:)
新功能
- 兼容 /god 命令
- 岩浆伤害现在受此插件影响
- 添加了更多命令,并用 /mend 替代了原有的 /heal 命令
- 完全重构!现在更高效、可靠且易于扩展!
- 简单的盔甲支持!
已知 Bug
- 来自任何其他插件的 /heal 命令实际上无法治愈玩家!请使用 /mend!
- 据我所知,盔甲附魔效果并不起作用
待办事项
- 重新添加等级倍数
- 添加可选的经济支持,允许购买生命值
- 基于聊天的血条或 Spout 支持
- 使怪物的生命值可更改
- 基于权限的生命值系统
致谢与源码
- 插件创意:polkunus
- 创意与测试:gabizou
- 重构概念:bm01
GitHub 源码:Source
About
MaxHealth is a plugin that allows you to change the maximum health of players on your server! You can not only raise and lower the global health, but also set the base health for specific players! This plugin is very useful for RPG type servers where you need to have high health for players so that you can have a wide range of abilities or just want battles to take longer.
Commands
- /health (player) or /vh (player) - Views health (in hearts)
- /sethealth [player] or /sh [player] [value] - Sets the health of a player (in hearts)
- /setmax [player] or /sm [player] [value] - Sets the maximum health of a player (in hearts)
- /mend [player] - Integrated command that will fully heal a player or yourself (added because using another plugin's /heal command will NOT work!)
Permissions
MaxHealth has a permission for each command except for /health, which defaults to all players
- MaxHealth.mend - Permission to use /mend
- MaxHealth.setmax - Permission to use /setmax
- MaxHealth.set - Permission to use /sethealth
Installation
Just drag the MaxHealth.jar file into your plugins folder and restart your server (reloading not recommended as changes are applied as a player joins). An editable config.yml (for settings) file and database.yml (for storage) file should automatically generate for you.
NOTE: You must be using Java JRE7 on your server to use this plugin! If you are getting an "UnsupportedClassVersionError", then you are using JRE6 and that is the reason why the plugin isn't working!
Configuration
As of now, there is only 1 configurable options in MaxHealth config file:
- Default Health: This is the health (in hearts) that all players will start off with AND the maximum health that each player has (can be changed with commands).
Example:
Default Health: 100
Features and Stuff
I hope to keep this plugin up to date and bug free. Any error or bug report is helpful! :)
New Features
- Compatible with /god
- Lava damage now affected by the plugin
- Added more commands and /mend in place of any /heal command
- Complete restructure! Now more efficient, reliable, and expandable!
- Simple armor support!
Known Bugs
- No /heal command from any other plugin will actually heal a player! Use /mend instead!
- Armor enchantments are not effective as far as I know
To-Do
- Re-add level multiplier
- Add optional economy support to allow health to be purchased
- Chat based health bar or Spout support
- Make health of mobs changeable
- Permissions based health
Credits and Source
- Plugin idea: polkunus
- Idea and testing: gabizou
- Restructuring concept: bm01
Source on GitHub: Source
评论 0
登录后参与评分
还没有评论,来抢沙发吧