public class StorageConfig.RemoteConnection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
@NotNull java.lang.String |
database
The remote database name
|
@NotNull java.lang.String |
host
The remote host
|
@Nullable java.lang.String |
password
The remote password
|
int |
port
The remote port
|
@NotNull java.lang.String |
tablePrefix
The table prefix for the remote database
Defaults to the plugin name in lowercase with all non-alphanumeric characters removed + an underscore |
@Nullable java.lang.String |
username
The remote username
|
| Constructor and Description |
|---|
RemoteConnection(@NotNull org.bukkit.configuration.ConfigurationSection section)
Construct a new
StorageConfig.RemoteConnection instance to parse the remote-connection section |
@NotNull public final @NotNull java.lang.String host
public final int port
@NotNull public final @NotNull java.lang.String database
@Nullable public final @Nullable java.lang.String username
@Nullable public final @Nullable java.lang.String password
@NotNull public final @NotNull java.lang.String tablePrefix
public RemoteConnection(@NotNull
@NotNull org.bukkit.configuration.ConfigurationSection section)
StorageConfig.RemoteConnection instance to parse the remote-connection sectionsection - the remote-connection section