Reaction test games are Chat Games which will test how quickly your players are able to type the given word into the chat. A word will be broadcast to all players with the correct permissions who do not have the games muted. Once this word has been broadcast the first player to type the word will win and the game will stop.
How do I configure a reaction game?
Adding your own words and settings to the reaction game is very simple, and can be achieved through the config.yml file. In order to configure a game you can use the below template as an example:
# Reaction Test
reaction-test:
words: # Any words you would like in your pool of words can be added below
- 'blue'
- 'green'
- 'purple'
- 'orange'
- 'yellow'
- 'magenta'
rewards: # This section handles the rewards that a player will receive upon winning the game
broadcast: # This defines the message that will be broadcast to all players when a player wins | Supports %player%, %question% and %answer% placeholders
- '&7%player% &ehas won &6$50&e for typing the word &6&l%answer% ðe quickest!'
commands: # This is a list of commands that can be run when the game is won. It supports the %player% placeholder to fetch the winning player
- 'eco give %player% 50'
- 'give minecraft:diamond %player% 3'
Reaction Messages
You can also change the messages that are displayed in game when a reaction game is started, won or lost. You are able to change these inside the messages.yml file. The below values show you how to change the default messages:
# Reaction Game Format
reaction-start: '&eType in the word &6%question% &eto win a prize.'
reaction-lose: '&7Nobody won! The correct word was &b&l%answer%.'
# Reaction Hologram Format
reaction-scoreboard:
- '&8[&a&lReaction Hi-Scores&8]'
- '&6&l1st: &7%reaction_player_1% : %reaction_score_1%'
- '&9&l2nd: &7%reaction_player_2% : %reaction_score_2%'
- '&c&l3rd: &7%reaction_player_3% : %reaction_score_3%'
- '&b&l4th: &7%reaction_player_4% : %reaction_score_4%'
- '&b&l5th: &7%reaction_player_5% : %reaction_score_5%'