Requirements DRP_WHITELIST
fivem-mysql-async v3.0.x
Essentialmode
Note
Taken out of beta should be stable, would love some feedback on the system when tested on FiveM Forums
Description
This is just another MySQL Whitelist script, but done the way I wanted a whitelist script to work.
Most whitelist scripts I have tried, where either missing the feature to add SteamID’s or License ID’s on the fly, with out having to run a reload command, or restart the script, and you had to convert the SteamID to hex.
And that is why I created this script, it supports adding steam id’s with out having to convert them to hex, and it support’s the usage of license identifier to, the in-game commands are based on essentialmode, but it features rcon commands to, and from what I read they support’s ace permissions, so it can be made a standalone release quite easy.
But I don’t got enough experience with ace permissions, I would love to hear more about it, so I can do a 100% standalone release.
Supports translation - credits: es_extended
Update 1.2
Now using Deferrals, should solve not whitelisted issue some mentioned.
Added Whitelist Reloading /reloadwl and rconreloadwl
Github
Download
https://github.com/benzon/DRP_WHITELIST/archive/1.2.zip
Features
- Supports SteamID64 (steam:*****************)
- Supports License ID (license:**)
- Simple SteamID validation counts numbers after steam: should be 17
- Simple License ID validation counts numbers/letter after license: should be 40
- Supports rcon commands
- Remove SteamID and License ID via rcon and essentialmode command
- You can remove SteamID’s in 64 format or in HEX format!
- Support reloading whitelist
Installation DRP_WHITELIST
- Download - https://github.com/benzon/DRP_WHITELIST/archive/1.2.zip
- Put it in the
resources
directory - Add this to your
server.cfg
:
start DRP_WHITELIST
Import whitelist.sql to your database
Commands
- /addwl ID (ex. steam:76561197960287930)
- /removewl ID (ex. steam:76561197960287930 or steam:1100001000056ba)
- /reloadwl (reloads the whitelist from SQL)
- rconaddwl ID (ex. license:xxx)
- rconremovewl ID (ex. license:xxx or steam:76561197960287930)
- rconreloadwl (reloads the whitelist from SQL)
Credits/Inspiration
essentialmode @Kanersps - The way there ban system is done where an inspiration to validate the whitelist.
WhiteList DB (Async) 2.0 @HavannaPC - Inspiration to add rcon command, sadly this release is out of date and got some bugs.
es_extended (indilo53) - Credits for locale.lua (It’s only included in the release to make it more standalone, and not require esx)