Hello This Is a Addon For DiscordBot script.
It will allow you to Whitelist & Ban people Using Discord Commands in your discord.
This Addon Does Not Have Any Form of Framework Dependency Like ESX or anything else beside The Bot Itself.
Commands That will be added :
- banid serverid : Ban an Online Player
- banoffline identifier : Ban a offline Player
- unban identifier : Unban a Player using their Identifier
- addwhitelist identifier : Whitelist a Player
- removewhitelist identifier : Remove a Player from Whitelist
Dependecy :
Fivem DiscordBot
Github :
How To Install :
Move BanWhiteList folder to your DiscordBot script folder.
Then add this to the DiscordBot fxmanifest.lua file :
server_scripts {
'BanWhiteList/BanWhitelistConfig.lua',
'BanWhiteList/Server.lua'
}
files {
'BanWhiteList/Whitelists.json',
'BanWhiteList/Bans.json'
}