This repository was archived by the owner on May 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Storage setup
Dkrieger edited this page Jan 2, 2019
·
3 revisions
DKBans has 4 different storage types, a storage is needed to store your player data.
| Storage | DKBans config type | Database type |
|---|---|---|
| SQlite | SQLITE | Local database |
| Json | JSON | Text file |
| MySQL/MariaDB | MYSQL | External remote database |
| MongoDB | MONGODB | External remote database |
SQLite is good database type for storing data on a local singe server. For single server is this database very fast.
This storage is only for single spigot server supported.
storage:
type: SQLITE
folder: plugins\DKBans\data\
host: localhost
port: '3306'
user: root
ssl: false
password: password
database: DKBans
mongodb:
authentication: false
authdb: admin
srv: false
A Json storage makes only sense, if you have no other possibilities. We recommend to use SQLIte for single servers.
This storage is only for single spigot server supported.
storage:
type: JSON
folder: plugins\DKBans\data\
host: localhost
port: '3306'
user: root
ssl: false
password: password
database: DKBans
mongodb:
authentication: false
authdb: admin
srv: false
MySQL or MariaDB is a very good database for normal networks or single server.
storage:
type: MYSQL
folder: plugins\DKBans\data\
host: localhost
port: '3306'
user: root
ssl: false
password: password
database: DKBans
mongodb:
authentication: false
authdb: admin
srv: false
MongoDB is a good storage, if you have a big network or many player data. MongoDB can be a complicated database.
storage:
type: MONGODB
folder: plugins\DKBans\data\
host: localhost
port: '27017'
user: admin
ssl: false
password: password
database: DKBans
mongodb:
authentication: false
authdb: admin
srv: false