Heartbeat Check Resource Script
This script is designed to protect FiveM servers from resource manipulation and ensure critical resources are actively running. It monitors the heartbeat of essential resources and can trigger specific actions like kicking players who attempt to interfere with those resources. Additionally, it logs all related activities to a Discord webhook for tracking and security purposes.
Key Features:
- Discord Logging: The script sends logs to a Discord webhook, allowing server admins to track suspicious activity related to resource tampering. The logs include player names, IDs, and methods of interference.
- Banning and Kicking: The server-side component enables automatic banning or kicking of players attempting to disrupt critical resources. The action depends on the configuration set in the script.
- Framework Support: The script supports both ESX and QBcore frameworks for FiveM, with custom handling for each framework to ensure proper functionality.
- Resource Heartbeat Monitoring: The server continuously checks the status (heartbeat) of essential resources and can identify if any resource is stopped or malfunctioning.
How It Works:
- Logging: Each time resource tampering is detected, the server sends an entry to a designated Discord webhook with details about the player and the attempted interference method. This helps server admins stay informed about potential issues.
- Kicking: When a player attempts to disrupt a monitored resource, the script can kick the player. The action is triggered through a event, which checks the configured option (kick) and executes the appropriate response.
- Framework Integration:
- ESX: The script integrates with ESX via callbacks to check the status of the resources and responds accordingly.
- QBcore: Similarly, it integrates with QBcore and uses its callback system to check and respond to resource failures.
Usage:
- Client-Side: The client-side script reports any missing resources by pinging and checking the status at regular intervals. If discrepancies are found, it triggers the server-side checks.
- Server-Side: The server verifies the reported missing resources. If a resource is found to be stopped, the server can log the event and take action, such as banning or kicking the responsible player.
- Discord Integration: All relevant actions and events are logged in a Discord channel via a webhook, allowing server administrators to easily monitor and track attempts to interfere with resources.
Customization:
- Configurable Actions: Server admins can choose whether players should be banned or kicked in the
Config.Option
setting. - Resource Monitoring: The server checks the heartbeat of resources and takes action if a critical resource is stopped or missing.
- Discord Webhook: Admins can easily change the Discord webhook URL to suit their server’s needs for logging purposes.
This script provides a reliable mechanism for ensuring critical resources stay online and secure, while keeping admins informed with detailed logs of all related events.
Screenshots
Installation:
- Ensure compatibility either with ESX or QBCore.
- Drag and drop the script into your server resources
- Start the script and enjoy the enhanced roleplay experience!
Other Scripts and Models
Other BS-Scripts
[ STANDLONE | PAID ] Blue Style Development Gang Aggression
[ Standlone | Paid | Model | Add-On | Extras ] Karin Asterope 18C
[ Standlone | Paid | Script | Escrow and Closed source ] Heartbeat Check Resource Script
[ Standlone | Paid | MLO ] Societypack MLO
[ Standlone | Paid | Add-On ] Add-On M18 + Add-On Attachments + Hud GFX included
[ Standlone | Paid | Add-On ] Add-On AR - 15 + Add-On Attachments
[ STANDLONE| FREE ] Camera Lock Script
[ ESX | FREE ] Burgershotjob Script
[ STANDLONE | PAID ] Gang Member Spawner Script
[PAID | ESX/QBCORE/STANDLONE | WIP] Border Control Job
[PAID | Add-On | Standlone ] Barbetta M9A3
[PAID | Add-On | Standlone ] Hecller und Koff G28
[PAID | Add-On | Standlone ] Tec-9
[PAID | ESX ] Blue Style Airsoft
[PAID | Add-On | Standlone ] Sig Sauer MPX
[PAID | Add-On | Standlone ] MK18 + Component
[PAID | Add-On | Standlone ] PPK + Component
[FREE | Standlone] New Bike Idle Anim
[PAID | Add-On | Standlone ] AK-12 + Component
[PAID | Add-On | Standlone ] MAC-10 + Component
[PAID | Add-On | Standlone ] P99 + Component + Weapon Wheel Image
[FREE | MLO ] Blue Style Paleto Electric MLO
[FREE | ESX ] BS car colour / car tinting
[PAID | Add-On | ESX | UPDATE ] Doorlock + Lockpicking Doorlock
[PAID | Add-On | Standlone ] Glock 30 with Attachments
[PAID | Add-On | Standlone ] UMP-45 with Attachments
[PAID | Add-On | Standlone ] M4A1 with Attachments
[PAID | Add-On | Standlone ] RPD
[PAID | Add-On | Standlone ] M249 with Attachments
)
[PAID | Add-On | Standlone ] Mossberg 590 with Attachments
[PAID | Add-On | Standlone ] Spas 18 - #5 by Blue_Style_DEV
[PAID | Add-On | Standlone ] Smith & Wasson M&P with Attachments
[PAID | Add-On | Standlone ] P90 with Attachments
[PAID | Add-On | Standlone ] Karabine 98k with Attachments
[Paid | Add-On | Standlone | Ped] Boblox Character
[PAID | Add-On | Standlone ] MP5A3 Attachments Fixxed Model
[PAID | Add-On | Standlone ] CheyTac M200 with Attachments
[PAID | Add-On | Standlone ] MP9 Attachments Fivem Ready
[PAID | Add-On | Standlone ] M16 with Attachments
[PAID | ADD-ON Weapon] Walther P88
[PAID | ADD-ON WEAPON] Weapon Barrett M107A1 - #3 by Blue_Style_DEV
[PAID | STANDLONE] Weapon Airsoft M1911
Escrow Script is accessible | No |
Closed Source Script is accessible | Yes |
Subscription-based | No |
Requirements | MySql (Optional Discord) |
Price Escrow | 9.99 + tax $ |
Price Closed Source | 26.99 + tax $ |