diff --git a/ngdredemption.md b/ngdredemption.md index 616791b..cab8c51 100644 --- a/ngdredemption.md +++ b/ngdredemption.md @@ -2,7 +2,7 @@ title: ngd-redemption description: published: true -date: 2025-01-29T01:10:42.371Z +date: 2025-01-29T01:16:54.161Z tags: editor: markdown dateCreated: 2025-01-28T00:30:34.910Z @@ -156,8 +156,26 @@ end 5. ### **LOGS**
-Items List (QB-OLD) (Click to Expand) +Logs Configuration (Click to Expand) - The script comes pre-configured for either Discord or Fivemerr logs. Choose your log type in the config and follow the instructions below to configure it. + +### Discord: +- To use the discord logging feature, set the `Config.LogType = 2`, and add your webhook into the top of the `editableserver.lua` file. +### Fivemerr: +- To use the Fivemerr logs, set the `Config.LogType = 1'. +- Open your `server.cfg` and add the following: + ```lua + set fivemerr_ngdredemption 'YOUR_API_KEY' + ``` + - Replace `YOUR_API_KEY` with your API key from the Fivemerr dashboard. +### Custom / No Logs: +- To use your own logging logic, or to use no logs at all, set the `Config.LogType = 0' +- If you wish to use your own logic, you can add it into the following function found inside the `editableserver.lua` +```lua +function CustomLogs(data, message) + +end +```
---