Installation
Open Ports
This guide explains how to allow port 3737 for both TCP and UDP traffic, for Inbound and Outbound directions, using Windows Defender Firewall.
Requirements
You must run the commands in Command Prompt (CMD) or PowerShell as Administrator.
1) Open TCP 3737 (Inbound)
netsh advfirewall firewall add rule name="FiveMStats - TCP 3737 - In" dir=in action=allow protocol=TCP localport=37372) Open TCP 3737 (Outbound)
netsh advfirewall firewall add rule name="FiveMStats - TCP 3737 - Out" dir=out action=allow protocol=TCP localport=37373) Open UDP 3737 (Inbound)
netsh advfirewall firewall add rule name="FiveMStats - UDP 3737 - In" dir=in action=allow protocol=UDP localport=37374) Open UDP 3737 (Outbound)
netsh advfirewall firewall add rule name="FiveMStats - UDP 3737 - Out" dir=out action=allow protocol=UDP localport=3737Verify Rules
To confirm the rules exist:
Remove Rules (Rollback)
If you need to delete the rules later:
Notes
These commands configure Windows Defender Firewall only.
If you are using a hosting provider, VPS panel, or additional DDoS/firewall layer, you may also need to allow port 3737 there.
Ensure the application/service is actually listening on port 3737 on the server.
Aşağıda FiveMStats script kurulumu için İngilizce, adım adım ve dokümantasyona hazır bir kurulum rehberi bulacaksın. Attığın görsele göre Add New Server adımını detaylandırdım.
FiveMStats Script Installation Guide
This guide explains how to install and connect the tgiann-fivem-stats-script to fivemstats.net.
1. Download the Script
Download tgiann-fivem-stats-script from your CFX Portal account.
Make sure you have the latest version.
2. Install the Script
Upload the script to your server’s resources folder:
resources/tgiann-fivem-stats-scriptAdd the script to your server.cfg:
ensure tgiann-fivem-stats-scriptRestart your server (or ensure the resource).
3. Configure the Secret Key (IMPORTANT)
Open the script’s config file:
tgiann-fivem-stats-script/config.luaChange the following value:
Security Notice
This key is used to authenticate your server with FiveMStats
Never share this key with anyone
Do NOT commit this key to public repositories
If the key is leaked, regenerate it immediately and update both:
The script config
The FiveMStats dashboard
4. Add Your Server on FiveMStats
If you are not logged in, sign in with Discord.
Click the “Add Server” button.
5. Fill in Server Details
You will see the Add New Server form.
Fields Explanation
Server Name A display name for your FiveM server
Server IP Address Enter your server IP and FiveM port
Secret Key Paste the same Secret Key you configured in
config.lua
Click Add Server
Troubleshooting
Server not connecting?
Check firewall / DDoS protection
Verify the Secret Key matches exactly
Ensure the resource is started
Check server console for errors
Last updated