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
Modifier and TypeFieldDescriptionfinal BooleanNode
Deprecated.Whether to automatically add an underscore between the prefix and the table name.final StringNode
Deprecated.The name of the database to use.final BooleanNode
Deprecated.Whether the MySQL server backend should be enabled.final MapListNode
Deprecated.Options for the MySQL connection.final StringNode
Deprecated.The MySQL server hostname.final StringNode
Deprecated.The MySQL user password.final IntegerNode
Deprecated.The MySQL server port.final StringNode
Deprecated.Optional prefix for any created table's names.final StringNode
Deprecated.The MySQL user ID. -
Constructor Summary
ConstructorDescriptionMySQLConfiguration
(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, value
Methods 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
-
MySQLConfiguration
instead.