From ab104f0e4059200e6d968fdb01efafdef457698b Mon Sep 17 00:00:00 2001 From: solareon <769465+solareon@users.noreply.github.com> Date: Thu, 7 Dec 2023 19:12:51 +0000 Subject: [PATCH] refactor: logging config for core events only --- config/server.lua | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/config/server.lua b/config/server.lua index 77bfc198b..292766b02 100644 --- a/config/server.lua +++ b/config/server.lua @@ -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)