Tint Health
Ever wanted blood screen effects on your server ?
This small plugin adds a warning effect when your health is low. Perfect for PVP and Hardcore servers !
READ ME
You must set your graphic settings to FANCY in order to see the warning effect.
How to Use
Every time a player takes damage or regain health, the plugin will update the tint to match with the health.
However, as this is a world border, there is a possibility to reach the border after travelling 200,000 blocks away from the latest damage / regain location (which is... far).
Note that if your world has a worldborder already set, it will not be removed. This is client-side only, so players won't see your border anymore, but they won't be able to pass through it.
Features
Fade Mode:
If enabled, tint disappears gradually over time (defined in config)
Intensity Modifier:
Default is 1. You can increase this number to make the tint stronger. A high modifier may not change the tint at all, keeping it fully red.
Damage mode:
Sends a tint depending on how much damage you get, not how much health you have. I recommend using the intensity modifier to make the effect more visible.
Minimum health:
You can choose how much health you must have to see the tint effect !
Toggle command:
Some players will not want to see the tint. They can use /th toggle to disable it !
Installation
Simply drag and drop the plugin in your plugin folder, and that's it !
Dependencies
As of 1.4, you don't need ProtocolLib anymore to use the plugin. But still, if you wanna use < 1.3.3, you will need it.
Configuration
Configuration is simple !
options: fade-enabled: true # Is fade mode enabled or not ? fade-time: 10 # How long should the tint fade out ? intensity-modifier: 1 # The higher it is, the stronger the tint will be enable: true # Whether to enable the default plugin behavior or not. API will still be accessible. damage-mode: enabled: true # Disables Health mode
Please read the Wiki on Github for more informations on how the modes work.
Commands
Quote:Main command: /tinthealth
Aliases: /th, /tint
Subcommands:
- reload - you know what it does
- toggle - enables / disables your tint
- blood - downloads the Blood texture made by @Macaron
Watch Tint Health in action
v1.3.1
Blood texture made by @Macaron
You have a video with Tint Health in action ? PM me :)
Planned features (in order)
- Add support for Absorption hearts
- Cumulative option for Damage mode
Green: ready
Known bugs
- None yet :3
Green: will be fixed in the next release.
Report a bug here !
Source code
Source code is available on Github under the GNU license. Feel free to contribute !
Developer API available on Github
Please let me now if your plugin uses TintHealth ! I would be happy to list it here.
MCStats
This plugin utilizes Hidendra's metrics system in order to keep track of the plugin's popularity, as well as other metadata. The following information is collected and sent to mcstats.org:
- Unique identifier
- Java version
- Offline/online mode
- LimitedWorldEdit version
- Server version (i.e. Bukkit 1.6.4, Spigot 1.7.2)
- OS name, version and architecture
- Amount of CPU cores
- Amount of players online
- Metrics version
Other Informations
I was only inspired by a Sethbling's video which does the same thing (but does not work in multiplayer).
This is a really small plugin, and it's free for everyone, but you can buy me a cookie by donating via Paypal.
If you enjoy the plugin, review it !
@BucketConfigured
Being back to school, I can't give any ETA sorry. Also, what do you mean by wither hearts ? I don't see how I could "support" them as they don't change your health
@bennyman123abc
No spout at all !
How is this possible with a Bukkit plugin? Does it require Spout?
Great plugin! Really amazing work on it! One question, is there an ETA (Estimated Time of Arrival) for when the Absorption hearts will be added? Also one suggestion (goes along with the absorption hearts), could you add Black hearts (wither effect). I think this would be quite neat! Thanks.
@MrEminent42
Make sure you everything is setup correctly, and you will love it :)
Wow, this plugin really looks amazing. On my iPad now, but I'll surely install it when I get to my comp!
@xDizasterCYx
I don't see any reason to duplicate an existing plugin ;)
Originality is my only motivation !
Amazing plugin, I never seen something like that :D
@nejcneo
I can, and I plan to do it, because having a dependency is not always confortable. But I need to learn how to do it properly :)
@zatbel123 As I said, I never tested on 1.7.10, but what is sure is that you need to have the 1.8 protocol hack to use the plugin. Your error says World Border does not exist in Minecraft, so you will not be able to use the plugin with that version.
I am not sure but could you make it work without protocolLib. I think it doesn't work with some plugins (I had to remove it for others plugins to work).
@madtomic
As long as you can use the worldborder on 1.8 clients, yup ! Tint Health does not use UUID for that particular reason ;)
But I never tested on 1.7.10.
Just make sure you have the correct ProtocolLib version.
@MrSheepSheep
Does this work on 1.7.10?
Update will be soon uploaded. It adds a bunch of new features, including minimum health, commands, permissions, damage mode, api, etc...
Great work, trying it now.