Class MySQLConfiguration
java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.papermc.api.configuration.v1.MySQLConfiguration
- Direct Known Subclasses:
MySQLConfiguration
Deprecated.
Represents a container of nodes which dictate the function of and options for the MySQL server backend.
- Since:
- 1.6.0
- Author:
- Isabel Maskrey
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BooleanNodeDeprecated.Whether to automatically add an underscore between the prefix and the table name.final StringNodeDeprecated.The name of the database to use.final BooleanNodeDeprecated.Whether the MySQL server backend should be enabled.final MapListNodeDeprecated.Options for the MySQL connection.final StringNodeDeprecated.The MySQL server hostname.final StringNodeDeprecated.The MySQL user password.final IntegerNodeDeprecated.The MySQL server port.final StringNodeDeprecated.Optional prefix for any created table's names.final StringNodeDeprecated.The MySQL user ID. -
Constructor Summary
ConstructorsConstructorDescriptionMySQLConfiguration(ConfigurationNode<?> parent) Deprecated.Creates a new MySQL configuration container. -
Method Summary
Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
defaultValue, setConfigValue, toString, valueMethods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationNode
addChild, equals, getBasePath, getBasePath, getChildren, getComments, getComments, getConfig, getInlineComments, getInlineComments, getLogger, getName, getPath, getPath, getPlugin, getPriority, getSLF4JLogger, getValueNodeName, getValuePath, getValuePath, hasChildren, hasName, isSubNode, save, setComments, setComments, setInlineComments, setInlineComments, setValue, toString
-
Field Details
-
enabled
Deprecated.Whether the MySQL server backend should be enabled.- Since:
- 1.6.0
-
hostname
Deprecated.The MySQL server hostname.- Since:
- 1.6.0
-
port
Deprecated.The MySQL server port.- Since:
- 1.6.0
-
database
Deprecated.The name of the database to use.- Since:
- 1.6.0
-
userID
Deprecated.The MySQL user ID.- Since:
- 1.6.0
-
password
Deprecated.The MySQL user password.- Since:
- 1.6.0
-
flags
Deprecated.Options for the MySQL connection.- Since:
- 1.6.0
-
tablePrefix
Deprecated.Optional prefix for any created table's names.- Since:
- 1.6.0
-
appendUnderscoreToPrefix
Deprecated.Whether to automatically add an underscore between the prefix and the table name. Defaults to true.- Since:
- 1.6.0
-
-
Constructor Details
-
MySQLConfiguration
Deprecated.Creates a new MySQL configuration container.- Parameters:
parent- The parent container.- Since:
- 1.6.0
-
MySQLConfigurationinstead.