A New CombatTag plugin.
New Combat Tag
This is a new plugin I made. There are already plugins like this, but they create some kind of place holder of the person that logs out, to be killed, and then still, the player needs to be synced when they join back. But this plugin. If someone logs out while in combat. The person will die basically a 'gameplay tick' before they actually exit. Which means they will still die and lose everything. Joining back, and you will be dead.
I honestly feel that this plugin is easy to use, you just drop the plugin in your plugins folder, and your set to go!
API
I have developed an API for the plugin as well. To Combat tag someone, call the method CombatTag.tag(Player); This will tag the player to be in combat, and will last 10 seconds. If the player is already in combat, it will un-tag them.
The API was added in 1.1.0 version of the plugin. Be sure to use that!