zfbx / zdiscord

A Discord bot that runs in FiveM for the purpose of whitelisting, moderation and utilties using discord.js
Other
211 stars 79 forks source link

Whitelisting not working well #91

Open MubinFR opened 1 year ago

MubinFR commented 1 year ago

Before submitting your question, have you checked the check the FAQ or checked for similar issues already?: Yes

Question: I have configured it carefully. Some players are able to enter the server despite not having a whitelist role. What is the solution? (I reinstalled everything, though)

Information: FiveM artifact: 5848 Using QBCore?: Yes When did you last update QBCore if you are using it?: 2 Months ago

zfbx commented 1 year ago

so for clarification the following values are set?

const EnableDiscordBot = true;
const EnableWhitelistChecking = true;
const DiscordWhitelistRoleIds = "123456789012345678";

and the users are not with the mod, admin or god roles?

also if you could enable const DebugLogs = true in config.js and share what is logged from start till 40 seconds in (you can hide any tokens and such if they show but it should spit out the important secret part as ************************)