"PermissionsHealth - 改变你的游玩方式"
关于
PermissionsHealth 已优化!
是否曾想过创建一个 RPG 服务器,并为每个职业设置不同的生命值,例如坦克拥有 40 点生命,弓箭手拥有 15 点生命?现在你可以实现了!
PvP 战斗太短?20 点生命值不够看?那就改变它吧!
PermissionsHealth 让你可以更改这一切。只需将 Permissions 节点添加到组/职业/种族/阵营即可,还需要我说得更明白吗?
哦差点忘了,PermissionsHealth 不仅允许你修改生命值,还允许你在配置文件中将其设置为任意值——没错,你想要 1000 点生命值?那就去设置吧!
功能 2.1
- 为 Permissions 中定义的组/职业/阵营/种族自定义生命值
- 轻量级
- 易于使用
- 自定义权限节点
- 支持在游戏中添加节点
- 现在可以在游戏中直接更改节点的生命值
- 生命值恢复比例(请参阅配置文件)
示例
在这张照片中,我使用了 HealthDisplay 来展示生命值变更的效果。
视频
感谢 Reoss 在 YouTube 上展示 PermissionsHealth,zockkingLP =)
如果你有喜欢的视频想要提交,请私信我或在评论中留言。如果视频展示了该插件或演示了如何完全使用它,我很乐意将其添加进来 =)
配置
PermissionsHealth 焕然一新,请查看新的 配置页面。
命令
| 命令 | 权限 | 描述 |
| /phr | phadmin.reload | 重新加载配置 |
| /ph reload | phadmin.reload | 重新加载配置 |
| /phh | phadmin.heal | 用于完全治愈你自己 |
| /phh <player> | phadmin.heal | 用于完全治愈一名玩家 |
| /pheal | phadmin.heal | 用于完全治愈你自己 |
| /pheal <player> | phadmin.heal | 用于完全治愈一名玩家 |
| /ph heal | phadmin.heal | 用于完全治愈你自己 |
| /ph heal <player> | phadmin.heal | 用于完全治愈一名玩家 |
| /ph hp | phadmin.showhp | 用于查看你当前的生命值 |
| /ph hp <player> | phadmin.showhp | 用于查看目标当前的生命值 |
| /php | phadmin.showhp | 用于查看你当前的生命值 |
| /php <player> | phadmin.showhp | 用于查看目标当前的生命值 |
| /ph add <node_name > <healthvalue> | phadmin.add | 向配置中添加一个新的节点 |
| /ph update <node_name> <healthvalue> | phadmin.update | 更新配置中节点的数值 |
| |
[注意:ophealth 和 defaulthealth 必须在配置文件中更改,目前还没有针对它们的命令;HealthRegainScale 也是如此]
权限
权限数量不限,但必须以 "permissionshealth." 开头,例如:
permissionshealth.mynewpermission
permissionshealth.hello_kitty
permissionshealth.best_class_ever
权限名称中的任何点号都会被替换为下划线。当你在游戏中输入 /ph add level.1 30 时,它会变成这样:
permissionshealth.level_1
权限插件说明:
在处理继承关系时,请查阅 权限继承。
推荐插件
你有(或知道)某个你认为与 Permission Health 配合良好的插件,并希望它出现在这里吗?请在下方留下评论并提供链接以便我查看 =)
权限插件
zpermissions (未测试)
yapp (已测试)
permissionsranks (未测试)
grouppermslite (未测试)
permissionsex (已测试)
permbukkit (未测试)
TotalPermissions (未测试)
BPermissions (已测试)
DroxPerms (未测试)
XPerms (未测试)
如果您正在使用上述权限插件之一并确认其可用,请告诉我 =D
PermissionHealth 应该能与所有这些插件兼容,但我仍希望将其纳入支持列表。
可选插件
任何涉及在聊天中显示生命值的插件都可能导致大量刷屏或拖慢服务器性能。请自行测试,如果对您有效那就太好了。
当前构建版本
- Craftbukkit 1.5.1-R0.3 #2760
- Bukkit 1.5.1-R0.3 #1756
- Java 6
安装说明
- 下载 PermissionsHealth.jar
- 将其拖放到您的 /plugins 文件夹中
- 启动服务器一次以生成 config.yml 配置文件
- 配置您的配置文件,按需修改生命值设置。
- 打开您使用的权限插件,将相应节点添加到您希望拥有该权限的组别中。
- 准备就绪!
卸载说明
在您直接移除 PermissionsHealth 之前:
- 确保所有玩家都已退出服务器,这样可以确保
- 他们在登出时生命值被设置为 20
- 之后移除 PermissionsHealth
- 当玩家重新加入服务器时,他们将处于临时无敌状态
- 要解除这种状态,只需对他们使用治疗指令或对他们投掷一瓶溅射型治疗药水即可
其他插件冲突
- PermissionsHealth 可能与显示 ASCII 风格血条的插件存在冲突。(已测试) 如果是通过聊天显示生命值,则可能会给您和其他用户造成刷屏问题,并出现在聊天记录中。
- PermissionsHealth 可能与设置最大生命值的插件存在冲突。(已测试) 由于为了防止生命值异常或滥用而设置了相关事件监听器,其他允许设置生命值的插件将不再生效。这些事件包括:PlayerJoinEvent(玩家加入)和 InventoryCloseEvent(背包关闭),它们会将生命值设置为配置中的数值。(实现 InventoryCloseEvent 是为了在玩家获得新权限节点或在游戏内更改 GuestHealth 时更新生命值。)现在,PlayerKickEvent(玩家被踢)和 PlayerQuitEvent(玩家退出)会将玩家的生命值设为 20。这样做的目的是,如果插件被移除,玩家不会保留从该插件获得的额外生命值。
- 刚与 GarbageMule 沟通了修复 Mob Arena 插件中生命值的问题,在他的下一个更新中,加入 MobArena 时将完全恢复生命值 =)
Bug?
/ph reload 命令会显示 执行此命令时发生内部错误。这仅发生在您将配置文件中的生命值调高后再调低,然后输入 reload 命令时。但不用担心,尽管会出现该错误提示,我们已添加了一个小 workaround(变通方案),因此当您看到此错误时请放心,该命令实际上已成功执行。
运行 PermissionsHealth 的服务器
您的服务器是否正在运行 PermissionsHealth?如果是,请提供地址,我会将其添加到此列表中 =)(注意:我只能添加处于在线模式下的服务器。)
支持横幅
您的插件是否支持 Permissions Health?或者您想向其他人展示您正在使用 Permissions Health,这里有一个小横幅 =D

