This plugin adds 5 interactive chat mini-games to your server:
- Speed Click
- Solve math equation
- Who can type the fastest
- Scramble
- Quiz
Highly configurable, you can enable or disable games, change the messages, time, rewards etc.
Requires Spigot or PaperSpigot to run.
Commands and permissions:
/chatgames enable (chatgames.manage)
/chatgames disable (chatgames.manage)
/chatgames status (chatgames.manage)
/chatgames reload (chatgames.admin)
Economy feature
You can set money as a reward - requires
Vault plugin and one of economy plugins
Default configuration files:
config.yml
Code (YAML):
# Minimum players required to start the game
MinPlayers
: 1
# Time between games (seconds)
TimeBetween
: 120
Games
:
SpeedClick:
Enabled
: true
TimeToAnswer
: 10
# <- seconds
Message
:
"§7[§6§lGAMES§7] §eClick {click}§e to win!"
ClickWord
:
"§c§lHERE"
ClickHover
:
"§cClick here!"
Winner
:
"§7[§6§lGAMES§7] §ePlayer §a{player}§e clicked first, time: §a{time}s§e!"
MsgToWinner
:
"§aYou received §6$200§a for winning!"
Title
:
"§6§lCongratulations!"
Subtitle
:
"§7You clicked first!"
TimeIsUp
:
"§7[§6§lGAMES§7] §cNobody clicked on time! §4:("
Rewards
:
# Money feature requires the Vault plugin and one of economy plugins
Money
: 200
# Commands to run by the console
Commands
:
-
"give {player} gold_ingot 16"
Solve:
Enabled
: true
TimeToAnswer
: 20
Message
:
"§7[§6§lGAMES§7] §eSolve to get the reward: §a{math}"
Winner
:
"§7[§6§lGAMES§7] §ePlayer §a{player}§e has solved the equation, time: §a{time}s§e. Answer: §a{answer}§e."
MsgToWinner
:
"§aYou received a prize for winning!"
Title
:
"§6§lCongratulations!"
Subtitle
:
"§7You solved the equation!"
TimeIsUp
:
"§7[§6§lGAMES§7] §cNobody solved the equation on time! Answer: §e{answer}"
Rewards:
Money
: 0
Commands
:
-
"give {player} diamond 64"
Type:
Enabled
: true
TimeToAnswer
: 30
TextLength
: 10
Message
:
"§7[§6§lGAMES§7] §eHover over the message and enter text to receive a reward!"
Winner
:
"§7[§6§lGAMES§7] §ePlayer §a{player}§e rewrote the text in §a{time}s§e!"
MsgToWinner
:
"§aYou received §6$200§a for winning!"
Title
:
"§6§lCongratulations!"
Subtitle
:
"§7You were the fastest!"
TimeIsUp
:
"§7[§6§lGAMES§7] §cNo one rewrote the text on time! §4:("
Rewards:
Money
: 200
Commands
:
[
]
Scramble:
Enabled
: true
TimeToAnswer
: 30
Message
:
"§7[§6§lGAMES§7] §ePut the letters in the correct order to get a reward: §a{text}"
Winner
:
"§7[§6§lGAMES§7] §ePlayer §a{player}§e solved the puzzle in §a{time}s§e! Answer: §a{answer}§e."
MsgToWinner
:
"§aYou received a prize for winning!"
Title
:
"§6§lCongratulations!"
Subtitle
:
"§7You were the fastest!"
TimeIsUp
:
"§7[§6§lGAMES§7] §cNo one solved the puzzle in time! Answer: §e{answer}"
Rewards:
Money
: 0
Commands
:
-
"minecraft:xp 5L {player}"
Quiz:
Enabled
: true
TimeToAnswer
: 30
Message
:
"§7[§6§lGAMES§7] §eAnswer the question to get a reward: §a{text}"
Winner
:
"§7[§6§lGAMES§7] §ePlayer §a{player}§e answered correctly in §a{time}s§e! Answer: §a{answer}§e."
MsgToWinner
:
"§aYou received §6$500§a for winning!"
Title
:
"§6§lCongratulations!"
Subtitle
:
"§7You were the fastest!"
TimeIsUp
:
"§7[§6§lGAMES§7] §cNobody answered on time! Answer: §e{answer}"
Rewards:
Money
: 500
Commands
:
[
]
Messages:
NoPermission
:
"§8[§7§lChat§6§lGames§8]§c Insufficient permissions."
Enabled
:
"§8[§7§lChat§6§lGames§8]§a Game resumed."
StatusEnabled
:
"§8[§7§lChat§6§lGames§8]§e Game status: §aenabled§e."
AlreadyEnabled
:
"§8[§7§lChat§6§lGames§8]§c Game is already enabled."
Disabled
:
"§8[§7§lChat§6§lGames§8]§a Game paused."
AlreadyDisabled
:
"§8[§7§lChat§6§lGames§8]§c Game is already paused."
StatusDisabled
:
"§8[§7§lChat§6§lGames§8]§e Game status: §cdisabled§e."
Reload
:
"§8[§7§lChat§6§lGames§8]§a The configuration files have been reloaded."
words.yml
Code (YAML):
Words
:
- Creative
- House
- Sapling
- Glass
questions.yml
Code (YAML):
1:
Q
:
"Sample question #1?"
A
:
-
"Answer1"
-
"Answer2"
2:
Q
:
"Sample question #2?"
A
:
-
"Answer3"
-
"Answer4"
If you have any suggestions or bugs, feel free to contact me. Enjoy!