On a roleplay server, the FiveM whitelist filters out players who do not follow the rules before they ever enter the city. The simplest flow is: the player fills in a form on the website, the application lands in a private Discord channel, and staff approve or reject it.
Which questions to ask
Keep the form short, otherwise good players give up. Usually this is enough:
- Discord and Steam name (or another identifier your server uses);
- age and roleplay experience;
- character name and backstory, in a few lines;
- 2–3 questions about the server rules, for example what metagaming or powergaming means;
- confirmation that they read the rules.
How the application reaches Discord
Discord has webhooks: a secret link you create in the settings of a channel. Any message sent to that link appears in the channel. The website form sends the application to the webhook, nicely formatted, with every answer in its own field.
The security mistake many people make
Do not put the webhook link in the page JavaScript. Anyone who opens the source code can see it and flood your channel with spam or fake messages. Sending to Discord must happen on the server, from a PHP file, and the link only lives in the config on your hosting.
Anti‑spam protection
- A limit of applications per IP, for example one every few hours.
- A hidden field for bots (honeypot) or an anti-bot check.
- A minimum answer length, so you do not get one-word applications.
After approval
Staff give the player the whitelist role on Discord, and the FiveM server checks the role or a list of identifiers when the player connects. The connection check belongs to your server resources, not to the website.
What else to put on an RP server website
- Live stats: online players and queue.
- Available factions and jobs.
- The full rules, grouped by category.
- The staff team and the Discord link.
Starting from a template?
The FiveM RP HYPE template already has a whitelist form with automatic sending to Discord, live stats and pages for factions and rules. See all FiveM options.
