Skip to main content

Enabling SQL Mode

Table of Contents

Migrating from file to database
#

  1. Open config.yml in the same directory as balance.yml. It should look something like this:
exchangeRate: 10 # Coins/diamond

# Database
database:
  enabled: false
  type: mysql
  host: localhost
  port: 3306
  database: minecraft_db
  username: user
  password: pass
# Shops
shop:
  emptyShopOwnerMessage: true
  emptyShopListJoin: true
# Players
player:
  welcomeMessage: true
  op:
    updateMessage: true
  1. Replace the database configuration with your own. But keep enabled as false.
  2. Start your server and run the command /quickeconomy migrate. Note: You need the permission quickeconomy.migrate to use this command as a player.
  3. Check the console for errors.

Enabling database on a new server
#

If you want to use a database as the storage method for QuickEconomy on a server which hasn’t used the plugin before, all you have to do is follow steps 2 and 3 from the section above but set enabled: true.