WheatHeal
当前版本:2.0.1,支持 CB#1185-CB#1318
是否曾想过治愈你的朋友?现在你可以使用 WheatHeal 来实现!
此插件允许玩家通过使用食物左键点击来互相治疗。治疗值可自定义,且每种食物的启用/禁用状态可单独设置。支持多种权限插件。
支持的食物:
- 小麦(若启用,也可治疗自己)
- 生猪肉
- 熟猪肉
- 生鱼
- 熟鱼
- 面包
- 曲奇
- 苹果
- 金苹果
- 蘑菇汤
- 红蘑菇和褐蘑菇
- 鸡蛋
安装方法:
一如既往,将 WheatHeal.jar 放入你的 plugins 目录并启动 Bukkit。它无需初始配置即可正常工作。然而,若要更改每种食物的治疗量,请编辑插件文件夹中的 WheatHeal/config.yml。在那里,你还可以选择启用哪些食物,以及使用哪个权限插件。示例配置如下:
配置说明:
Foods:
Bread:
healValue: 3
enable: true
GoldenApple:
healValue: 20
enable: true
Cookie:
healValue: 7
enable: true
MushroomStew:
healValue: 10
enable: true
Apple:
healValue: 5
enable: true
CookedFish:
healValue: 8
enable: true
Wheat:
healValue: 3
enable: true
selfHeal: true
RawPork:
healValue: 3
enable: true
RawFish:
healValue: 4
enable: true
CookedPork:
healValue: 8
enable: true
Cake:
healValue: 10
enable: true
BrownMushroomStew:
healValue: 6
enable: true
RedMushroomStew:
healValue: 7
enable: true
MaxHealth: 20
DirectHeal: false
Permissions:
useBukkit: false
Tools:
Wool:
id: 35
type: 1
healValue: 5
damageTaken: 4
命令:
Quote:/wh reload - 重新加载配置文件
Quote:/wh restore - 恢复 WheatHeal 配置的默认值
Quote:/wh version - 显示已安装的 WheatHeal 版本
Quote:/wh get [food] - 显示某食物是否启用及其治疗量。名称 区分大小写,请参考配置文件了解每个食物的具体调用名称。
Quote:/wh edit [food] [amount || true|false] - 启用或禁用某食物的治疗功能,或设置该食物的治疗量。
权限:
支持的权限插件:
- PermissionsBukkit
- PermissionsEx
- Permissions 2.x/3.x
| '*' 节点 | 描述 |
| WheatHeal.* | 授予所有权限节点 |
| 单个节点 | |
| WheatHeal.heal | 允许玩家治疗其他玩家 |
| WheatHeal.reload | 允许使用 '/wh reload' 命令 |
| WheatHeal.restore | 允许使用 '/wh restore' 命令 |
| WheatHeal.get | 允许使用 '/wh get' 命令 |
| WheatHeal.edit | 允许使用 '/wh edit' 命令 |
| WheatHeal.version | 允许使用 '/wh version' 命令 |
|
如果未安装任何权限插件,则所有命令仅限 OP(管理员)使用,但任何人都可以治疗其他玩家!
下载 & 源码:
下载
GitHub 上的源代码
更新日志:
- 版本 2.0.1
- 版本 2.0
- 添加了工具!按照方向说明在配置文件中创建它们,即可获得个性化的治疗工具!
- 支持 MC 1.8,现在默认情况下食物会提供饱食度,但你仍可通过更改相应的配置节点回到旧版行为。
- 版本 1.2
- 修复了 API,即将推出关于如何接入的教程。
- 配置文件已添加注释!要获取最新版本,你需要删除旧的 config.yml 文件。
- 版本 1.1
- 添加了通过投掷鸡蛋进行治疗的功能
- 添加了基本的 API 函数
- 添加了使用小麦进行自我治疗的功能
- 添加了 edit、get 和 restore 命令
- 版本 1.0
- 新增权限!现在你需要拥有 wheatheal.heal 权限才能进行治疗!
- 修复了使用单一物品进行无限治疗的问题
- 版本 0.4
- 添加了牛奶、鸡蛋、糖和甘蔗
- 修复了 0.3 版本中的多个错误
- 版本 0.3
- 版本 0.2
- 添加了猪肉、鱼、面包、曲奇饼干、苹果和蘑菇汤。
- 蘑菇汤会返还碗
- 添加了 "/wh reload" 命令
- 配置文件现在可以控制哪些食物被使用以及它们的治疗效果。
- 现在你不能将生命值恢复到超过十颗心
- 添加了权限/Bukkit 权限支持
- 版本 0.1
WheatHeal
Current Version: 2.0.1 supports CB#1185-CB#1318
Ever wished you could heal your friends? Now you can with WheatHeal!
This plugin allows players to heal each other by left clickng with food, which can have customisable heal values and can be en-/disabled seperately. Supports multiple permissions plugins.
Featured foods:
- Wheat (healing others and yourself if enabled)
- Pork
- Cooked Pork
- Fish
- Cooked Fish
- Bread
- Cookie
- Apple
- Golden apple
- Mushroom stew
- Red and Brown Mushrooms
- Egg
Installation:
As always, put WheatHeal.jar in your plugins directory, and start Bukkit. It should work without any initial configuration. To change how much each food heals, however, edit WheatHeal/config.yml in your plugins folder. there you can also choose which foods are enabled, as well as which Permissions plugin to use. An example Configuration:
Configuration:
Foods:
Bread:
healValue: 3
enable: true
GoldenApple:
healValue: 20
enable: true
Cookie:
healValue: 7
enable: true
MushroomStew:
healValue: 10
enable: true
Apple:
healValue: 5
enable: true
CookedFish:
healValue: 8
enable: true
Wheat:
healValue: 3
enable: true
selfHeal: true
RawPork:
healValue: 3
enable: true
RawFish:
healValue: 4
enable: true
CookedPork:
healValue: 8
enable: true
Cake:
healValue: 10
enable: true
BrownMushroomStew:
healValue: 6
enable: true
RedMushroomStew:
healValue: 7
enable: true
MaxHealth: 20
DirectHeal: false
Permissions:
useBukkit: false
Tools:
Wool:
id: 35
type: 1
healValue: 5
damageTaken: 4
Command(s):
Quote:/wh reload - Reloads the configuration file
Quote:/wh restore - Restores the default values of the WheatHeal configuration
Quote:/wh version - Displays the installed version of WheatHeal
Quote:/wh get [food] - Displays if a food is enabled and for what it heals. Names are *CaseSensitive, refer to the config how each is called.
Quote:/wh edit [food] [amount || true|false] - En-/Disables healing with a food or sets the amount a food heals.
Permissions:
Supported PermissionsPlugins:
- PermissionsBukkit
- PermissionsEx
- Permissions 2.x/3.x
| '*' node | Description |
| WheatHeal.* | Grants all permissions nodes |
| Single nodes | |
| WheatHeal.heal | Allows players to heal other players |
| WheatHeal.reload | Allows usage of the '/wh reload' command |
| WheatHeal.restore | Allows usage of the '/wh restore' command |
| WheatHeal.get | Allows usage of the '/wh get' command |
| WheatHeal.edit | Allows usage of the '/wh edit' command |
| WheatHeal.version | Allows usage of the '/wh version' command |
|
If no permission plugin is installed all the commands are OP only and everyone can heal other players!
Download & Source:
Download
SourceCode at GitHub
Changelog:
- Version 2.0.1
- Version 2.0
- Added tools! Create them in the conf by the specifications of the directions, and have personalised healing tools!
- MC 1.8 Support, it now feeds people by default, though you can still go back to the old methods byt changeing the correct conf Node.
- Version 1.2
- Fixed API, will be creating a tutorial for hooking in very soon.
- Annotated conf! To get the latest version you will need to delete your old config.yml file.
- Version 1.1
- Added healing with thrown eggs
- Added basic API functions
- Added Selfhealing with wheat
- Added edit, get and restore commands
- Version 1.0
- New permission! To heal you now must have the wheatheal.heal permission!
- Fixed infinite heal wwith one item
- Version 0.4
- Added Milk, eggs, sugar, and sugarcane
- Fixed a bunch of errors in 0.3
- Version 0.3
- Added Cake and Mushrooms
- Small fixes
- Version 0.2
- Added Pork, fish, Bread, Coookies, Apples, and Mushroom Soup.
- Mushroom Soup returns a bowl
- Added "/wh reload" command
- Config file now has controll over which foods are used and what they heal.
- You cannot heal people beyond ten hearts now
- Added permissions/Bukkit Permissions support
- Version 0.1
评论 0
登录后参与评分
还没有评论,来抢沙发吧