Skip to content

Storage

Set storage.type in config.yml:

TypeNotes
yamlDefault. Atomic writes to plugins/RexGraves/graves.yml
sqliteLocal plugins/RexGraves/graves.db
mysqlRemote database under storage.mysql
storage:
type: sqlite
sqlite:
file: graves.db

If the database is empty and graves.yml exists, graves are imported once into SQLite.

storage:
type: mysql
mysql:
host: 127.0.0.1
port: 3306
database: rexgraves
username: root
password: ""
pool-size: 5
use-ssl: false
storage:
autosave-seconds: 30

Periodic backup save. Set to 0 to disable the timer. Saves still run after create / loot / remove.

Writes are async. Unchanged data is skipped. Failed writes are retried on the next autosave.