Commands
There are 2 main commands:
/quiz(or/q)(or//quiz)//q
The difference is 1 forward slash (/)
/q ? Get help about starting/joining quizzes etc
Get help about creating quizzes
//q ?
/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 amountis 0 (zero) by default.
That last parameter needs some explenation. If you have, for example, a quiz with 100 questions. And you set therandom question amountto 5. The plugin will select 5 questions at random from the 100 questions that the quiz has.
- Start the specified quiz. Joining is disabled after 30 seconds, by default. The
/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
quizis usually the name of the player that started it.
- Join a started quiz. Parameter
/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
numberis the number of the answer, as listed in chat. Counting from the top, down.
- Answer a question when in a quiz. Parameter
/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.
- Generate the default quiz. Useful for reference, or quick start.
//quiz
//quizList (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.
- You always start with this command. You are guided through the process via chat.
//q addquestion <question text>(alias)//q addq- Add a question. Define the question that will be asked.
//q addanswer <answer text>(alias)//q adda- Add an answer to the question. Define the text of the answer.
//q setcorrectanswer <answer number>(alias)//q setcorrect- Set the number of the correct answer, after you have added it.
//q setanswertime <question answer time>(alias)//q settime- Set the amount of time that players have to answer this question.
//q addreward <rank> <reward type> [...whatever this reward type needs](alias)//q addr- 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.
- Add rewards per rank. Each rank, can have multiple rewards.
//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.
- Get info about the quiz you are working on. Or define the
//q delete [id]- Delete the quiz you are working on. (Or delete some other quiz, if you specify the
id)
- Delete the quiz you are working on. (Or delete some other quiz, if you specify the
//q save- Saves the quiz you are working on.
- 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.