Answers to questions with actions in as low as 1 line of code!
Ever needed to ask a player a question and execute a set of actions depending on their answer?
Now you can do this in a single line of code! Think you can easily program something like this on your own every single time you need to ask a player a question? You can, but you will end up having to type several hundred lines of code every single time because of the way queued questions work!
Hope all the bukkit developers out there put this to great use!
Planned Features:
- Execute custom BukkitRunnable depending on answer
- Larger set of command options
- Questions, depending on the answer, lead to other questions
- Perform certain commands or BukkitRunnable's when timeout ends if it does
Getting Started
- Choose a plugin that your going to use to ask a question with and add iQuestion.jar to this plugin's build path
- Add iQuestion.jar to server
Asking Questions
Click here to view the image up closer and larger.
Command Types
More and more commands will be added every update to be sure to give you guys the widest range of command options possible! Feel free to request your own command type ideas so they can be added to the plugin! Thanks.
- Answer.ACCEPT_CMD ("accept")
- Answer.DECLINE_CMD ("decline")
- Answer.LATER_CMD ("later")
- Answer.NEVER_CMD ("never")
Commands
- /qtest - Runs the example above taking you through a simulation of what it's liked to be asked a question and get to answer.