MoreHears V2
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
<> - 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
- Added UUID support (so if a player will change his name the extra hearts will stay)
- fixed the "hearts staying after removing plugin" bug
Suggestions:
Do you have any ideas for improving this plugin?
Tell me in the commants or in pm!
Comments