Zen's Cause of Death - ZenarchistCode/ZenModPack GitHub Wiki

download

What Is This?

This mod adds the ability to check other player's cause of death.

Simply walk up to a dead player and hold F on them to check for a cause of death.

The causes are configurable in the server-side json file (for changing the text/language).

ZenCauseOfDeathConfig.json Config

%server_profile/Zenarchist/ZenCauseOfDeathConfig.json

{
    "ConfigVersion": "2", // Don't touch this
    "CauseOfDeathPrefix1": "It appears", // For language translations
    "DeadPlayerPrefix": "this", // For language translations
    "MaleGender": "man's", // For language translations
    "FemaleGender": "woman's", // For language translations
    "CauseOfDeathPrefix2": "cause of death was", // For language translations
    "CauseOfDeathDefs": [ // List of death causes based on 'ammo' type
        {
            "AmmoType": "unknown", // Used when an ammo type can't be automatically detected
            "CauseMessage": "unknown"
        },
        {
            "AmmoType": "zombie", // Cause message for zombie deaths. Same config template for all causes
            "CauseMessage": "probably the result of a zombie attack."
        }
    ],
    "DebugOn": 0 // Turn on/off debug mode (useful when adding new causes as it will display ammo type etc ingame)
}

Master Config

To disable this mod set "ZenCauseOfDeath": 0 in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json

⚠️ **GitHub.com Fallback** ⚠️