SMDV-ServerStatusPingFiveM
A simple and fast status checker for FiveM servers. It sends heartbeat pings, logs activity, and can notify a Discord webhook. This version is clean, easy to set up, and built to run with almost no performance impact.
What It Does
Sends regular status pings to any service you choose
Logs everything to your console
Saves logs to a file so you can look back at issues
Can also send updates to a Discord webhook
Shows a colorful splash when it starts
Sends a thank-you message after 15 seconds
Why It’s Useful
This script helps you keep track of server uptime and lets you know right away when something stops working. It’s lightweight and doesn’t slow your server down. Everything is controlled from one config file.
Features
Easy configuration
Fast and optimized
Log file support
Console logging
Discord logging
Retry system for failed pings
Startup splash screen
How To Install
Drag the folder into your
resourcesdirectoryEdit the
config.luafileAdd this to your server.cfg:
ensure smdv-ServerStatusPingFiveMRestart your server
Configuration
All options are in the config.lua file. You can change:
Ping interval
Webhook URL
Whether logs go to console, file, or Discord
How many retries pings should attempt
Status service URLs
Discord embed settings
Notes
This script is made to be simple and reliable. If you need extra features, more logging, or deeper monitoring tools, they can be added later.
Edited by SantosMods.dev
Desc Edit
What's New in Version 1.0
Released
Added
Added full console logging system
Added Discord webhook logging for status events
Added local file logging (
smdv_status.log)Added retry system for failed requests
Added configurable retry count and retry delay
Added ability to define multiple status services
Added toggles for every feature in
config.luaAdded improved webhook payload formatting
Added full LICENSE
Improved
Rewrote the entire heartbeat system for much lower CPU usage
Optimized main loop timing and request handling
Improved structure and readability of
server.luaCleaned and organized
config.luainto clear, editable sectionsImproved console output formatting with optional timestamps
Refined how logs and retries are handled
Enhanced embed structure for Discord messages
Improved internal error tracking and logging
Fixed
Removed unused code paths from earlier versions
Fixed inconsistent status outputs
Fixed Discord notifications not always sending
Fixed unsafe file write handling in log system
Fixed problems where some services didn’t retry properly
Removed
Removed outdated logic from earlier builds
Removed unnecessary internal variables
Removed cluttered print statements
Removed leftover debug structures
Removed old and redundant logging logic
Short Description
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Description
- Mod and Mod Content (Moderate)
AI assisted in obfuscation and script creation.
Recommended Comments
Create an account or sign in to comment