From be2b6c4770b1f276eb939ce6b5e2789965bc6cd8 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Sun, 17 Jul 2022 20:03:33 +0200 Subject: [PATCH] Added whitelisting If you write "whitelist" in the notWhitelistedMessage then fivem will turn it into "allowlist" --- ND_Core/config_client.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ND_Core/config_client.lua b/ND_Core/config_client.lua index cedbe8b..fc5e156 100644 --- a/ND_Core/config_client.lua +++ b/ND_Core/config_client.lua @@ -12,8 +12,9 @@ config = { -- If you'd like to whitelist certain roles on discord then set this to true and add role ids. enableDiscordWhitelist = false, + notWhitelistedMessage = "You're not allowlisted in this server please join our discord to apply for a allowlist: https://discord.gg/Z9Mxu72zZ6", whitelistRoles = { - "0" + "872921520719142932" }, -- Discord Rich presence @@ -26,4 +27,4 @@ config = { firstButtonLink = "https://discord.gg/Z9Mxu72zZ6", secondButtonName = "TEBEX", secondButtonLink = "https://andyyy.tebex.io/category/fivem-scripts" -} \ No newline at end of file +}