FXServer Integration
Audit Exports
Exports to work with audit logs
actionRecap
Sends a recap of an action made by an admin to fxManager's audit log.
Payload:
Prop
Type
local response = exports.fxmanager:actionRecap({
serverId = 1,
label = 'example_action',
target = nil,
metadata = {
key = 'value',
key2 = 1234
},
})
if response.ok then
print('Action recap sent successfully, id:' .. response.data.recapId)
else
print('Failed to send action recap')
endgetActionRecap
Get the last actions made by an admin.
Payload:
Prop
Type
local response = exports.fxmanager:actionRecap({
serverId = 1,
label = 'example_action',
target = nil,
metadata = {
key = 'value',
key2 = 1234
},
})
if response.ok then
print('Action recap sent successfully, id:' .. response.data.recapId)
else
print('Failed to send action recap')
end