Configuration

The main configuration file is config.json in the plugin data folder:

mods/Hexora_PlotPlus/config.json

Full Configuration

{
  "database": {
    "type": "sqlite",
    "sqlite": {
      "file": "plots.db"
    },
    "mysql": {
      "host": "localhost",
      "port": 3306,
      "database": "plotplus",
      "username": "root",
      "password": ""
    }
  }
}

Database Settings

type

Database type to use.

Value
Description

sqlite

SQLite file database (default)

mysql

MySQL server database

sqlite.file

The SQLite database file name. Default: plots.db

mysql.host

MySQL server hostname. Default: localhost

mysql.port

MySQL server port. Default: 3306

mysql.database

MySQL database name. Default: plotplus

The database is created automatically if it doesn't exist.

mysql.username

MySQL username. Default: root

mysql.password

MySQL password. Default: empty

Reloading Configuration

Use /plot reload to reload the configuration without restarting the server.

Note: Database settings require a server restart to take effect.

Last updated