Go to approximately Line 962 of the plugin underneath the OnEntityDeath reference and add the following:
void OnPlayerDeath (BasePlayer player, HitInfo hitInfo)
{
if (player == null) return;
RaidBlock raidBlocker;
if (raidBlock && raidUnblockOnDeath && TryGetBlocker (player, out raidBlocker)) {
timer.In (0.3f, delegate () {
raidBlocker.Stop ();
});
}
CombatBlock combatBlocker;
if (combatBlock && combatUnblockOnDeath && TryGetBlocker (player, out combatBlocker)) {
timer.In (0.3f, delegate () {
combatBlocker.Stop ();
});
}
}If your config is set correctly, raid and/or combat block will end once a player dies.
I personally put this slice of code in between the references for OnEntityDeath and OnPlayerSleepEnded.