This system is designed to detect and kick players from the game server if they press certain blacklisted keys. It also sends logs about these actions to a Discord webhook.
Key Features:
Blacklist Monitoring:
The system monitors player key presses for a predefined list of blacklisted keys.
If a player presses a blacklisted key, they are kicked from the server.
Kick Notification:
When a player is kicked, the system generates a message indicating which key was pressed and includes the player's Steam ID and in-game ID.
This message is sent to a Discord webhook to notify server administrators.
How It Works:
Key Detection: The system continuously checks for key presses every second. If a blacklisted key is detected, it kicks the player and performs the necessary logging and notifications.
Webhooks:
Discord Webhook: Sends a message to a Discord channel with details about the kick event.
Script Overview:
This script is designed for FiveM servers using the ESX framework. It monitors player key presses to detect and kick players who press specific blacklisted keys. Notifications about these kicks are sent to a Discord webhook.
ESX Integration:
Blacklist Monitoring:
Kick Notification:
Key Detection:
Webhooks: