Set up the join gate
Choose who can join your game server: anyone, anyone in your Discord, or only people with certain roles, ranks or divisions. Everyone else sees a card in your community's name with a button to join your Discord.
The join gate checks players while they connect to your game server. It replaces the "you must be in our Discord" check that DiscordAcePerms could do, and works as a whitelist.
Before you start#
- Game Permissions needs to be switched on for your community, and the LonexOne resource needs to be version 0.13.0 or newer.
- The LonexOne bot needs to be in your main Discord server.
- Add your Discord invite link under Branding & content, so the card can show a Join our Discord button.
Choose who can join#
- Click Game permissions under Mechanics, then the Join gate tab.
- Pick one:
- Anyone: no check.
- Anyone in our Discord: players must be in your main Discord server.
- Only people with certain roles: players need any one of the things you add. Click Discord roles, website roles, departments, ranks or divisions to add them, or drag them onto the box, the same way as on the board.
- Click Save.
It applies to players who connect from then on. Players already on the server stay on.
What players see#
A player who can't join sees a card while connecting, with your community's name and logo, the reason, and two buttons:
- Join our Discord opens your invite link.
- Retry checks again, so someone who has just joined your Discord or been given a role gets straight in.
Players whose Discord isn't linked to FiveM are told to open the Discord app on the same computer, then close FiveM completely and open it again.
If LonexOne can't be reached#
Players are let in, and the server console says the join gate couldn't reach LonexOne. A website outage never locks your server. The same happens if the bot can't see your Discord server for a moment.
Something not working?#
A player has the role but the card says they need it. Open Check a player on the Game Permissions page and search for them. Under Discord roles you'll see what LonexOne sees:
- If the role is missing from the list, FiveM is probably linked to a different Discord account than the one with the role. They should open the Discord app signed in to the right account, then close FiveM completely and open it again.
- If it says the roles aren't known, the bot can't see your Discord server. Check the LonexOne bot, or your own bot if you use one, is in your main Discord server.
See also
Can't find what you need?
Open a ticket in our Discord and someone from the team will help. Found a bug, or missing a feature? Tell us on the feedback board.