More Hearts
More Hearts!
Ever wanted to give more health for donators in your servers or just become unbeatable?
This is the plugin for you! With More Hearts you can add more hearts to players(duh..) with commands, config and even custom permissions!!
Using an older version? click here
ABANDONED
I'm not going to update this plugin anymore and I don't even know if I will ever return to make plugins.
making plugins was my hobbie and now when I got more importent things to do I dont think that I will be able to keep up with this plugin.
I want to say thanks for all the downloads, I never thought I will get so many :)
Feel free to continue it / decompile it or whatever you want (just give me some credit ;) )
Commands
<> - Required [] - Optional
Command | Permission | note |
---|---|---|
/morehearts | morehearts.help | Will display all commands for the plugin |
/morehearts add <player> <amount> | morehearts.add | Give this guy some hearts! |
/morehearts refresh | morehearts.refresh | Refresh everything :D |
/morehearts set <player> <amount> | morehearts.set | set extra hearts for a player |
/morehearts addworld [world] | morehearts.addworld | if you will not enter the world name it will enable the plugin in th world you are in |
/morehearts addallworlds | morehearts.addallworlds | This will add every loaded world |
/morehearts removeworld [world] | morehearts.removeworld | if you will not enter the world name it will disable the plugin in the world you are in |
/morehearts worlds | morehearts.worlds | List of worlds that the plugin is enabled in |
/morehearts reset <ResetPassword> | morehearts.reset | Will reset the config :O (you can find/change the password in the config) |
You can add custom permissions in the config!
Example:
If player will have 73 hearts more he will have 83 hearts in total (73+10) and it will look like this:
Thats alot :P
Config:
The config is really easy and simple, Here is an example:
//Adding hearts Players: 7887b7b5-f79c-4625-bbd9-3e827ebc3f00: //his UUID LastSeenAs: roei12 //His Name HP: 28.0 //The HP he has ExtraHearts: 100.0 //Extra Hearts :P //Adding permissions Permissions: donator: 20 //if someone will have the permission morehearts.donator he will have 20 hearts more! DefaultHearts: 10 // I know its called default health but its the default hearts for your server (normal - 10 hearts) //Worlds EnableIn: world1,world2,world4 //Now the plugin will work only in the worlds: world1, world2 and world4 //Hide extra hearts? HideHearts: false // Now the extra hearts will be hidden :D //Reset password ResetPassword: random number (you can change it to whatever you want) //Used for /mh reset to reset everything in the config (except the password :P)
Changelog:
2.0
- Recoded everything :D
- Updated to 1.7.9
- Has UUID support (so if a player will change his name then his extra hearts will stay)
- Fixed the "hearts staying after removing the plugin" bug
- added reset command and reset password :O
Suggestions:
Do you have any ideas for improving this plugin?
Tell me in the comments or in pm!
@ErazePlaysMC
That command exists. use set with an amount of 0.
@Benroyjam
What do you mean by "disable"? If you mean commands for players, that is controlled via permissions.
Definitely a command to delete the Current status of extra hearts. - /morehearts del <player> <amount> If so, this plugin would be flawless, great work!
Hey, I loved your plugin. I have this suggestion: You could add a command that disables extra hearts, like: /moreheart disable <players>
@minecraft7net
Im working on that..
@floory565
Because your client dont know how to add more visible hunger, you need mods for that.
@roei12
Why wouldn't the extra hunger be visible? Sorry if I sound stupid to you :P
Hi,
version 2.1.2 cause big lag on server when you have 10k users in config file. tested today/yesterday, with and without morehearts and version 2.1.1 doesnt just 1,3% lagg server when 2.1.2 20-30%.
@Mosshadow95
Yes it works nicely with classes. You can use the permissions groups to define different classes.
Wow this looks pretty useful, Im going to tell my Admin to look into this. Will this work with Classes?
@floory565
I can do that actually but the extra hunger will not be visible (pretty sure).
Hi there roei12! I was wandering if you could make a plugin much like this, but for hunger and not hearts. (In other words could you make a 'More Hunger' plugin.) Your work is greatly appreciated!
Kind Regards, floory565
Love the plugin! Although when players enderpearl they don't take any damage. Could you fix this? Thanks!
@iksaku
I wanted to do that myself, but I know nothing about PHP so.. sure you can do that!.
Hi! I'm a PHP coder and I want to make a port of this plugin for PocketMine-MP Servers (for Minecraft PE) Can I do it? everything related to source code will be available on GitHub and Licensed obviously.
Thanks and congratulations for this awesome plugin!
@Octyenoch
@Redstoner_Pro
I understand the problem and I think that adding a limit will be great. Expect to see it in the next version :)
@Octyenoch
You can obtain a large amount of hearts, however after a certain limit, the client can no longer render the hearts (as of 1.6.4 builds). There isn't a way to limit the max via this plugin currently (would be nice to have (with perm groups)) however it can be done externally with other plugins.
You would still run into the issue where when the player reaches their max, your GUI will still charge them the cost, then the morehearts plugin will not give the extra hearts. You may want to look into alternate ways of implementing purchasing hearts.
liking it so far ;)
is there an upper limit to the number of hearts a person can get? I have a set up where someone purchases the hearts through a gui running morehearts add <player> 1 with each purchase....but I don't want them to go too crazy. can there be a config option that wont let it go higher than a set number?
Thank you everyone for more then 15000 downloads! I never thought that I will get so many downloads for a plugin :)
I believe what that is for is if you have a player that has 30 life points (15 hearts), it wont show the extra 5 hearts to the bar on the client, however the server will still recognize they have the full 30 LP. It can be useful if you setup something where players are able to keep adding life points to their health and can reach very large numbers of hearts. I know once you get over 50 hearts up there it starts to take up more room on the screen.
@Redstoner_Pro
Okay, I will probably be using this plugin on my main server. Just one question, exactly what does hidehearts do? It's not working for me. Does it like set you to 20 hp (10 hearts), and reduce damage to you, because you have 20 hearts, or something?
@JackzMc
I'm most positive if you set DefaultHearts in the config to a number lower than 10, it will reduce max hearts the players start with. You could try to set it to .5 to give all players half a heart to start, then you could then create a couple perm groups to modify how many hearts different players get. I'm not sure how the client will render this. I'm not sure if minecraft know how to handle a player with less than 10 hearts. I don't have an environment where I can test this anymore. Hope my info helps you out.
@markGod
What plugins are not working for you on the newer builds? I would be talking to the developers of those plugins and asking them to update.