Commands

There are 2 main commands:

  1. /quiz (or /q)
  2. //quiz (or //q)

The difference is 1 forward slash (/)

/q ? Get help about starting/joining quizzes etc
//q ? Get help about creating quizzes

/quiz

List (help commands)

  • /quiz start ?
  • /quiz abort ?
  • /quiz join ?
  • /quiz leave ?
  • /quiz answer ?
  • /quiz list ?
  • /quiz reload ?
  • /quiz generate ?

Detailed descriptions

  • /q start <id> [seconds to join] [random question amount]
    • Start the specified quiz. Joining is disabled after 30 seconds, by default. The random question amount is 0 (zero) by default.
      That last parameter needs some explenation. If you have, for example, a quiz with 100 questions. And you set the random question amount to 5. The plugin will select 5 questions at random from the 100 questions that the quiz has.

  • /q abort
    • Abort a quiz that you just started, before joining/leaving is disabled.
  • /q join <quiz>
    /q j (alias)
    • Join a started quiz. Parameter quiz is usually the name of the player that started it.
  • /q leave
    • Leave the quiz that you have joined, before joining/leaving is disabled.
  • /q answer <number>
    /q a (alias)
    • Answer a question when in a quiz. Parameter number is the number of the answer, as listed in chat. Counting from the top, down.
  • /q list [page]
    • List all quizzes. Default page is 1.
  • /q reload
    • Reload the configuration file, after making manual changes.
  • /q generate
    • Generate the default quiz. Useful for reference, or quick start.

//quiz

List (help commands)

  • //q create ?
  • //q addq ?
  • //q adda ?
  • //q setcorrect ?
  • //q settime ?
  • //q addr ?
  • //q info ?
  • //q delete ?
  • //q save ?

Detailed descriptions

  • //q create <id>
    • You always start with this command. You are guided through the process via chat.
      Define a unique quiz id.
  • //q addquestion <question text>
    //q addq (alias)
    • Add a question. Define the question that will be asked.
  • //q addanswer <answer text>
    //q adda (alias)
    • Add an answer to the question. Define the text of the answer.
  • //q setcorrectanswer <answer number>
    //q setcorrect (alias)
    • Set the number of the correct answer, after you have added it.
  • //q setanswertime <question answer time>
    //q settime (alias)
    • Set the amount of time that players have to answer this question.
  • //q addreward <rank> <reward type> [...whatever this reward type needs]
    //q addr (alias)
    • Add rewards per rank. Each rank, can have multiple rewards.
      Rank 1 is the player with the highest score. The time is compared, when players have the same score.
      Read about available reward types below.
  • //q info [question number]
    • Get info about the quiz you are working on. Or define the question number, to get info about a particular question.
  • //q delete [id]
    • Delete the quiz you are working on. (Or delete some other quiz, if you specify the id)
  • //q save
    • Saves the quiz you are working on.

Reward types

These are the supported reward types, and their syntax

  • //q addr <rank> money <amount>

  • //q addr <rank> itemstack id%data#amount[enchantment%level]
    Or:
    //q addr <rank> itemstack
    While holding a stack of items. Or just an item.