Password Whitelist Script by Puntherline controls who can join your FiveM server. You can require a password, an identifier whitelist, or let players in with either one. It is a small server-side resource and works without a framework.
Features
- Password protection (
Config.UsePassword,Config.Password) - Identifier whitelist (
Config.UseWhitelist): add Steam, FiveM license, Xbox Live, Live, Discord or IP identifiers; one identifier per player is normally enough - Whitelist and password together: players must be whitelisted and know the password
- Clever mode (recommended): players must either be whitelisted or know the password
- Limited password attempts (3 by default)
- Your Discord invite link is shown to players (
Config.DiscordLink)
Installation
- Copy the
passwordfolder into your resources. - Set the options and whitelist entries in the config section of
server.lua. - Add
ensure passwordto your server.cfg.