描述
制作毒苹果。在玩家吃蛋糕时杀死他们。在玩家食用蜘蛛之眼时治疗他们。借助 Custom Health 插件,这些以及更多功能皆可实现。
你可以决定玩家在进食时会发生什么。你可以通过添加药水效果、调整食物恢复或造成伤害的量,以及设定是否点燃玩家来奖励或惩罚他们。
你还可以禁用自动心之回复,最大化可填充的食物栏数量,并将你的服务器转变为经典的 Beta 1.8 发布前的 Minecraft 体验。这些只是你可以用来根据需求自定义服务器的部分可能性。
请注意,此插件仍处于Beta阶段。在过去的重大更新中,配置文件不得不重新进行结构调整,请留意未来版本也可能出现类似情况。如果你发现任何 Bug 或有改进建议与想法,请在下方评论区告知我。
特性
- 禁用食物栏满时的自动回复
- 最大化玩家通过进食可填充的食物栏数量
- 更改玩家拥有的生命值(心)数量(v0.7及以上版本)
- 禁用“食物栏消耗”(玩家永远不会饥饿)
- 玩家死亡并重生时,应用相同的饥饿值格数和/或经验值
- 更改食用食物的机制:
- 恢复的生命值(心)量 (可为负数)
- 补充的食物栏量 (同样可为负数)
- 增加的饱和度量 (也可为负数)
- 添加药水效果 (包括强度、持续时间和概率百分比)
- 添加其他效果 (包括爆炸、给予经验等……完整列表见此处)
- 设为特定于世界,或创建自定义物品
安装设置
将 jar 文件放入 plugins 文件夹后,将会创建目录 "plugins/CustomHealth/worlds",其中包含一个模板配置文件以供使用。如果你不对它进行任何操作,则不会干扰原版机制。
命令与权限
括号中的参数("[amount]")为可选参数,无需指定。
要使用所有权限,你可以使用 customhealth.commands.* 。
官方主命令为 /chealth,别名有 /ch 或 /customhealth。
| 命令 | 权限 | 描述 |
| /ch create [amount] | customhealth.commands.create | 在 worlds 文件夹中创建新的配置文件。命名为 "groupA.yml"、"groupB.yml" 等,直到 "groupZ.yml" |
| /ch set<#> | customhealth.commands.set | 设置手中物品的数据值。可以在游戏中创建自定义物品。 |
| /ch rename <from> <to> | customhealth.commands.rename | 重命名配置文件。末尾不需要包含 ".yml"。 |
| /ch reset | customhealth.commands.reset | 将所有内容重置为原始值。(做出此决定前会询问两次) |
| /ch reload | customhealth.commands.reload | 重载插件。 |
| /ch plugin | customhealth.commands.plugin | 获取有关插件名称、版本、作者、网站的信息,以及是否有可用更新。 |
可以在 config.yml 文件中禁用更新检查!
check-for-updates: false
配置
在此查看完整的配置文件:此处。
阅读更多关于附加效果的信息。
待办事项
已知 Bug
无已知 Bug。请保持此列表更新,并向发送工单报告你发现的任何其他 Bug!
想法
- 自助餐模式
- 权限数值化
- 在世界间分离“库存”
- 欢迎提供你的想法
支持我
面向用户
我希望这个项目拥有活跃的用户,他们会提出添加功能的建议,告诉我他们喜欢什么以及发现了哪些 Bug。
在下一次大型更新中,将添加动态权限系统,我需要有人愿意花费时间测试开发构建版。
对此感兴趣的人可以给我发一封求职信作为私信,包含以下信息:
- 名称(非必填)
- 所在国家/地区
- 您之前是否托管过 Bukkit 服务器?(无论是私人还是公共服务器,作为所有者或管理员,任何涉及插件和权限管理的经历均可)
- 我们该如何保持沟通?(电子邮件、Skype 等,我需要一种方式来向您发送开发构建版本)
感谢任何考虑提供帮助的人士。
针对开发者
我目前并未寻找其他合作开发的程序员,但 源代码 可供所有感兴趣的人免费使用。如果您发现其中存在可改进的问题,可以联系我。
代码尚未完全添加注释,但我正在着手完善。
Description
Create poisonous apples. Kill players when eating cake. Heal them when eating spider eyes. This and much more is possible with the Custom Health plugin.
You can decide, what should happen when someone eats his lunch. It's up to you to reward or punish the players by adding potion effects, change how much the food items should heal or harm him and if he should be set on fire.
You are also able to disable automatic heart regeneration, maximize the amount of food bars that can be filled up and turn your server into a classic, pre-Beta 1.8 released minecraft experience. These are just some of the possibilities you can use in order to customize your server for your own needs.
Note that this plugin is still in its Beta stage. In the past major updates, the configuration file had to be restructured again, be aware that this could happen as well in future releases. If you happen to notice any bugs or have suggestions and ideas for improvements, let me know in the comments below.
Features
- Disable regeneration when food bar is filled up
- Maximize the amount of food bars that the player can fill up through eating
- Change the amount of hearts that the player can have (v0.7 and up)
- Disable "food bar loss" (player will never be hungry)
- Apply the same amount of hunger bars and/or xp when player dies and respawn
- Change mechanics of eaten food items:
- Amount of hearts restored (can be negative)
- Amount of food bars refilled (can be negative as well)
- Amount of saturation added (could also be negative)
- Add potion effects (including strength, duration and chance percentage)
- Add other effects (including explosions, giving xp,... full list here)
- Set it world specific or create custom items
Set Up
When putting the jar file into the plugins folder, the directory "plugins/CustomHealth/worlds" will be created with a template configuration file to work with. If you don't do anything with it, nothing will interfere with the vanilla mechanics.
Commands and Permissions
Arguments in brackets ("[amount]") are optional and don't have to be specified.
To use all permissions, you can say customhealth.commands.* .
The official command at the beginning is /chealth, aliases are /ch or /customhealth.
| Command | Permission | Description |
| /ch create [amount] | customhealth.commands.create | Create new config file in the worlds folder. Calls it "groupA.yml", "groupB.yml", etc. until "groupZ.yml" |
| /ch set<#> | customhealth.commands.set | Set the data value for item in hand. Custom item can be created in-game. |
| /ch rename <from> <to> | customhealth.commands.rename | Rename configuration files. Does not have to include the ".yml" at the end. |
| /ch reset | customhealth.commands.reset | Reset everything to its original value. (asks you twice before making this decision) |
| /ch reload | customhealth.commands.reload | Reload the plugin. |
| /ch plugin | customhealth.commands.plugin | Get information about plugin name, version, author, website and if there's an update available. |
Update checking can be disabled in the config.yml file!
check-for-updates: false
Configuration
Check out the whole configuration file here.
Read more about additional effects.
To Do
Known Bugs
No known bugs. Keep this list updated and send me a ticket for any other bugs you find!
Ideas
- All-you-can-eat
- Values for permissions
- Split "inventories" between worlds
- Your ideas here
Supporting Me
For Users
I like to have active users for this project, who give me suggestions on what to add, tell me what they like and what bugs they find.
For the next large update, there will be a dynamic permission system added and I will need someone who is willing to take the time to test out the development builds.
For anyone interested in this "job" can write an application letter as a private message to me that contains the following information:
- Name (not required)
- Country
- Have you been hosting a bukkit server before? (private or public, owner or admin, anything that included plugin and permission management)
- How are we going to communicate with each other? (e-mails, skype, I need a way to send you the development builds)
Thanks to anyone considering to help.
For Developers
I'm currently not searching for another developer to program with, but the Source code is available for free to anyone interested. You can contact me, if you find some issues in there that could be improved.
It's not fully commented yet, but I'll work on it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