[PAID] DL QUESTIONWHITELIST - Question Based Ingame Whitelist [EVERY FRAMEWORK]




Howdy folks,
im proud to present to you my new Whitelist System.
This Script allows you to create a Catalogue of Questions that are randomly selected and asked to new Players.

Get it here: https://drshwaggins-scripts.tebex.io/package/5915178
Showcase: https://youtu.be/6gm3W5wBjng


Feature List

  • Discord Role Support
    Check the Whitelist Status of Players with Discord Roles.
    Assign Roles to the Player if they pass the Test.
    Remove Roles from the Player if they pass the Test.

  • Randomly Selected Questions from your Question Catalog
    Create a Catalog and Setup the amount of Questions actually asked.

  • Test Timer
    Setup a Timer for the Test

  • Temporary Bans on failure
    Setup a Custom Temporary Ban time if a Player fails the Test

  • Compatible with every Framework!
    Because the Script uses Basic Lua and RedM Functions it is compatible with every RedM Framework

  • 100% Translatable in every Language


Example Config

Config = {}

Config.AskOnJoin = true -- Otherwise use the export event to ask for whitelist status (Readme)

Config.AskedQuestions = 3
Config.MaxErrorCount = 2  -- if set to 2 the player will be banned/kicked if he makes his 3rd mistake
Config.QuestionTimer = 5 -- in minutes

Config.BanPlayerIfFailed = true
Config.BanTime = 1 -- in hours
Config.BanReason = "Whitelist failed!"

Config.Language = {
  ['nextQuestion'] = "Next Question",
  ['endQuiz'] = "End Quiz"
}

Config.UseDiscordRoles = false  -- If true, it checks the users discord roles instead of the status in the database !
Config.DiscordToken = "" -- Your Discord Bot Token
Config.DiscordGuildID = ""  -- Your Discord Server ID / GuildID
Config.DiscordCheckRoles = {953425450245829097,1153659959377133578} -- Role ID´s that are checked (if the player has the roles, he already has the whitelist if not he has to do the questions)
Config.DiscordAddRoles = {1153659959377133578}  -- Roles that will be added if the player passes the questions
Config.DiscordRemoveRoles = {1153680924580511805} -- Roles that will be removed if the player passes the questions

Config.UseLogger = false  -- Turn on if Logging
Config.Webhook = ""
Config.webhookAvatar = ""
Config.WebhookName = "DL-Questionwhitelist"

Config.QuestionList = {

  {
    id = 0,
    question = "How many Sherffis have to be online to Rob people ?",
    possibleanswers = {
      {
        answerID = 1,
        answer = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et"
      },
      {
        answerID = 2,
        answer = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,"
      },
      {
        answerID = 3,
        answer = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At"
      }
    },
    rightanswer = 2 -- AnswerID of the right answer here
  },


  {
    id = 1,
    question = "What is the right way to deal with Fail RP",
    possibleanswers = {
      {
        answerID = 1,
        answer = "Immediately stop playing and go to Support"
      },
      {
        answerID = 2,
        answer = "Continue to Play the Situation and open a Support Ticket after"
      },
      {
        answerID = 3,
        answer = "Tell the player that hes currently doing Fail RP"
      },
      {
        answerID = 4,
        answer = "Your allowed to kill the player to end the FailRP"
      }
    },
    rightanswer = 2
  },

  {
    id = 2,
    question = "What is RDM?",
    possibleanswers = {
      {
        answerID = 1,
        answer = "Killing a Person Randomly with Weapons or Fists without RP Background"
      },
      {
        answerID = 2,
        answer = "Killing a Person Randomly with a Vehicle without RP Background"
      },
    },
    rightanswer = 1
  },

}

Code is accessible No (Only UI)
Subscription-based No
Lines (approximately) 400
Requirements oxmysql
Support Yes

Please Open a Ticket on my discord for Detail Support