Updated databaseType config comment

This commit is contained in:
Florian CUNY 2018-10-28 16:51:51 +01:00
parent e8ba1805a5
commit 7b2478cf33

View File

@ -50,11 +50,12 @@ public class Settings implements DataObject {
private double startingMoney = 10.0; private double startingMoney = 10.0;
// Database // Database
@ConfigComment("FLATFILE, MYSQL, MONGO") @ConfigComment("YAML, JSON, MYSQL, MONGODB.")
@ConfigComment("if you use MONGO, you must also run the BSBMongo plugin (not addon)") @ConfigComment("YAML and JSON are both file-based databases.")
@ConfigComment("See https://github.com/tastybento/bsbMongo/releases/") @ConfigComment("if you use MONGODB, you must also run the BSBMongo plugin (not addon).")
@ConfigComment("See https://github.com/tastybento/bsbMongo/releases/.")
@ConfigEntry(path = "general.database.type") @ConfigEntry(path = "general.database.type")
private DatabaseType databaseType = DatabaseType.FLATFILE; private DatabaseType databaseType = DatabaseType.YAML;
@ConfigEntry(path = "general.database.host") @ConfigEntry(path = "general.database.host")
private String databaseHost = "localhost"; private String databaseHost = "localhost";