Skip to content

Data providers

SergeyDertan edited this page Apr 26, 2019 · 4 revisions

SRegionProtector supports 4 data providers You can easily copy all the region from one provider to another using /rg migrate command

Plugin files located at SERVER_FOLDER/Sergey_Dertan_Plugins/SRegionProtector/ plugin_path = SERVER_FOLDER/Sergey_Dertan_Plugins/SRegionProtector/

MySQL

Settings in plugin_path/DB/mysql.yml You need to set username, password, address, port, database name

SQLite

Settings in plugin_path/DB/sqlite.yml You can change database file path, {@plugin-folder} will be replaced with plugin_path, default path is plugin_path/data.db

PostgreSQL

Settings in plugin_path/DB/postgresql.yml You need to set username, password, address, port, database name

YAML

All region will be stored at plugin_path/regions/ All flags will be stored at plugin_path/flags/

Clone this wiki locally