🎮
ChatGames
  • What is ChatGames?
  • Updating to 2.0.0
  • Game Types
    • Reaction
    • Unscramble
    • Trivia
    • Math
  • Commands & Permissions
  • Placeholders
  • Configuration Files
    • Config.yml
      • MySQL Saving
    • Messages.yml
  • Scoreboard
    • GUI
    • DecentHologram Support
  • FAQs
Powered by GitBook
On this page
  1. Configuration Files
  2. Config.yml

MySQL Saving

Using MySQL

MySQL Configuration

If you would rather use MySQL for your saving system; you can enable this through the config.yml file. Simply put in correct details to your MySQL database and ensure that MySQL is enabled and the plugin will start using MySQL for score saving/loading. This can be much more efficient when dealing with a larger amount of players on your server.

# MySQL Database
mysql:
  enabled: false
  db-host: '127.0.0.1'
  db-port: 3306
  db-name: 'chatgames'
  db-user: 'cg-user'
  db-pass: 'changeme123'
PreviousConfig.ymlNextMessages.yml

Last updated 2 years ago