MoreHearts
This plugin allows admins to give additional (or take away) health to certain users or groups and set the default health for all players.
Features
- Set the default hearts
- Set hearts for groups or users
- In-game commands
- Config and data files
To do
- 1.9 and 1.10 support.
- Bug fixes
- MoreHearts Enchantment
Commands
/morehearts setdefault <hearts> | Sets the default heart count for all players. | morehearts.admin |
/morehearts set <group> <hearts> | Adds / modifies a heart group. | morehearts.admin |
/morehearts delete <group> | Deletes a heart group. | morehearts.admin |
/morehearts list | Lists default hearts and all heart groups. | morehearts.admin |
Permissions
morehearts.group.<group> | Gives a user/group a heart group listed in the config. |
morehearts.admin | Enables a user/group to configure the plugin in-game. |
Config
Important: The config.yml file that is generated with the plugin by default will not include the 'groups' configuration section. This part will be added when you use in-game configuration commands listed above or you type this out manually.
Default: 20 Groups: Example1: 5 Example2: 20 Example3: 35 Example4: 22 Example5: 81
Videos
This video was created by RedStone Films on YouTube. He created this video for the 1.0 version of MoreHearts.
This tutorial is slightly outdated; new commands have been added and certain permission nodes have changed. However, this still covers the basics.
Images
Milestones
10 downloads[Complete]50 downloads[Complete]100 downloads[Complete]500 downloads[Complete]1000 downloads[Complete]- 2500 downloads
- 5000 downloads
- 10000 downlaods
I need version to 1.10.2, please!!!
Java 8!
Do you have a public repo for this project?
We could help update things for you if you're busy and submit Pull Requests. Or if you want to retain full control over the code without outside influence, it would still be really nice to have access to the code so we could build it ourselves and tweak things if needed.
@xDizasterCYx
same, I would like to clear the console of that giant string of errors whenever I join or quit my server
@xDizasterCYx
Working on it!
@Bailey280899
Dude is it ever going to be updated? because that error log causes me massive lag on join or quit.
Please update to 1.9
@xDizasterCYx
Thanks for letting us know, this will be fixed by the next update.
found a bug:
http://pastebin.com/xaJrL53u
I get an annoying error whenever a player logs out, found here: http://pastebin.com/3A1j8pws Nothing is harmed by it, but I'm a little tired of the console flooding after every log out. Is this something that can be fixed?
@Tyler9648
So, when you give additional hearts to your diamond chestplate, they don't work due to MoreHearts?
There is a bug where if I give myself an item that has an attribute that adds max health, it glitches out. I used this command to get the item. "/give @p diamond_chestplate 1 0 {AttributeModifiers:[{Operation:0,UUIDLeast:1,UUIDMost:1,Amount:10.0,AttributeName:generic.maxHealth,Name:Star}]}" (No qoutes) When I get extra hearts from "morehearts" and extra hearts from the item attribute, the hearts show up for the item attribute but don't actually heal me.
@LavaPreston123
Sorry for the late reply. I'll add it to the to-do list.
could you make a enchant for it
Not sure if fixable on your end, but on reconnect, only the first row of hearts are filled, and the rest then start to regen, despite what health the user had before disconnecting.
Oh, here's why: it's erroring on playerquitevent: https://gist.github.com/RoboMWM/9ddd2d64948f3019ad10
@Bailey280899
Thanks for the heads up.
@sharkybushbaby
Hi, it appears this problem is to do with the way the plugin handles damage. Instead of taking health away from the current total (ex. 20 hearts - 4 hearts = 16 hearts), it is setting the health to what it should be assuming the maximum health is 10 hearts (Player has 10 hearts, so if they are shot they must have 6 hearts).
You may want to consider using Crackshot. This is a better and more up-to-date plugin that does work with MoreHearts (it's been tested). You can still use tools and fire snowballs. You can also customise a number of other things, including, damage per shot.
it appears the pvpgun plus plugin is no longer around. but the original is. http://dev.bukkit.org/bukkit-plugins/pvpguns/
they shoot snowballs via tools. When someone is shot pvpgun (snowball) it takes out their extra row of hearts.
PVPgun also has the same effect of large mobs. (enderdragon-wither) . meaning it takes them out quickly. (with just s few shots)
I dont know if thats relevant, to how it works with morehearts. where its just hearts rather than health.
@sharkybushbaby
I'm not sure which you mean, could you send me a link please? Maybe some pastebins of your configs and errors too please. Thank you.
@Bailey280899
Pvp Gun and Plus.
I Appreciate it.
Hi, I will look into a fix for this. Thank you.
Edit: Which guns plugin do you use?