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
| Option | Type | Description |
|---|---|---|
m_Admin | bool | With 1, routes the native administrative log to the Admin log and uses the module's player prefix. With 0, keeps native logging. |
m_Building | object | Building and container log switches. |
m_Player | object | Player log switches. |
m_Vehicle | object | Vehicle log switches. |
m_Inputs | array<string> | DayZ key identifiers to register and log when pressed. An empty list monitors no keys. |
m_Building
| Option | Type | Description |
|---|---|---|
m_Barrel | bool | With 1, logs barrel interactions. With 0, keeps this behavior disabled. |
m_Base | bool | With 1, logs building and dismantling construction objects. With 0, keeps this behavior disabled. |
m_CombinationLock | bool | With 1, logs combination lock actions. With 0, keeps this behavior disabled. |
m_Fence | bool | With 1, logs fence and gate interactions. With 0, keeps this behavior disabled. |
m_GardenPlot | bool | With 1, logs actions involving garden plots. With 0, keeps this behavior disabled. |
m_Tent | bool | With 1, logs tent interactions. With 0, keeps this behavior disabled. |
m_TerritoryFlag | bool | With 1, logs territory flag interactions. With 0, keeps this behavior disabled. |
m_Player
| Option | Type | Description |
|---|---|---|
m_Connection | bool | With 1, logs connection events. With 0, keeps this behavior disabled. |
m_Bleeding | bool | With 1, logs bleeding events. With 0, keeps this behavior disabled. |
m_Bury | bool | With 1, logs burying bodies, ashes and stashes. With 0, keeps this behavior disabled. |
m_HitBy | bool | With 1, logs damage suffered by players. With 0, keeps this behavior disabled. |
m_Items | bool | With 1, logs item transfers with the player, source and destination. With 0, keeps this behavior disabled. |
m_Killed | bool | With 1, logs player deaths. With 0, keeps this behavior disabled. |
m_Position | bool | With 1, logs player position in the log prefix where applicable. With 0, keeps this behavior disabled. |
m_Restrain | bool | With 1, logs player restraint actions. With 0, keeps this behavior disabled. |
m_Suicide | bool | With 1, logs suicides. With 0, keeps this behavior disabled. |
m_Unconscious | bool | With 1, logs loss or recovery of consciousness. With 0, keeps this behavior disabled. |
m_Machine | bool | With 1, logs the client's machine name once during the game session. With 0, keeps this behavior disabled. |
m_Vehicle
| Option | Type | Description |
|---|---|---|
m_Close | bool | With 1, logs closing vehicle doors. With 0, keeps this behavior disabled. |
m_Engine | bool | With 1, logs engine start and stop actions. With 0, keeps this behavior disabled. |
m_Enter | bool | With 1, logs entering vehicles. With 0, keeps this behavior disabled. |
m_HitBy | bool | With 1, logs vehicle damage. With 0, keeps this behavior disabled. |
m_Leave | bool | With 1, logs leaving vehicles. With 0, keeps this behavior disabled. |
m_Open | bool | With 1, logs opening vehicle doors. With 0, keeps this behavior disabled. |
m_Push | bool | With 1, logs pushing vehicles. With 0, keeps this behavior disabled. |
m_Spawn | bool | With 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
| Control | Action |
|---|---|
m_Inputs | Logs presses of the configured keys. The server configuration defines the keys. |
