Package com.jackdaw.chatwithnpc
Class SettingManager
java.lang.Object
com.jackdaw.chatwithnpc.SettingManager
Manages the config files for the modules provided by this plugin.
Configure the setting if a specific module is enabled or disabled.
- Version:
- v2.6
- Author:
- WDRshadow, Lokeyli
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
configFile
-
enabled
public static boolean enabled -
range
public static double range -
language
-
wordLimit
public static int wordLimit -
apiKey
-
model
-
apiURL
-
isBubble
public static boolean isBubble -
isChatBar
public static boolean isChatBar -
bubbleColor
-
timeLastingPerChar
public static long timeLastingPerChar
-
-
Constructor Details
-
SettingManager
public SettingManager()
-
-
Method Details
-
sync
public static void sync()Load the setting from the config file. -
save
public static void save()Write the setting to the config file.
-