"PermissionsHealth - change the way you play"
About
PermissionsHealth optimized!
Ever wanted to make a RPG server and have each class have it's own HP, like a Tank that has 40 health
or a Archer with 15 health? Well now you can!
PvP Fights too short? 20 health just not cutting it? Well change that!
PermissionsHealth lets you change all that just add the Permissions node to the group/classes/races/factions do I need say more?
Oh almost forgot, PermissionsHealth not only lets you change the Health but set it to whatever you want in the config -
that's right, you want 1000 Health? Well DO IT!
Features 2.1
- Custom Health for Groups/Classes/Factions/Races that you have in your Permissions
- Lightweight
- Easy to use
- Custom permission nodes
- Ability to add nodes in-game
- Now able to change Health of node's in-game
- HealthRegainScale (read config)
Example
In this photo I used HealthDisplay to show the example of health change.
VIDEO
Thanks to Reoss for showcasing PermissionsHealth on YouTube zockkingLP =)
If you have a video you like to submit just PM me or leave it in the comments. If it showcases the plugin or shows how to fully use it I would love to add it =)
Configuration
PermissionsHealth has had a whole new makeover, please check up on new config page.
Commands
| Command | permission | description |
| /phr | phadmin.reload | reloads the config |
| /ph reload | phadmin.reload | reloads the config |
| /phh | phadmin.heal | used to to fully heal you |
| /phh <player> | phadmin.heal | used to to fully heal a player |
| /pheal | phadmin.heal | used to to fully heal you |
| /pheal <player> | phadmin.heal | used to to fully heal a player |
| /ph heal | phadmin.heal | used to to fully heal you |
| /ph heal <player> | phadmin.heal | used to to fully heal a player |
| /ph hp | phadmin.showhp | used to view your current health |
| /ph hp <player> | phadmin.showhp | used to view target's current health |
| /php | phadmin.showhp | used to view your current health |
| /php <player> | phadmin.showhp | used to view target's current health |
| /ph add <node_name > <healthvalue> | phadmin.add | Add's a new Node to the config |
| /ph update <node_name> <healthvalue> | phadmin.update | Updates the Node's Health in config |
| |
[NOTE: ophealth & defaulthealth must be changed from config no command for them yet same with HealthRegainScale
Permissions
Permissions are unlimited but need to start with "permissionshealth.", eg:
permissionshealth.mynewpermission
permissionshealth.hello_kitty
permissionshealth.best_class_ever
Any dot in the permission name is replaced with an underscore. When you're in-game and type /ph add level.1 30 - it will turn out like this:
permissionshealth.level_1
Permissions Plugins Note:
When dealing with inheritance check here permissions inheritance.
Recommended Plugins
| Lore Attributes |  |
| Health-Heads |  |
| Health-Bar |  |
| HealthDisplay |  | 1000 health displayed as 500 hearts meaning 2 health = 1 heart. |
| TimedPex |  | Automatically ranks users to another PermissionsEx group after a set period of time. This can be useful for servers that have a hierarchy by gameplay time, or to automatically change players from 'default' or guest ranks to 'member' for being active on a server. |
| ServerSigns | | Lets you buy permissions, groups, ranks, classes & races with in-game money. You can add a Permission Health node for them, increasing or reducing max-health depending on your preference. |
Do you have (or know of) a plugin that you think works great with Permission Health and would like to see it up here? Leave a comment below and give me the link to check it out =)
Permission Plugins
zpermissions (Untested)
yapp (Tested)
permissionsranks (Untested)
grouppermslite (Untested)
permissionsex (Tested)
permbukkit (Untested)
totalpermissions (Untested)
bpermissions (Tested)
droxperms (Untested)
xperms (Untested)
If you are using one of thse permission plugins and can confirm it works let me know =D
PermissionHealth should work with all these but still like to add it.
Optional Plugins
Any plugins that have to deal with health being displayed in chat can result in a lot of spam or slow your server down. Test them out and if they work for you that's great.
Current Build
- Craftbukkit 1.5.1-R0.3 #2760
- Bukkit 1.5.1-R0.3 #1756
- Java 6
Installation instructions
- Download PermissionsHealth.jar
- Drag and drop it in to your /plugins
- Start the server once to generate a config.yml file
- Setup you config file change health how you want it.
- Open permissions plugin you are using and add the node to the groups you want them to.
- You're ready to go!
Removal instructions
Before you just remove PermissionsHealth:
- make sure everyone quits the server this ensures
- there Health is set to 20 when they logout
- after that remove PermissionsHealth
- When players join server they will be in temporary god mode
- to get them out just hit them with a heal or throw a splash health potion at them
Other Plugin Conflict
- PermissionsHealth may have conflict with plugins that display ASCII HP-bars. (Tested) if it's a chat display of health they may cause spam to you and your users. in the chatlogs
- PermissionsHealth may have conflict with plugins that set your max health. (Tested) Other Plugins that allow you to set your health will no longer work due to events that are places to maintain health from staying or bring abused. Events are: PlayerJoinEvent & InventoryCloseEvent that set that health to the configure amount (InventoryCloseEvent was implemented so health would be updated if Player Gained a New permission Node or GuestHealth was changed from ingame.), now PlayerKickEvent & PlayerQuitEvent set the player to 20 health the reason this is in place so if plugin is removed the player does not keep the health he obtained from the plugin.
- Just talked to garbagemule about fixing health for Mob Arena and in his next update it should now fully heal you when joining MobArena =)
Bugs?
/ph reload gives Ah internal error occurred while attempting to perform this command This only happens when you have a higher amount of Hp and then lower it in the config and type reload, but don't worry even thought it gives you that error we added a small work around so when you get the error rest assured the command worked
Servers Running PermissionsHealth
Do you have a server that is running PermissionsHealth? if so give me a address and i add you on here =) (Note:I can only add servers that are running online mode.)
Support Banner
Does your plugin support Permissions Health? or you want to show others you use permissions Health then heres a small banner =D

评论 0
登录后参与评分
还没有评论,来抢沙发吧