| Package | Description |
|---|---|
| me.lucko.helper.mongo | |
| me.lucko.helper.mongo.plugin |
| Modifier and Type | Method and Description |
|---|---|
static MongoDatabaseCredentials |
MongoDatabaseCredentials.fromConfig(org.bukkit.configuration.ConfigurationSection config) |
MongoDatabaseCredentials |
MongoProvider.getGlobalCredentials()
Gets the global database credentials being used for the global datasource.
|
static MongoDatabaseCredentials |
MongoDatabaseCredentials.of(String address,
int port,
String database,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
Mongo |
MongoProvider.getMongo(MongoDatabaseCredentials credentials)
Constructs a new datasource using the given credentials.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDatabaseCredentials |
HelperMongoPlugin.getGlobalCredentials() |
| Modifier and Type | Method and Description |
|---|---|
Mongo |
HelperMongoPlugin.getMongo(MongoDatabaseCredentials credentials) |
| Constructor and Description |
|---|
HelperMongo(MongoDatabaseCredentials credentials) |
Copyright © 2018. All rights reserved.