ChatQuiz 1.1.0

An easily configurable in-game chat quiz plugin

  1. Harriiison
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    ChatQuiz is an easily configurable and highly customisable in chat quiz system for your minecraft server. All aspects of this plugin from the quiz itself, to the way the messages are sent in chat is fully customisable.

    This plugin provides users with an interactive in chat quiz, where to answer a question they must simply just click on the answer in chat.

    In order to start a quiz, anyone with the permission quiz.admin can run the command /quiz start [Player] [QuizName]. This is ideal for having non-players such as command blocks, the console, or NPCs to be able to initiate a quiz for a player upon an action.

    Features
    • Allows an infinite number of quizzes, questions and answers to be set up on a server
    • Fully configurable plugin message formats
    • Supports answers having numerous outcomes
    • Quizzes timeout after 1 minute of inactivity
    • Signs can be configured to start quizzes when right clicked on (more information below)
    Commands (Admin Only)
    • /quiz reload: Reload the quiz configuration and questions
    • /quiz start [Player] [quizName]: Begin a quiz for a player
    To begin making a quiz, open the config.yml file generated in the plugins directory. This file is automatically created upon dragging ChatQuiz.jar into your plugins directory and restarting your server.

    Example



    The example below demonstrates how to create a quiz that asks players to answer questions that will then decide who their best fit Greek God parent would be.

    Code (YAML):
    # QUIZ SETTINGS

    settings
    :
      exampleQuiz
    :
        questionTitle
    : "&eQuestion {questionNo}"
        questionSubtitle
    : "&7Click the corresponding option in chat to answer"
        questionFormat
    : "&bQuestion {questionNo}: &e{question}"
        answerFormat
    : "&b[{answerNo}] &3{answer}"
        endMessage
    : "&c&lThe quiz is over!"
        outcomeMessage
    : "&bYour most commonly selected answer was &e{outcome}"

    # YOUR QUIZZES:

    exampleQuiz
    :
      1
    :
        question
    : "What is your favourite animal?"
        answers
    :
          1
    :
            answer
    : "Eagle"
            outcomes
    :
             - "Zeus"
          2
    :
            answer
    : "Horse"
            outcomes
    :
             - "Poseidon"
          3
    :
            answer
    : "Pig"
            outcomes
    :
             - "Demeter"
          4
    :
            answer
    : "Vulture"
            outcomes
    :
             - "Ares"
          5
    :
            answer
    : "Owl"
            outcomes
    :
             - "Athena"
          6
    :
            answer
    : "None of these"
            outcomes
    :
             - "Nike"
              - "Iris"
              - "Satyr"
      2
    :
        question
    : "In battle which position are you most likely to take?"
        answers
    :
          1
    :
            answer
    : "Defensive positions"
            outcomes
    :
             - "Apollo"
              - "Satyr"
          2
    :
            answer
    : "Frontline attack"
            outcomes
    :
             - "Ares"
              - "Zeus"
              - "Poseidon"
          3
    :
            answer
    : "Strategy planning"
            outcomes
    :
             - "Athena"
              - "Nike"
          4
    :
            answer
    : "Communications"
            outcomes
    :
             - "Iris"
      3
    :
        question
    : "What is your favourite element?"
        answers
    :
          1
    :
            answer
    : "Air"
            outcomes
    :
             - "Zeus"
              - "Iris"
              - "Athena"
              - "Nike"
          2
    :
            answer
    : "Earth"
            outcomes
    :
             - "Demeter"
              - "Satyr"
          3
    :
            answer
    : "Fire"
            outcomes
    :
             - "Poseidon"
              - "Dionysus"
          4
    :
            answer
    : "Water"
            outcomes
    :
             - "Ares"
              - "Apollo"
    Config Help: Settings
    The Settings section of the config allows you to specify custom messages that are used in a quiz when: a question is sent, an answer is posted, the quiz is over, and the player is given an outcome.

    These are as follows:
    • questionTitle is the text in the title shown on the player's screen before each question
    • questionSubtitle is the text in the subtitle shown on the player's screen before each question
    • questionFormat is the format of the question message
    • answerFormat is the format of the answer message
    • endMessage is the format of the quiz completion message
    • outcomeMessage is the format of the message telling you your result
    Colour codes are supported in these messages.

    The following placeholders can be used within the above messages:
    • {quizName} → the name of the quiz
    • {questionNo} → the question number
    • {question} → the question
    • {answerNo} → the answer number
    • {answer} → the answer
    • {outcome} → the quiz outcome
    Remember to include curly brackets.

    Signs
    ChatQuiz supports the use of signs to start quizzes.

    A quiz sign can be created by making a new sign with the following format:
    Code (Text):
    1. [QUIZ]
    2. quizname
    3.
    4.
    Colour codes are again supported in the signs, but make sure the quizname matches the quiz name in the config.yml.

    In order to use a quiz sign, the player must have the permission node of either quiz.admin or quiz.signs.quizname.

    View the video below for an example of how to create a quiz sign for the quiz named parentage.


    Help
    If you need help or have any questions about ChatQuiz, please ask in the discussion. Please provide your config and logs in order to help with the support process. Refrain from asking for help in the reviews.

Recent Updates

  1. v1.1.0

Recent Reviews

  1. SlappySalmon
    SlappySalmon
    5/5,
    Version: 1.1.0
    Works just as intended! Thanks a ton, maybe try creating another form of quiz to also have correct and incorrect answers would be cool :D