๐ฎChat Games
Entertain your players endlessly.
Game Configuration: games/solve.yml
games/solve.yml# Is Chat Game enabled?
enabled: true
# How long should the game last?
length: 15
# Game start routine. This is where you can configure the game start message and requirements.
gameStart:
effects:
- 'SET_VARIABLE:math:<random word>8+7,12-5,9*3,16/4,15+6,20-9,7*4,18/3,5+8,14-7,6*5,21/3,11+4,25-10,8*2 </random word>'
- 'SET_VARIABLE:mathresult:<int><math>%custom_math%</math></int>'
- "BROADCAST: "
- "BROADCAST: &d&lCHAT GAME"
- "BROADCAST: &fThe first person calculate &d%custom_math% &fwill win the game!"
- "BROADCAST: "
# Game end routine when someone wins. This is where you can configure the game end message and rewards.
gameEndWinner:
type: ON_MESSAGE
conditions:
- "%message% = %custom_mathresult% : %allow%"
effects:
- "BROADCAST: "
- "BROADCAST: &d&lCHAT GAME"
- "BROADCAST: &fThe game has ended! &e%player name% &fwas the first calculate &e%custom_math% = %custom_mathresult%&f!"
- "BROADCAST: "
- "CONSOLE_COMMAND:eco give %player name% 250"
# Game end routine when time runs out. This is where you can configure the game end message and rewards.
gameEndNoWinner:
effects:
- "BROADCAST: "
- "BROADCAST: &d&lCHAT GAME"
- "BROADCAST: &dNo one &fwas able to calculate calculate &d%custom_math% = %custom_mathresult%&f in time!"
- "BROADCAST: &fThe game has ended! Better luck next time."
- "BROADCAST: "Abilities Explanation
Key Settings Explained
Benefits
Last updated