Introduction
A spigot plugin aimed to add fun chat based games to your Minecraft server to increase user engagement, it's very configurable and simple to use.
Features
- Give players rewards like money or items for answering the question correctly.
- Add your own custom games.
Examples
Configuration
config.yml
CONFIG_VERSION: 1 # Do not touch, determines compatibility with different versions.
LOG_TYPE: "MINIMAL" # Change to FULL for extra logs.
# Language settings for the plugin.
Language: "EN-US"
# Configuration for the chat game intervals.
# Define how frequently the game events should occur, in seconds.
GameInterval: 300
# Minim number of players required to start the game.
# The game will not start until this number of players have joined.
MinimumPlayers: 2
en-us.yml
###################################################################################
## Available Placeholders: ##
## {player} - Retrieves the players name. ##
## {timeout} - The time until the chat game ends in seconds. ##
## {descriptor} - The current games descriptor (for example "answer"). ##
## {question} - The current games question. ##
## {name} - The name of the current game. ##
###################################################################################
Prefix: "&b&lChatGames&r"
GameStart: "\n{prefix} You have &e{timeout} seconds &rto {descriptor}:\n&6{question}\n&r"
GameEnd: "\n{prefix} &cNo got the answer in time.\n&r"
GameWin: "\n{prefix} &a{player} won the game of {name}!\n&r"
trivia.yml
name: "Trivia"
descriptor: "answer"
timeout: 30
reward-commands:
- eco give %player% 300
questions:
- ["What is the capital of france?", "Paris"]
- ["What is the chemical symbol for gold?", "Au"]
- ["What is the smallest prime number?", "2"]
- ["What is the most spoken language in the world?", "English"]
- ["Who originally made Minecraft?", "Notch"]
- ["Which mob is known for exploding?", "Creeper"]
- ["What is the chemical formula for water?", "H2O"]
math.yml
name: "Math Wizard"
descriptor: "solve"
timeout: 30
reward-commands:
- eco give %player% 250
questions:
- ["What is 1+4", "5"]
- ["What is 4/4", "1"]
- ["What is 10 + 12", "22"]
- ["If x + x = 10, what is x?", "5"]
- ["if x + x = 20, what is x?", "10"]
unscramble.yml
name: "Unscramble"
descriptor: "unscramble"
timeout: 30
reward-commands:
- eco give %player% 300
questions:
- ["infmacter", "Minecraft"]
- ["acritnfem", "Minecraft"]
-
- ["eret", "Tree"]
- ["eter", "Tree"]
- ["eetr", "Tree"]
-
- ["pienlepap", "Pineapple"]
- ["epeilpnap", "Pineapple"]
- ["napipelpe", "Pineapple"]
-
- ["donimad", "Diamond"]
- ["madoind", "Diamond"]
- ["modadni", "Diamond"]