Database

database:
  type: "sqlite"           # sqlite or mysql
  host: "localhost"
  port: 3306
  name: "elitebounty"
  username: "root"
  password: ""
Key Used by Notes
type both sqlite (default, file-based) or mysql
host / port MySQL Server address
name MySQL Database/schema name
username / password MySQL Credentials

SQLite

The default. Data is stored in a file inside the plugin folder. No external server required. The bundled SQLite driver is shaded into the jar.

MySQL

Set type: mysql and fill in the connection details. Tables are created automatically on first startup.

Notes

  • Schema is created in code on startup - there’s no SQL file to import.
  • Database work runs asynchronously on a dedicated thread; Bukkit/economy calls hop back to the main thread, so the server tick is never blocked.
  • Changing type requires a full restart (not just /bounty reload).