Skip to content

Commit

Permalink
refactor: logging config for core events only
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Dec 7, 2023
1 parent bc16fa8 commit ab104f0
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions config/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,19 +113,17 @@ return {
end
},
},

-- this configuration is for core events only. putting other webhooks here will have no effect
logging = {
enableOxLogging = false,
enableWebhooks = false,
webhook = {
['default'] = '', -- default
['joinleave'] = '', -- default
['ooc'] = '', -- default
['anticheat'] = '', -- default
['playermoney'] = '', -- default
['default'] = nil, -- default
['joinleave'] = nil, -- default
['ooc'] = nil, -- default
['anticheat'] = nil, -- default
['playermoney'] = nil, -- default
},
role = {
'@everyone' --Role to tag for logging data. Roles use <@%roleid> and users/channels are <@userid/channelid>
}
role = {} -- Role to tag for high priority logs. Roles use <@%roleid> and users/channels are <@userid/channelid>
},

giveVehicleKeys = function(src, plate)
Expand Down

0 comments on commit ab104f0

Please sign in to comment.