m_stateSaving = { -- This feature will save the state of the players (like injuries, blood pressure) to a file (recommend) or mysql database.
enabled = true, -- Set this to 'true', if you want that the system will save the state of the players.
interval = 60 * 5, -- Set this to the interval in seconds, that the system will save the state of the players.
method = 'oxmysql', -- 'oxmysql', 'mysql-async' or 'file' (recommended) database = { -- Set this to the database settings, if you use oxmysql. table = 'players', -- Set this to the table name, where the state will be saved
column = 'health_state', -- The column in the table, that will be used to save the state of the players.
identifierColumn = 'id' -- The column in the table, that will be used to query the player. },
file = { -- Set this to the file settings, if you use file. path = '/database/', -- Set this to the path of the file, where the system will save the state of the players.
type = 'message_pack', -- The type of serialization. message_pack (recommended) or json .
}
},