Hello
Version 2.6 Is Out! But for now I removed Multiple Accounts Detection Duo To Many Problems.
What does this script do?
-
[Disabled] Anti Multiple Accounts : players information such as(steam hex, license, tokens) will be saved in database after first login. so they cant connect to server with a diffrent steam hex or license(new account).
-
Anti Unban: if you ban a player, the player can not connect to server or unban himself(Even if Steam, license, discordid, ip,… has changed) :}
Dependencies:
- ESX
- mysql-async
How to use:
- Execute the sql file in your server database.
- Then put start HR_BanSystem in server.cfg. (after es_extended or mysql script)
Note: Make Sure To Put Your Steam Hex In [server/main.lua - Admins] to use commands.
How Is This Possible? Are You Using HWID?
Not exactly HWID but im using a new native called GetPlayerToken() :
{Gets a player’s token. Tokens can be used to enhance banning logic, however are specific to a server.}
player tokens will not change if they change their information such as(discord id, ip, steamhex, license…)
Script Commands
/banreload reloads ban list
/ban [ServerID /SteamHex] [Ban Duration] [Reason]
/unban [SteamHex]
[Example] : /ban 32 30 Cheating
or
[Example] : /ban steam:1111943hfb 30 Cheating
[Server Export]
exports.HR_BanSystem:BanThis(ID, Day, Reason)
Will I make any changes in the future?
probably yes
- Compatibility Without ESX
- Using json file instead of SQL
Download