You must have a MySQL, MariaDB or MongoDB server setup.
The server should be running on the latest version. (Help on finding a host is at the bottom)
Configuration
Find the config.yml file in plugins/Fadah/ and scroll down the database section.
Following the example below.
Replace <username> with your database username. etc...
config.yml
database:
# Supported: SQLITE, MYSQL, MARIADB, MONGO
type: "MYSQL"
# Below is not required for SQLITE
# For MySQL and MariaDB, uri must be a JDBC uri
uri: "jdbc:mysql://<username>:<password>@<hostname>:<port>/Fadah"
database: "Fadah"
config.yml
database:
# Supported: SQLITE, MYSQL, MARIADB, MONGO
type: "MARIADB"
# Below is not required for SQLITE
# For MySQL and MariaDB, uri must be a JDBC uri
uri: "jdbc:mariadb://<username>:<password>@<hostname>:<port>/Fadah"
database: "Fadah"
config.yml
database:
# Supported: SQLITE, MYSQL, MARIADB, MONGO
type: "MONGO"
# Below is not required for SQLITE
# For MySQL and MariaDB, uri must be a JDBC uri
uri: "mongodb://<username>:<password>@<hostname>:<port>/?authSource=admin"
database: "Fadah"
config.yml
database:
# Supported: SQLITE, MYSQL, MARIADB, MONGO
type: "MONGO"
# Below is not required for SQLITE
# For MySQL and MariaDB, uri must be a JDBC uri
uri: "mongodb+srv://<username>:<password>@<hostname>/?retryWrites=true&w=majority&appName=myapp"
database: "Fadah"
Once you have completed the configuration, fully restart your Minecraft server and you will now be connected!
Database Hosting
Most Minecraft hosting plans come with an included MySQL database. You can use this.
However if you do not have access to said database with your host here are some you can use.
MySQL
MariaDB
MongoDB
Last updated
Google Cloud:
Digital Ocean:
CloudWays:
Amazon Web Services:
MongoDB Atlas:
(Normal MongoDB is self hosted only)