FiveHook
Stop Hardcoding Your Discord Webhook Token in Scripts
βββββββββββββββββββββββββββββββββββββββStop Hardcoding Your Discord Webhook Token in Scripts
Hidden link for visitors, to see
Log in or register now.
The problem
If you're using Discord webhooks in your FiveM scripts, there's a good chance you've got the URL sitting right there in your code. Anyone who gets their hands on that script β whether through decompiling, leaking, or just being a developer on your server β has full access to your webhook token.
With that token, they can spam your channel, post whatever they want, or delete the webhook entirely. Most people don't think about this until something actually goes wrong.
βββββββββββββββββββββββββββββββββββββββ
What FiveHook does
FiveHook sits between your FiveM server and Discord. Instead of putting your real Discord webhook URL into your script, you paste in a proxy URL that FiveHook generates for you. Your actual token never leaves the server β it's stored securely and only used when forwarding your messages to Discord.
From your script's perspective, nothing changes. It sends a request, the message shows up in Discord. That's it.
βββββββββββββββββββββββββββββββββββββββ
Protections
Each webhook comes with a set of toggleable protections:
- User-Agent Protection β Only accepts requests that come from FiveM's native HTTP client. Anything sent from a browser, Postman, or a bot gets rejected. Even if someone steals your proxy URL, they can't use it outside of FiveM.
- Rate Limiting β You set how many requests are allowed within a given time window. If a script goes haywire and starts hammering the endpoint, it gets cut off automatically.
- Duplicate Detection β Filters out repeated identical messages within a sliding window. Keeps your Discord channel clean and prevents spam loops.
- IP Allowlist β Optionally lock your webhook down to specific IP addresses. Only requests from your server's IP will be processed β everything else is dropped.
Dashboard
There's a dashboard where you can manage your webhooks, view request stats, and browse logs for every request that came through β allowed, blocked, rate limited, whatever. Useful for debugging scripts and keeping an eye on traffic.
βββββββββββββββββββββββββββββββββββββββ
Getting started
- Go to
Hidden link for visitors, to see Log in or register now.
- Log in with Discord
- Create a webhook and paste your Discord webhook URL
- Copy the proxy URL into your script
- Done
Pricing
Free. No card required, no subscription, no catch.
βββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββ
Privacy
If you wonder and suspicious about "How this website free, they're logging your data!" you can see our
Hidden link for visitors, to see
Log in or register now.
.βββββββββββββββββββββββββββββββββββββββ
Hidden link for visitors, to see
Log in or register now.