Package io.github.thecsdev.tcdcommons
Class TCDCommonsConfig
java.lang.Object
io.github.thecsdev.tcdcommons.api.config.AutoConfig
io.github.thecsdev.tcdcommons.TCDCommonsConfig
- All Implemented Interfaces:
ACJsonHandler<com.google.gson.JsonObject>
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
boolean
static final boolean
Defines whether or not certain features are available for a given user, such as specific API endpoints, and the user being shown certain links in GUI interfaces.Fields inherited from class io.github.thecsdev.tcdcommons.api.config.AutoConfig
FILE_EXTENSION, fileName, filePath, GSON
-
Constructor Summary
-
Method Summary
Methods inherited from class io.github.thecsdev.tcdcommons.api.config.AutoConfig
deserializeProperty, getPropertyFields, getPropertyName, loadFromFile, loadFromFileOrCrash, loadFromJson, saveToFile, saveToFileOrCrash, saveToJson, serializeProperty, tryLoadFromFile, trySaveToFile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.thecsdev.tcdcommons.api.config.ACJsonHandler
loadFromJsonElement
-
Field Details
-
RESTRICTED_MODE
public static final boolean RESTRICTED_MODEDefines whether or not certain features are available for a given user, such as specific API endpoints, and the user being shown certain links in GUI interfaces. -
enablePlayerBadges
public boolean enablePlayerBadges -
broadcastEarningPlayerBadges
public boolean broadcastEarningPlayerBadges -
enableHttpUtils
public boolean enableHttpUtils
-
-
Constructor Details
-
TCDCommonsConfig
-