https://github.com/ScrachStack/logs
RedM Logging Script
https://github.com/ScrachStack/logs
Last synced: 4 months ago
JSON representation
RedM Logging Script
- Host: GitHub
- URL: https://github.com/ScrachStack/logs
- Owner: ScrachStack
- License: gpl-3.0
- Created: 2023-10-07T16:44:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T16:59:01.000Z (over 2 years ago)
- Last Synced: 2024-11-16T04:16:44.488Z (about 1 year ago)
- Language: Lua
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RedM Logging
## Prerequisites
2. **Discord Webhook URL**: You will need to create a Discord webhook for the logging functionality.
- Go to your Discord channel and create a webhook by navigating to **Server Settings** > **Integrations** > **Webhooks** > **Create Webhook**.
- Copy the **Webhook URL**; you will need this for configuration.
## Installation Steps
### 1. Configure the Script
1. Open the `server.lua` file located in the `redm-logging-script` folder.
2. Modify **Line 1** to replace `"WEB_URL"` with your **Discord Webhook URL**:
```lua
local webhookUrl = "https://discord.com/api/webhooks/your-webhook-url"