You are able to almost fully translate the ChatGames plugin. This means that not only are you able to translate the in-game messages but you can also change the aliases of the commands for the plugin. Through this you should be able to change the plugin into whatever language you see fit.
You are also able to change the messages to simply change the look and feel of the plugin. The messages all support full colour support via Minecraft Color Codes and Hex Code support.
Multi-line support
If you would like to use multi-line support for your game messages you will have to format them a little differently. Use the template below to ensure that you have your multi-line game messages working correctly. The below template shows how to use multi-line start/lose messages without using the header and footer. Alternatively you can simple use single lines for your game messages by putting the line in ' ' or " " after the key (reaction-start: "Hello World!")
# ChatGames Header
message-header:
- ''
# ChatGames Footer
message-footer:
- ''
# Reaction Game Messages
reaction-start: |
&8&m-|------------------------------------------------|-&r
&r &6&lChatGames
&r
&r &eThe first person to type in this word wins!
&r
&r &eWord: &6%question%
&r
&r &8&m-|------------------------------------------------|-
reaction-lose: |
&8&m-|------------------------------------------------|-&r
&r &6&lChatGames
&r
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
&r
&r &8&m-|------------------------------------------------|-
It should be noted though that the same result can be met with the following:
# ChatGames Header
message-header: |
&8&m-|------------------------------------------------|-&r
&r &6&lChatGames
&r
# ChatGames Footer
message-footer: |
&r
&r &8&m-|------------------------------------------------|-
# Reaction Game Messages
reaction-start: |
&r &eThe first person to type in this word wins!
&r
&r &eWord: &6%question%
reaction-lose: |
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
Default Messages.yml
# ############################################################################
# # Chatgames - Localisation ##
# # ------------------ ##
# # Placeholders: ##
# # - %player% : Returns the name of the player who has won. ##
# # - %answer% : Returns the answer to the question. ##
# # - %question% : Returns the "question" of the game. ##
# ############################################################################
#
# Main Messages
prefix: '&e[&7ChatGames&e] '
#
# Command Aliases
command-enable: 'enable'
command-disable: 'disable'
command-forcegame: 'forcegame'
command-reload: 'reload'
command-hologram: 'hologram'
command-scoreboard: 'scoreboard'
command-mute: 'mute'
command-help:
- '&6ChatGames Commands'
- '//------------------//'
- '&7/chatgames enable &8- &f Enables the plugin.'
- '&7/chatgames disable &8- &f Disables the plugin.'
- '&7/chatgames forcegame &8- &f Force a new game.'
- '&7/chatgames reload &8- &f Reload the plugin config files.'
command-noperms: '&cYou do not have permission to run this command.'
#
# Utility Messages
mute-on: '&7ChatGames has been &cmuted&7. You will no longer see any game messages!'
mute-off: '&7ChatGames has been &eunmuted&7. You will now see game messages.'
force-game-success: 'You have successfully forced a new game.'
force-game-plugin-disabled: '&cYou cannot start a new game when the plugin is disabled.'
plugin-enabled: '&ePlugin has been &6&lenabled.'
plugin-disabled: '&ePlugin has been &6&ldisabled.'
#
# Answer Progress
answer-progress: '&eYou have guessed &7%cg_prog%&e/&6%answer_length% &eletter''s correctly.'
# ChatGames Header
message-header:
- '&8&m-|------------------------------------------------|-&r'
- '&r &6&lChatGames'
- '&r'
# ChatGames Footer
message-footer:
- '&r'
- '&r &8&m-|------------------------------------------------|-'
# Reaction Game Messages
reaction-start: |
&r &eThe first person to type in this word wins!
&r
&r &eWord: &6%question%
reaction-lose: |
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
#
# Scramble Game Messages
scramble-start: |
&r &eThe first person to unscramble this word wins!
&r
&r &eWord: &6%question%
scramble-lose: |
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
#
# Trivia Game Messages
trivia-start: |
&r &eThe first person to answer this question wins!
&r
&r &eQuestion: &6%question%
trivia-lose: |
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
#
# Math Messages
math-start: |
&r &eThe first person to solve this equation wins!
&r
&r &eEquation: &6%question%
math-lose: |
&r &eNobody has won :(
&r
&r &eCorrect Answer: &6%answer%
#
# 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%'
unscramble-scoreboard:
- '&8[&a&lUnscramble Hi-Scores&8]'
- '&6&l1st: &7%unscramble_player_1% : %unscramble_score_1%'
- '&9&l2nd: &7%unscramble_player_2% : %unscramble_score_2%'
- '&c&l3rd: &7%unscramble_player_3% : %unscramble_score_3%'
- '&b&l4th: &7%unscramble_player_4% : %unscramble_score_4%'
- '&b&l5th: &7%unscramble_player_5% : %unscramble_score_5%'
trivia-scoreboard:
- '&8[&a&lTrivia Hi-Scores&8]'
- '&6&l1st: &7%trivia_player_1% : %trivia_score_1%'
- '&9&l2nd: &7%trivia_player_2% : %trivia_score_2%'
- '&c&l3rd: &7%trivia_player_3% : %trivia_score_3%'
- '&b&l4th: &7%trivia_player_4% : %trivia_score_4%'
- '&b&l5th: &7%trivia_player_5% : %trivia_score_5%'
math-scoreboard:
- '&8[&a&lMath Hi-Scores&8]'
- '&6&l1st: &7%math_player_1% : %math_score_1%'
- '&9&l2nd: &7%math_player_2% : %math_score_2%'
- '&c&l3rd: &7%math_player_3% : %math_score_3%'
- '&b&l4th: &7%math_player_4% : %math_score_4%'
- '&b&l5th: &7%math_player_5% : %math_score_5%'
total-scoreboard:
- '&8[&a&lTotal Hi-Scores&8]'
- '&6&l1st: &7%total_player_1% : %total_score_1%'
- '&9&l2nd: &7%total_player_2% : %total_score_2%'
- '&c&l3rd: &7%total_player_3% : %total_score_3%'
- '&b&l4th: &7%total_player_4% : %total_score_4%'
- '&b&l5th: &7%total_player_5% : %total_score_5%'