Skip to content

Logs ​

Description ​

Records selected administrative, building, player and vehicle events in server logs. It can also record presses of keys selected by the administrator.

Configuration ​

Default configuration ​

Logs.json
json
{
    "m_Admin": 0,
    "m_Building": {
        "m_Barrel": 0,
        "m_Base": 0,
        "m_CombinationLock": 0,
        "m_Fence": 0,
        "m_GardenPlot": 0,
        "m_Tent": 0,
        "m_TerritoryFlag": 0
    },
    "m_Player": {
        "m_Connection": 0,
        "m_Bleeding": 0,
        "m_Bury": 0,
        "m_HitBy": 0,
        "m_Items": 0,
        "m_Killed": 0,
        "m_Position": 0,
        "m_Restrain": 0,
        "m_Suicide": 0,
        "m_Unconscious": 0
    },
    "m_Vehicle": {
        "m_Close": 0,
        "m_Engine": 0,
        "m_Enter": 0,
        "m_HitBy": 0,
        "m_Leave": 0,
        "m_Open": 0,
        "m_Push": 0,
        "m_Spawn": 0
    },
    "m_Inputs": []
}

Options ​

OptionTypeDescription
m_AdminboolWith 1, routes the native administrative log to the Admin log and uses the module's player prefix. With 0, keeps native logging.
m_BuildingobjectBuilding and container log switches.
m_PlayerobjectPlayer log switches.
m_VehicleobjectVehicle log switches.
m_Inputsarray<string>DayZ key identifiers to register and log when pressed. An empty list monitors no keys.

m_Building ​

OptionTypeDescription
m_BarrelboolWith 1, logs barrel interactions. With 0, keeps this behavior disabled.
m_BaseboolWith 1, logs building and dismantling construction objects. With 0, keeps this behavior disabled.
m_CombinationLockboolWith 1, logs combination lock actions. With 0, keeps this behavior disabled.
m_FenceboolWith 1, logs fence and gate interactions. With 0, keeps this behavior disabled.
m_GardenPlotboolWith 1, logs actions involving garden plots. With 0, keeps this behavior disabled.
m_TentboolWith 1, logs tent interactions. With 0, keeps this behavior disabled.
m_TerritoryFlagboolWith 1, logs territory flag interactions. With 0, keeps this behavior disabled.

m_Player ​

OptionTypeDescription
m_ConnectionboolWith 1, logs connection events. With 0, keeps this behavior disabled.
m_BleedingboolWith 1, logs bleeding events. With 0, keeps this behavior disabled.
m_BuryboolWith 1, logs burying bodies, ashes and stashes. With 0, keeps this behavior disabled.
m_HitByboolWith 1, logs damage suffered by players. With 0, keeps this behavior disabled.
m_ItemsboolWith 1, logs item transfers with the player, source and destination. With 0, keeps this behavior disabled.
m_KilledboolWith 1, logs player deaths. With 0, keeps this behavior disabled.
m_PositionboolWith 1, logs player position in the log prefix where applicable. With 0, keeps this behavior disabled.
m_RestrainboolWith 1, logs player restraint actions. With 0, keeps this behavior disabled.
m_SuicideboolWith 1, logs suicides. With 0, keeps this behavior disabled.
m_UnconsciousboolWith 1, logs loss or recovery of consciousness. With 0, keeps this behavior disabled.
m_MachineboolWith 1, logs the client's machine name once during the game session. With 0, keeps this behavior disabled.

m_Vehicle ​

OptionTypeDescription
m_CloseboolWith 1, logs closing vehicle doors. With 0, keeps this behavior disabled.
m_EngineboolWith 1, logs engine start and stop actions. With 0, keeps this behavior disabled.
m_EnterboolWith 1, logs entering vehicles. With 0, keeps this behavior disabled.
m_HitByboolWith 1, logs vehicle damage. With 0, keeps this behavior disabled.
m_LeaveboolWith 1, logs leaving vehicles. With 0, keeps this behavior disabled.
m_OpenboolWith 1, logs opening vehicle doors. With 0, keeps this behavior disabled.
m_PushboolWith 1, logs pushing vehicles. With 0, keeps this behavior disabled.
m_SpawnboolWith 1, logs vehicle spawns. With 0, keeps this behavior disabled.

m_Player.m_Machine is optional and absent from the distributed JSON. It is disabled unless explicitly enabled.

Controls ​

ControlAction
m_InputsLogs presses of the configured keys. The server configuration defines the keys.

Released under the MIT License.