Advertisement

πŸ“Έ | -FIVEM- | ESX | SHOW INGAME SCREENSHOTS IN DISCORD + SETTINGS | FREE | -FIVEM- | πŸ“Έ

 With this system you have the possibility to take in-game screenshots and send them directly to Discord thanks to "webhook".

The system also works with the Badger Anticheat

πŸ”° | -FIVEM- | BADGER ANTICHEAT FOR YOUR FIVEM SERVER + SETTINGS | FREE | -FIVEM- | πŸ”°

If you see a cheater, click on the key on the "Blacklist" (Automatically sends a screenshot of the screen to Discord).

:!:Information:

Download: discord-screenshot-master.zip

Command: Without Anticheat (/ screenshot player name)

With Anticheat, simply click on the key in the blacklist.


:!:Installation:

  1. pack the files on our server under "resources"
  2. open our server.cfg and enter the following: "ensure screenshot-basic" and "ensure discord-screenshot"

:!:Settings:

We open the settings.json file.

  • webhookUrl: your webhookurl from the Discord channel.
  • framework: the framework you are using
  • commandName: Name of the command for taking screenshots
  • commandPermission: command permission
  • hiddenIdentifiers: What should be displayed and what shouldn't, e.g. IP.
  • screenshotOptions: encoding - file format (png, jpg or webp)
  • Quality - The image quality from 0.0 to 1.0.


ANDERE FRAMEWORKS

/ screenshot <player or identifier> Can be used from the server console or by anyone with the Ace privilege requirement.


vRP FRAMEWORK

/ screenshot <user ID> Can be used from the server console or by anyone with the authorization request.



Exports:

SQL
  1. requestClientScreenshotUploadToDiscord

Captures the player's screen and sends it to the configured discord webhook.

Parameters:

  • player: string | number
  • webhookMessageData?: WebhookMessageData
  • timeoutMs?: number
  • callback?: (error?: string) => void

Example:
:!:


:!:

SQL
  1. requestCustomClientScreenshotUploadToDiscord

Captures the player's screen and sends it to the specified discord webhook.

Parameters:

  • player: string | number
  • webhookUrl: string
  • options?: object
    • encoding: 'png' | 'jpg' | 'webp'
    • quality: number
  • webhookMessageData?: WebhookMessageData
  • timeoutMs?: number
  • callback?: (error?: string) => void

Example:


Post a Comment

0 Comments