Trivia
A Fabric plugin that adds a question and answer event and rewards players for getting correct answers.
Highlights
Questions and Answers are display through Pixelmon dialogues.
Point base rewards, encouraging competitiveness to get the best rewards.
Trivia result are display through user interface where players can see their points, each other's answers, and points leaderboard as well.
Commands
/trivia
N/A
Opens the user interface displaying the trivia results.
/trivia info
N/A
Shows the plugin information and commands.
/trivia reload
trivia.command.reload
Reloads the configuration files.
/trivia join
trivia.command.join
Joins the trivia.
/trivia leave
trivia.command.leave
Leaves the trivia.
/trivia stop
trivia.command.stop
Stops the trivia.
/trivia start <trivia>
trivia.command.start
Starts the trivia.
Main Configuration
Expand
{
"CommandAlias": [
"trivia",
"kahoot"
],
# The time in seconds before actually starting the trivia.
"WaitDuration": 60,
"Trivia": {
"Trivia1": {
"ShuffleQuestionnaires": true,
"Questionnaires": [
{
# The points the player will get for correctly answering this question.
"Points": 1,
# The time in seconds before proceeding to the next question.
"Duration": 10,
"Question": "What was the first legendary pokemon ash saw?",
"Answers": [
"Ho-Oh"
],
"Choices": [
"Entei",
"Celebi",
"Ho-Oh",
"Mewtwo",
"Magikarp"
]
},
{
"Points": 1,
"Duration": 10,
"Question": "How many plates does arceus have?",
"Answers": [
"19"
],
"Choices": [
"19",
"20",
"16"
]
}
],
"Rewards": {
# The required points needed to get these rewards.
"1": [
"give %player% minecraft:dirt 1",
"tell %player% You received 1x Dirt!"
],
"2": [
"give %player% minecraft:diamond 1",
"tell %player% You received 1x Diamond!"
]
}
},
"Trivia2": {
"ShuffleQuestionnaires": true,
"Questionnaires": [
{
"Points": 2,
"Duration": 15,
"Question": "Which Pokémon is known for having the signature move “Spacial Rend”? (2 Points)",
"Answers": [
"palkia"
],
"Choices": []
},
{
"Points": 1,
"Duration": 10,
"Question": "Galarian Stunfisk is exclusively a Steel Type?",
"Answers": [
"False"
],
"Choices": [
"True",
"False"
]
}
],
"Rewards": {
"1": [
"give %player% minecraft:dirt 1",
"tell %player% You received 1x Dirt!"
],
"2": [
"give %player% minecraft:diamond 1",
"tell %player% You received 1x Diamond!"
]
}
}
}
}User Interface Configuration
Messages Configuration
Dependencies
Java 21
Example
Last updated