docs: update ngdredemption

This commit is contained in:
Administrator 2025-01-28 17:18:53 -08:00 committed by DeLuce
parent 977c7ecca2
commit 69555bb163

View File

@ -2,7 +2,7 @@
title: ngd-redemption title: ngd-redemption
description: description:
published: true published: true
date: 2025-01-29T01:16:54.161Z date: 2025-01-29T01:18:51.226Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2025-01-28T00:30:34.910Z dateCreated: 2025-01-28T00:30:34.910Z
@ -50,7 +50,7 @@ NGDRedemption {packageId} {transaction}
4. ### **Configure Packages In Script** 4. ### **Configure Packages In Script**
<details> <details>
<summary><strong>Script Configuration</strong> (Click to Expand)</summary> <summary><strong>Package Configuration</strong> (Click to Expand)</summary>
- **In a web browser, navigate to your Tebex package.** - **In a web browser, navigate to your Tebex package.**
-- The #s seen at the end of the link are the `Package ID`, and will be used to configure the items in the script. -- The #s seen at the end of the link are the `Package ID`, and will be used to configure the items in the script.
@ -90,6 +90,12 @@ Config.Packages = {
} }
} }
``` ```
- If the `Item = 'other` is set, you can set your own logic to give players whatever you would like inside of the `editableserver.lua` using the function:
```lua
function GiveCustom(data)
end
```
</details> </details>