Chat Trivia is a plugin that makes a fun trivia game pop up in the chat! Players will have to answer the question before the round ends. Whoever answers it first, wins a prize!
Features
500+ preset questions, stored in an easy JSON file.
Add your own questions!
Prevent players from spamming to win by setting a cooldown on their answers in the config!
Give players rewards like money or items for answering the question right!
Run a command when a player wins, to give items like crate keys!
Examples Win Anti-spam/Cooldown
Configuration
Code (YAML):
#The numbers in this config are amount of ticks. 20 ticks = 1 second; so 1 minute would be 1200 questions:
time_between_questions: 1200
round_length: 600
#Set this to more than -1 if you would like players to not be able to spam answers, but still be able to answer more than once cooldown: 10
rewards:
win_money: true
win_amount_money: 100
win_item: true
#Set the type of item(MUST BE IN ALL CAPS) and the amount below win_amount_item:
==: org.bukkit.inventory.ItemStack
type: DIAMOND
amount: 1
# If you put something in between the "", it will run your command when someone wins. Do not put the / # Use %player% , in place of the Player's name! win_command: ''
Commands
/trivia reload: Reloads config
Dependencies
Vault if you wanna give players money (Not required)
Economy plugin compatible with Vault
Have a question or need to report a bug? Join my support Discord! I am open to criticism and feature requests!