SpawnQuiz

Discussion in 'Archived: Plugin Requests' started by Marium0505, Oct 25, 2013.

  1. Offline

    Marium0505

    Plugin category:
    General

    Suggested name:
    SpawnQuiz

    What I want:

    I have until now used a physical spawn quiz for my server, using rooms, the Server Signs plugin which performs commands when the player clicks on each answer.

    This is a good way to have a quiz when its working as it should, but is a complete hell do fix if it suddenly breaks for whatever reason.
    I have figured it would be much easier if the spawn quiz was done through chat, commands.

    I request a plugin which makes me able to set up the spawn quiz and make players do it through commands and the chat.

    I personally imagine that you do a command to start the quiz.
    The player's chat should be disabled until he has succeeded the quiz.

    The quiz and its questions and answers should be configurable in the config file for the plugin.
    The questions are A, B, C based, so they player picks the answer he thinks is the right one.

    It should be possible to use colors (&6, &1 etc) and the formatting codes (&l &o etc) in the questions and the answers.
    Multi-lines should also be possible (maybe with \n ? ).

    It should be possible to make it so commands are run when a player says the wrong answer, and when the player finishes the quiz. Allowing a <player> variable in those commands are eessentials.

    Here are two examples

    Example when a player finishes the spawn quiz successfully

    I log onto the server, find some important information about the server I logged on, read it, and then do the command to start the quiz ( /spawnquiz ).

    I have now started the spawn quiz, and I will only be able to see messages related to the quiz, the normal chat is currently disabled for me.

    The first question I get is (those are just random examples :p ):
    Question 1: Is your username Marium0505?
    Available Answers:
    A: Yes
    B: No
    C: I don't know
    Do /choose [#] to answer!​
    I do /choose A, since my username is Marium0505​
    Question 2: Do you like playing Minecraft?
    Available Answers:
    A: Yes
    B: No
    Do /choose [#] to answer!​
    I do /choose A, since I for sure like playing Minecraft.
    Question 3: This server runs on Bukkit?
    Available Answers:
    A: Yes
    B: No
    C: What's Bukkit?
    Do /choose [#] to answer!​
    I do /choose A since the server is obviously running on Bukkit.
    This was the latest question in the spawn quiz.
    In the configuration, is there multiple commands set to be done when someone finishes the spawn quiz with success. Those commands are run by console.
    1, /manuadd <player> member
    2. /broadcast <player> finished the spawn quiz with success, and has been promoted to Member!
    This means that, since I finished the spawn quiz with success, was the following commands executed by console:
    1. /manuadd Marium0505 member
    2. /broadcast Marium0505 finished the spawn quiz with success, and has been promoted to Member!
    Example when a player chooses the wrong answer on one of the questions​


    I make to choose the right answer on all the questions until the latest one, the third one.

    Question 3: This server runs on Bukkit?
    Available Answers:
    A: Yes
    B: No
    C: What's Bukkit?
    Do /choose [#] to answer!​
    I decide, for some reason to do /choose B, which is incorrect.
    When a player fails on answering a question is the following commands executed by console:
    /msg <player> Hey! Sorry, but you picked the wrong answer. Please re-read all the signs and the book so you can get the correct answer next time you try the quiz! :)
    /warp <player> information

    Ideas for commands:
    Player Commands:
    /spawnquiz - Starts the Spawn Quiz
    * Permission node: spawnquiz.start
    /choose [#] - Answers the questions
    * Permission node: spawnquiz.choose
    /quit - Stops the Spawn Quiz

    Admin Commands:

    /sqreload - Reloads the Spawn Quiz config

    When I'd like it by:
    As fast as possible.

    If you have any questions or suggestions, don't hesitate with making a reply to the thread.

    Thanks in advance! :)

    Regards,
    Marium0505
     
  2. Offline

    mattrick

    Hmm... I can make this to where the player literally replies to the question without going to the actual chat. For instance:

    Question 3: This server runs on Bukkit?
    Available Answers:
    A: Yes
    B: No
    C: What's Bukkit?
    Then the player literally types "A" in the chat. No commands, so it is much better.
     
    Marium0505 likes this.
  3. Offline

    Marium0505


    Hmm, yep, that's much easier! :)

    I would highly appreciate if you were able to make such a plugin! :)
     
  4. Offline

    mattrick

    I'll see what I can do....
     
    Marium0505 likes this.
  5. Offline

    _Filip

    Marium0505 likes this.
  6. Offline

    mattrick

    You can. I literally just got asked to develop for a server, so go ahead and take over! If you need any help, you can PM me :)
     
    JPG2000 likes this.
  7. Offline

    JPG2000

    Marium0505 Im not sure this would be so usefull for acouple of reasons:

    1) Its custom. Only your server would use this.
    2) You can EAISLY do this with ServerSigns. Just have signs that ask questions, and teleport to rooms if right/wrong.
     
  8. JPG2000 is right i have seen multiple servers that do this and when you get it wrong u die and have to go back through until you get them all right to make sure you read the server rules
     
  9. Offline

    Marium0505


    Like my OP says, have I already been using Server Signs for the quiz.
    Please read the whole OP before you reply.
     
  10. Offline

    Famous Guy

    Use server signs, I can set it up for you if you'd like.
     
  11. Marium0505 find it a waste of time for this and plus im not good with doing anything with signs
     

Share This Page