Just curious as I'm not really interested in suicides and it tends to clog it up a bit. Thanks :)
Is it possible to exclude suicides from log_deaths?
Would this work (I'm a hack and have no idea what I'm doing):
private void OnPlayerDeath(BasePlayer player, HitInfo info)
{
if (player == null) return;
if (info?.InitiatorPlayer == null) return;
**if (player == info.InitiatorPlayer) return;**
if ((player.IsNpc) || (info.InitiatorPlayer.IsNpc)) return;The asterisked part
EDIT:
Apparently that does indeed work, but let me know if it's going to cause any issues please :D