Package tv.phantombot
Class ConfigurationManager
java.lang.Object
tv.phantombot.ConfigurationManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getBoolean
(CaselessProperties properties, String propertyName, boolean defaulValue) Gets a boolean value from the a properties object and prints a message according to the property name.static boolean
newSetup()
static boolean
-
Field Details
-
PROP_ENVOVERRIDE
- See Also:
-
PROP_BASEPORT
- See Also:
-
PROP_USEHTTPS
- See Also:
-
PROP_WEBENABLE
- See Also:
-
PROP_MUSICENABLE
- See Also:
-
PROP_OAUTH
- See Also:
-
PROP_CHANNEL
- See Also:
-
PROP_OWNER
- See Also:
-
PROP_USER
- See Also:
-
PROP_DEBUGON
- See Also:
-
PROP_DEBUGLOG
- See Also:
-
PROP_RELOADSCRIPTS
- See Also:
-
PROP_RHINODEBUGGER
- See Also:
-
PROP_WEBAUTH
- See Also:
-
PROP_WEBAUTH_RO
- See Also:
-
PROP_PANEL_USER
- See Also:
-
PROP_PANEL_PASSWORD
- See Also:
-
PROP_YTAUTH
- See Also:
-
PROP_YTAUTH_RO
- See Also:
-
PROP_API_OAUTH
- See Also:
-
PROP_SILENTSCRIPTSLOAD
- See Also:
-
PROP_USEROLLBAR
- See Also:
-
ENV_PROP_IS_PTERODACTYL
- See Also:
-
PROP_IS_PTERODACTYL
- See Also:
-
PROP_PTERODACTYL_FIX
- See Also:
-
-
Method Details
-
newSetup
public static boolean newSetup() -
setupStarted
public static boolean setupStarted() -
getBoolean
public static boolean getBoolean(CaselessProperties properties, String propertyName, boolean defaulValue) Gets a boolean value from the a properties object and prints a message according to the property name.- Parameters:
properties
- the Properties object to get the boolean value frompropertyName
- the name of the property to getdefaulValue
- the default value of the property- Returns:
- the value of the property. If parsing the value to a boolean fails, the default value is returned.
-