docs: update ngdredemption

This commit is contained in:
Administrator 2025-01-28 17:16:56 -08:00 committed by DeLuce
parent 5d21756634
commit 977c7ecca2

View File

@ -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**
<details>
<summary><strong>Items List (QB-OLD)</strong> (Click to Expand)</summary>
<summary><strong>Logs Configuration</strong> (Click to Expand)</summary>
- 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
```
</details>
---