Config.yml
Default Config.yml File
#############################################################################
## Chatgames - 1.0.0 ##
## ------------------ ##
## Placeholders: ##
## - %player% : Returns the name of the player who has won. ##
## - %answer% : Returns the answer to the problem. ##
## - %question% : Returns the "problem" of the game (Custom Games Only!). ##
#############################################################################
# Game Counter - How many games have been run since the plugin has started?
game-counter: 0
# Should the plugin be enabled/disabled?
enabled: true
# MySQL Database
mysql:
enabled: false
db-host: '127.0.0.1'
db-port: 3306
db-name: 'chatgames'
db-user: 'cg-user'
db-pass: 'changeme123'
min-players: 3
# How much time should each game last for? (In Seconds)
game-duration: 300
# How much time should elapse between each game? (In Seconds)
game-delay: 300
# Should we use words from the words.txt file instead of the ones in the game sections?
word-list: false
# Should we use a whitelist for the worlds the games will work in?
use-whitelist: false
game-sound:
enabled: true
sound: ENTITY_EXPERIENCE_ORB_PICKUP
pitch: 1.0
volume: 3.0
# A list of all the worlds that the games are active in
world-whitelist:
- world
- world_the_end
- world_nether
# Game Sections
reaction-test:
words:
- 'apple'
- 'banana'
- 'pear'
- 'orange'
- 'hippopotamus'
- 'egypt'
- 'pyramid'
- 'antidisestablishmentarianism'
- 'pneumonoultramicroscopicsilicovolcanoconiosis'
rewards:
broadcast:
- '&7%player% &ehas won &6$50&e for typing the word &6&l%answer% ðe quickest!'
commands:
- 'eco give %player% 50'
unscramble:
words:
- 'toyota'
- 'mercedes'
- 'porsche'
- 'ferrari'
- 'ford'
- 'vauxhaul'
- 'subaru'
- 'mazda'
- 'jaguar'
rewards:
broadcast:
- '&7%player% &ehas won &6$50&e for unscrambling the word &6&l%answer% &efirst!'
commands:
- 'eco give %player% 50'
maths:
enabled: true
difficulty: BOTH # EASY / HARD / BOTH
rewards:
hard:
commands:
- 'eco give %player% 75'
broadcast:
- '&7%player% &ehas won &6$50&e for solving &7%question%&e first!'
easy:
commands:
- 'eco give %player% 50'
broadcast:
- '&7%player% &ehas won &6$50&e for solving &7%question%&e first!'
# Custom Section
trivia:
enabled: true
whomademinecraft:
question: 'Who created Minecraft?'
answer: 'Notch'
rewards:
broadcast:
- '&7%player% &ehas won &6$50&e by getting the correct answer: &6&l%answer%!'
commands:
- 'eco give %player% 50'
colorofsky:
question: 'What is the colour of the sky on a clear day?'
answer: 'Blue'
rewards:
broadcast:
- '&7%player% &ehas won &6$50&e by getting the correct answer: &6&l%answer%!'
commands:
- 'eco give %player% 50'
Last updated