ANTI BLACKLISTED KEY

This item is free.

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.

Key Features:

  • ESX Integration:

    • Works with the ESX framework to manage player data and server events.
  • Blacklist Monitoring:

    • Detects if players press blacklisted keys and kicks them from the server if detected.
  • Kick Notification:

    • Sends detailed notifications to a Discord webhook about the kicked player and the key they pressed.

How It Works:

  • Key Detection:

    • Continuously checks for key presses. If a blacklisted key is pressed, the player is kicked and logged.
  • Webhooks:

    • Discord Webhook: Sends a message to a Discord channel with details of the kick event.