Skip to content

Instantly share code, notes, and snippets.

@XakepSDK
Created November 26, 2018 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XakepSDK/2e694e0185b296342476b6033e2f19b9 to your computer and use it in GitHub Desktop.
Save XakepSDK/2e694e0185b296342476b6033e2f19b9 to your computer and use it in GitHub Desktop.
# +----------------------------------------------------------------------------------------------+ #
# | Storage | #
# +----------------------------------------------------------------------------------------------+ #
# Формат хранения
# Поддерживаемые форматы: mysql, mariadb, postgresql, sqlite, h2, json, yaml, hocon, mongodb
#
# Для MySQL, MariaDB, PostgreSQL или MongoDB необходимо заполнить параметры "data" ниже
# Некоторые MySQL сервера поддерживают "mariadb", очень желательно использовать её вместо "mysql".
storage-method = "h2"
data {
# Порт БД ставится стандартно для каждого типа
# MySQL: 3306, PostgreSQL: 5432, MongoDB: 27017
# Можно поставить порт через "адрес:порт", если надо
address = "localhost"
database = "minecraft"
username = "root"
password = ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment