{
    "criteria": {
        "requirement": {
            "trigger": "minecraft:entity_killed_player",
            "conditions": {
                "entity": {
                    "type": "minecraft:player"
                }
            }
        }
    },
    "rewards": {
        "function": "cf:deathmessages/player"
    }
}