DbLib 0.2.3

Library that includes ORMlite engine, SQLite and MySQL drivers

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
We welcome you on our site. This site is devoted to the Nukkit project and all that is connected with him. Here you can communicate, download plugins, also many other things get acquainted! Register the account right now :3
Plugin configuration includes only configuration of database

By default plugin is configured to use sqlite file - nukkit.db, located at server folder (same folder of your server jar - nukkit-1.0-SNAPSHOT.jar):

Code:
general:
language: english # russian is supported
debug-mode: false #don't touch it :)
DbLib:
use-MySQL: false # true - MySQL, false - SQLite
ORMLite-debug: false # true - for additional information in log (for developers)
SQLite:
file-name: C:\NukkitServer\nukkit.db # SQLite filename
MySQL:
url: localhost    # MySQL host url
port: 3306   # MySQL port number
database: db # database name
username: nukkit
password: tikkun
Настройка плагина сводится к настройке базы данных.
При первом запуске плагин настраивается на работу с sqlite - файлом nukkit.db, который создается в папке сервера (там же где nukkit-1.0-SNAPSHOT.jar):

Code:
general:
language: english # Напишите russian чтобы включить русский язык
debug-mode: false # это на всякий случай
DbLib:
use-MySQL: false # true - MySQL, false - SQLite
ORMLite-debug: false # true - подробный лог (для разработчиков)
SQLite:
file-name: C:\NukkitServer\nukkit.db # Файл SQLite
MySQL:
url: localhost    # адрес сервера MySQL
port: 3306   # номер порта MySQL
database: db # название базы данных
username: nukkit
password: tikkun