Database Setup

database: "mongo" # mongo | mysql | flatfile
mongo-uri: ""
mysql:
  host: ""
  port: 3306
  database: ""
  auth:
    username: ""
    password: ""

Database is needed in order for plugin to run correctly. Database is being used for /restoreinventory command. It gives you ability to restore player inventory after death.

There are 3 options to select.

Mongo - stored inside mongo collection.

MySQL - stored inside mysql tables.

FlatFile - stored inside inventories.yml file.

If you will select FlatFile you don't have to care about "mongo-uri" and whole mysql. You can just leave it blank as it is by default.

Learn more about mongo connection strings (Click)

Last updated