https://github.com/scrachstack/logs
RedM Logging Script
https://github.com/scrachstack/logs
Last synced: 3 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: 2025-02-09T20:44:32.000Z (12 months ago)
- Last Synced: 2025-02-09T21:28:40.947Z (12 months ago)
- Language: Lua
- Size: 17.6 KB
- Stars: 2
- 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"