Description
The plugin will say questions you have created, and give a prize for the first player who find the answer ! But beware, malus can also be given for those who give a wrong answer. A lot of things are configurables: the prizes, malus, time between two answers, delay to answer, propositions…
NB: The items prize can be modded items
Screenshots
Functionalities
- 2 Types of question
- Simple: answer hidden
- Proposition: Show multiple propositions
- Prizes can be money, items and commands. You can disable the announcement
- Malus can be money. You can disable the announcement
- Cooldown between two answers to avoid spamming
- Timed question
- Weight: the more weight a question has, the more likely it is to be asked
- Answer given by players can be hidden
- Minimal players required to launch a question
- 3 modes to define how the questions are asked:
- fixed: a new question is asked after a cooldown
- interval: a new question is asked between a minimum cooldown and a maximum cooldown
- manual: questions are asked only manually, with /qt ask (permission required: questionstime.command.ask)
Create a question
- Type /qtc and follow the steps.
- You need the permission questionstime.command.create.
Configuration
The files are created during the plugin launch. If you want to reset a configuration file, just delete it and relaunch the server.
Global
File: config.conf
mode
:- Define how the questions are asked:
- fixed: a new question is asked after the cooldown
- interval: a new question is asked between minCooldown and maxCooldown
- manual: questions are asked only manually
- Define how the questions are asked:
cooldown
:- The time in ticks after a question will be asked. The
mode
field need to be set tofixed
- The time in ticks after a question will be asked. The
minCooldwon
/maxCooldown
:- Defined a period between
minCooldown
andmaxCooldown
in ticks during which a question can be asked. Themode
field need to be set tointerval
- Defined a period between
minConnected
:- Defines the minimum of players connected required in order to ask a question
personnalAnswer
:- If true, the answer given by a player isn’t shown in the chat
- If false, the answer given by a player is shown in the chat
Message
File: message.conf
You can modify the messages displayed by the plugin.
Some lines have “components”, a word between brackets that will be replaced by the plugin to display information. You can’t change, add or remove a component.
Ideas to implemented
- Multiple answers
- Reload config
- Adding the author of a question
- Multiple winners with different prizes according to their position
- Execute commands as malus
- General statistics
- Statistics per player
- When someone found an answer, he can’t respond again if the question is re-asked
- Change question information (prizes, time between two answers…) through a command
- Repeat a question only if all the other questions have been asked
- Show the current asked question to the players who connected after